The requested document ID.
The requested repository ID.
Optionalrequest?: LfRepositoryClientV2.CheckInDocumentRequest(optional) Optional request body. If omitted, the persistent lock is released (default behavior).
Successfully checked in the document. If a persistent lock was held and unlock was not set to false, the lock has been released.
The requested document ID.
The requested repository ID.
Optionalrequest?: LfRepositoryClientV2.CheckOutDocumentRequest(optional) The request body containing optional lock and comment parameters.
Successfully checked out the document.
Optionalculture?: null | string(optional) An optional query parameter used to indicate the locale that should be used. The value should be a standard language tag.
The folder ID that the entry will be created in.
The requested repository ID.
The request body.
Entry was copied successfully. Returned copied entry.
The source document ID.
The requested repository ID.
The request body containing the page range, destination entry ID, and destination page number.
Successfully copied pages from the source document to the destination document. The source document retains its pages. Returned the updated source entry.
Optionalculture?: null | string(optional) An optional query parameter used to indicate the locale that should be used. The value should be a standard language tag.
The folder ID that the entry will be created in.
The requested repository ID.
The request body.
Document was created successfully. Returns created entry.
The requested repository ID.
The request body.
Returned response containing an upload ID and an array of upload URLs.
The requested document ID.
OptionalgenerateText?: boolean(optional) If true, triggers server-side text generation (OCR) for image pages. Default is false.
OptionalimageFiles?: LfRepositoryClientV2.FileParameter[](optional) Optional. Up to 10 image files (100 MB aggregate) that are appended as image pages. On UpdateDocument, existing pages are preserved by default and deleted first when overwriteContent=true. Set generateImagePagesText=false in the request body to skip OCR for these pages (default: true).
OptionalpageNumber?: null | number(optional) Optional 1-based page number. If omitted, pages are appended to the end. If provided, pages are inserted at that position.
The requested repository ID.
Optionalrequest?: LfRepositoryClientV2.PagesContentRequest(optional)
Successfully created pages in the specified document. Returned the updated entry.
The requested document ID.
The requested repository ID.
Successfully deleted edoc associated with the specified entry. Returned the updated entry.
The requested document ID.
OptionalpageRange?: null | string(optional) The pages to be deleted.
The requested repository ID.
Successfully deleted pages associated with the specified entry. Returned the updated entry.
The ID of entry to export.
OptionalpageRange?: null | string(optional) A comma-separated range of pages to include. Ex: 1,3,4 or 1-3,5-7,9. This value is ignored when exporting as Edoc.
The requested repository ID.
The request body.
Export was successful. Returned a link to download the exported entry.
The requested document ID.
The requested repository ID.
Successfully triggered text generation for the document. Returned the updated entry.
The requested document ID.
The requested repository ID.
Optionalselect?: null | string(optional) Limits the properties returned in the result.
Successfully returned the lock state of the document.
The requested entry ID.
The requested repository ID.
Optionalselect?: null | string(optional) Limits the properties returned in the result.
Successfully retrieved requested entry.
OptionalfallbackToClosestAncestor?: boolean(optional) An optional query parameter used to indicate whether or not the closest ancestor in the path should be returned if the initial entry path is not found. The default value is false.
The requested entry path.
The requested repository ID.
Successfully retrieved requested entry or ancestor entry.
The requested document ID.
The 1-based page number of the page to retrieve the image for.
The requested repository ID.
Optionalselect?: null | string(optional) Limits the properties returned in the result.
Successfully retrieved the image content for the specified page.
The requested document ID.
The 1-based page number of the page to retrieve the text for.
The requested repository ID.
Optionalselect?: null | string(optional) Limits the properties returned in the result.
Successfully retrieved the text content for the specified page.
file form field is optional. When provided, it becomes either the electronic document or image pages of the new document:importAsElectronicDocument=true, the file is stored as the electronic document. For supported edoc formats, pdfOptions.generatePages additionally produces server-rendered image pages, and pdfOptions.generateText triggers text extraction from the document (or OCR when the source is image-based).importAsElectronicDocument=false), the file is imported as image pages. A multi-page TIFF produces multiple pages. pdfOptions.generateText triggers OCR for the resulting pages.imageFiles form field accepts up to 10 image files (100 MB aggregate) that are appended as image pages. Set generateImagePagesText=false in the body to skip OCR for the pages added via imageFiles (default: true).file and imageFiles can be combined whenever the file is imported as the electronic document — i.e. non-image file types, or image file types with importAsElectronicDocument=true. The request returns 400 only when both are provided and the file would itself become image pages (image file type with importAsElectronicDocument=false).Optionalculture?: null | string(optional) An optional query parameter used to indicate the locale that should be used. The value should be a standard language tag. This may be used when setting field values with tokens.
The entry ID of the folder that the document will be created in.
Optionalfile?: LfRepositoryClientV2.FileParameter(optional) Optional. The file to import. If the file extension is not in {txt, tif, tiff, bmp, pcx, jpg, jpeg, gif, png}, or if importAsElectronicDocument=true, it is stored as the electronic document. Otherwise (image extension with importAsElectronicDocument=false), it is imported as image pages. A zero-byte file creates an empty document with no electronic document and no pages.
OptionalimageFiles?: LfRepositoryClientV2.FileParameter[](optional) Optional. Up to 10 image files (100 MB aggregate) that are appended as image pages. On UpdateDocument, existing pages are preserved by default and deleted first when overwriteContent=true. Set generateImagePagesText=false in the request body to skip OCR for these pages (default: true).
The requested repository ID.
Optionalrequest?: LfRepositoryClientV2.ImportEntryRequest(optional)
Document was created successfully. Returns created entry.
The requested entry ID.
The requested repository ID.
The request body.
Successfully returned dynamic field values for specified entry, template, and field values.
Optionalcount?: boolean(optional) Indicates whether the total count of items within a collection are returned in the result.
Optionalculture?: null | string(optional) An optional query parameter used to indicate the locale that should be used for formatting. The value should be a standard language tag. The formatFieldValues query parameter must be set to true, otherwise culture will not be used for formatting.
The folder ID.
Optionalfields?: null | string[](optional) Optional array of field names. Field values corresponding to the given field names will be returned for each entry.
OptionalformatFieldValues?: boolean(optional) Indicates if field values should be formatted. Only applicable if Fields are specified. The default value is false.
OptionalgroupByEntryType?: boolean(optional) Indicates if the result should be grouped by entry type or not. The default value is false.
Optionalorderby?: null | string(optional) Specifies the order in which items are returned. The maximum number of expressions is 5.
Optionalprefer?: null | string(optional) An optional OData header. Can be used to set the maximum page size using odata.maxpagesize.
The requested repository ID.
Optionalselect?: null | string(optional) Limits the properties returned in the result.
Optionalskip?: number(optional) Excludes the specified number of items of the queried collection from the result.
Optionaltop?: number(optional) Limits the number of items returned from a collection. The maximum value is 150.
Successfully returned list of children entries in requested folder.
It will continue to make the same call to get a list of entry listings of a fixed size (i.e. maxpagesize) until it reaches the last page (i.e. when next link is null/undefined) or whenever the callback function returns false.
async callback function that will accept the current page results and return a boolean value to either continue or stop paging.
Optionalcount?: boolean(optional) Indicates whether the total count of items within a collection are returned in the result.
Optionalculture?: string(optional) An optional query parameter used to indicate the locale that should be used for formatting. The value should be a standard language tag. The formatFieldValues query parameter must be set to true, otherwise culture will not be used for formatting.
The requested entry ID.
Optionalfields?: string[](optional) Optional array of field names. Field values corresponding to the given field names will be returned for each entry.
OptionalformatFieldValues?: boolean(optional) Boolean for if field values should be formatted. Only applicable if Fields are specified.
OptionalgroupByEntryType?: boolean(optional) An optional query parameter used to indicate if the result should be grouped by entry type or not.
OptionalmaxPageSize?: number(optional) the maximum page size or number of entry listings allowed per API response schema.
Optionalorderby?: string(optional) Specifies the order in which items are returned. The maximum number of expressions is 5.
Optionalprefer?: string(optional) An optional OData header. Can be used to set the maximum page size using odata.maxpagesize.
The requested repository ID.
Optionalselect?: string(optional) Limits the properties returned in the result.
Optionalskip?: number(optional) Excludes the specified number of items of the queried collection from the result.
Optionaltop?: number(optional) Limits the number of items returned from a collection.
Returns the children entries of a folder in the repository using a next link
OptionalmaxPageSize?: number(optional) the maximum page size or number of entry listings allowed per API response schema
a url that allows retrieving the next subset of the requested collection
A collection of children entries of a folder.
Optionalcount?: boolean(optional) Indicates whether the total count of items within a collection are returned in the result.
Optionalculture?: null | string(optional) An optional query parameter used to indicate the locale that should be used for formatting. The value should be a standard language tag. The formatFieldValues query parameter must be set to true, otherwise culture will not be used for formatting.
The requested entry ID.
OptionalformatFieldValues?: boolean(optional) An optional query parameter used to indicate if the field values should be formatted. The default value is false.
Optionalorderby?: null | string(optional) Specifies the order in which items are returned. The maximum number of expressions is 5.
Optionalprefer?: null | string(optional) An optional OData header. Can be used to set the maximum page size using odata.maxpagesize.
The requested repository ID.
Optionalselect?: null | string(optional) Limits the properties returned in the result.
Optionalskip?: number(optional) Excludes the specified number of items of the queried collection from the result.
Optionaltop?: number(optional) Limits the number of items returned from a collection. The maximum value is 150.
Successfully returned field values for requested entry.
It will continue to make the same call to get a list of field values of a fixed size (i.e. maxpagesize) until it reaches the last page (i.e. when next link is null/undefined) or whenever the callback function returns false.
async callback function that will accept the current page results and return a boolean value to either continue or stop paging.
Optionalcount?: boolean(optional) Indicates whether the total count of items within a collection are returned in the result.
Optionalculture?: string(optional) An optional query parameter used to indicate the locale that should be used for formatting. The value should be a standard language tag. The formatFieldValues query parameter must be set to true, otherwise culture will not be used for formatting.
The requested entry ID.
OptionalformatFieldValues?: boolean(optional) An optional query parameter used to indicate if the field values should be formatted. The default value is false.
OptionalmaxPageSize?: number(optional) the maximum page size or number of field values allowed per API response schema.
Optionalorderby?: string(optional) Specifies the order in which items are returned. The maximum number of expressions is 5.
Optionalprefer?: string(optional) An optional OData header. Can be used to set the maximum page size using odata.maxpagesize.
The requested repository ID.
Optionalselect?: string(optional) Limits the properties returned in the result.
Optionalskip?: number(optional) Excludes the specified number of items of the queried collection from the result.
Optionaltop?: number(optional) Limits the number of items returned from a collection.
Returns the fields assigned to an entry using a next link
OptionalmaxPageSize?: number(optional) the maximum page size or number of field values allowed per API response schema
a url that allows retrieving the next subset of the requested collection
A collection of fields assigned to the entry.
Optionalcount?: boolean(optional) Indicates whether the total count of items within a collection are returned in the result.
The requested entry ID.
Optionalorderby?: null | string(optional) Specifies the order in which items are returned. The maximum number of expressions is 5.
Optionalprefer?: null | string(optional) An optional odata header. Can be used to set the maximum page size using odata.maxpagesize.
The requested repository ID.
Optionalselect?: null | string(optional) Limits the properties returned in the result.
Optionalskip?: number(optional) Excludes the specified number of items of the queried collection from the result.
Optionaltop?: number(optional) Limits the number of items returned from a collection. The maximum value is 150.
Successfully returned list of links assigned to requested entry.
It will continue to make the same call to get a list of link values from entry of a fixed size (i.e. maxpagesize) until it reaches the last page (i.e. when next link is null/undefined) or whenever the callback function returns false.
async callback function that will accept the current page results and return a boolean value to either continue or stop paging.
Optionalcount?: boolean(optional) Indicates whether the total count of items within a collection are returned in the result.
The requested entry ID.
OptionalmaxPageSize?: number(optional) the maximum page size or number of link values from entry allowed per API response schema.
Optionalorderby?: string(optional) Specifies the order in which items are returned. The maximum number of expressions is 5.
Optionalprefer?: string(optional) An optional OData header. Can be used to set the maximum page size using odata.maxpagesize.
The requested repository ID.
Optionalselect?: string(optional) Limits the properties returned in the result.
Optionalskip?: number(optional) Excludes the specified number of items of the queried collection from the result.
Optionaltop?: number(optional) Limits the number of items returned from a collection.
Get the links assigned to an entry using a next link
OptionalmaxPageSize?: number(optional) the maximum page size or number of link values from entry allowed per API response schema
a url that allows retrieving the next subset of the requested collection
A collection of links assigned to the entry.
Optionalcount?: boolean(optional) Indicates whether the total count of items within a collection are returned in the result.
The requested document ID.
OptionalpageRange?: null | string(optional) Optional comma-separated page numbers and ranges (e.g., "1,3-5,8-10"). Ranges must not overlap. When omitted, all pages are returned (subject to paging).
Optionalprefer?: null | string(optional) An optional OData header. Can be used to set the maximum page size using odata.maxpagesize.
The requested repository ID.
Optionalselect?: null | string(optional) Limits the properties returned in the result.
Optionaltop?: number(optional) Limits the number of items returned from a collection. The maximum value is 150.
Successfully retrieved a paged listing of page information for the document.
Optionalcount?: boolean(optional) Indicates whether the total count of items within a collection are returned in the result.
The requested entry ID.
Optionalorderby?: null | string(optional) Specifies the order in which items are returned. The maximum number of expressions is 5.
Optionalprefer?: null | string(optional) An optional OData header. Can be used to set the maximum page size using odata.maxpagesize.
The requested repository ID.
Optionalselect?: null | string(optional) Limits the properties returned in the result.
Optionalskip?: number(optional) Excludes the specified number of items of the queried collection from the result.
Optionaltop?: number(optional) Limits the number of items returned from a collection. The maximum value is 150.
Successfully returned tags for requested entry.
It will continue to make the same call to get a list of tags assigned to entry of a fixed size (i.e. maxpagesize) until it reaches the last page (i.e. when next link is null/undefined) or whenever the callback function returns false.
async callback function that will accept the current page results and return a boolean value to either continue or stop paging.
Optionalcount?: boolean(optional) Indicates whether the total count of items within a collection are returned in the result.
The requested entry ID.
OptionalmaxPageSize?: number(optional) the maximum page size or number of tags assigned to entry allowed per API response schema.
Optionalorderby?: string(optional) Specifies the order in which items are returned. The maximum number of expressions is 5.
Optionalprefer?: string(optional) An optional OData header. Can be used to set the maximum page size using odata.maxpagesize.
The requested repository ID.
Optionalselect?: string(optional) Limits the properties returned in the result.
Optionalskip?: number(optional) Excludes the specified number of items of the queried collection from the result.
Optionaltop?: number(optional) Limits the number of items returned from a collection.
Get the tags assigned to an entry using a next link
OptionalmaxPageSize?: number(optional) the maximum page size or number of tags assigned to entry allowed per API response schema
a url that allows retrieving the next subset of the requested collection
A collection of tags assigned to the entry.
The requested document ID.
The requested repository ID.
Optionalrequest?: LfRepositoryClientV2.LockDocumentRequest(optional) The request body containing optional lock comment and extent.
Successfully created a persistent lock on the document.
The requested document ID.
The requested repository ID.
The request body containing the page range and destination.
Successfully moved pages within the specified document. Returned the updated entry.
The requested document ID.
The requested repository ID.
Successfully put the document under version control.
The ID of the entry that will have its template removed.
The requested repository ID.
Successfully removed the currently assigned template from requested entry. Returned updated entry.
imageFile or textPage must be provided. To delete all pages without replacement, use DELETE /Pages.imageFiles and textPages arrays are paired by index (same rules as POST /Pages).The requested document ID.
OptionalgenerateText?: boolean(optional) If true, triggers server-side text generation (OCR) after creating pages. Default is false.
OptionalimageFiles?: LfRepositoryClientV2.FileParameter[](optional) Optional. Up to 10 image files (100 MB aggregate) that are appended as image pages. On UpdateDocument, existing pages are preserved by default and deleted first when overwriteContent=true. Set generateImagePagesText=false in the request body to skip OCR for these pages (default: true).
The requested repository ID.
Optionalrequest?: LfRepositoryClientV2.PagesContentRequest(optional)
Successfully replaced all pages in the specified document. Returned the updated entry.
The requested document ID.
The 1-based page number of the page to rotate.
The requested repository ID.
The request body containing the rotation angle.
Successfully rotated the image page. Returned the updated entry.
Optionalculture?: null | string(optional) An optional query parameter used to indicate the locale that should be used. The value should be a standard language tag. This may be used when setting field values with tokens.
The entry ID of the entry that will have its fields updated.
The requested repository ID.
The request body.
Successfully updated field values on requested entry. Returned updated fields
The requested entry ID.
The request repository ID.
The request body.
Successfully returned list of links assigned to requested entry.
The requested entry ID.
The requested repository ID.
The tags to add.
Successfully assigned tags to the requested entry. Returned updated tags.
Optionalculture?: null | string(optional) An optional query parameter used to indicate the locale that should be used. The value should be a standard language tag. This may be used when setting field values with tokens.
The ID of entry that will have its template updated.
The requested repository ID.
The template and template fields that will be assigned to the entry.
Successfully assigned specified template to requested entry. Returned updated entry.
Optionalculture?: null | string(optional) An optional query parameter used to indicate the locale that should be used. The value should be a standard language tag.
The folder ID that the entry will be created in.
The requested repository ID.
The request body.
Operation was started successfully. Returned a long operation task ID.
The requested entry ID.
The requested repository ID.
Optionalrequest?: LfRepositoryClientV2.StartDeleteEntryRequest(optional) The submitted audit reason.
Operation was started successfully. Returned a long operation task ID.
The ID of entry to export.
OptionalpageRange?: null | string(optional) A comma-separated range of pages to include. Ex: 1,3,4 or 1-3,5-7,9. This value is ignored when part=Edoc.
The requested repository ID.
The request body.
Operation was started successfully. Returned a long operation task ID.
importAsElectronicDocument=true, the file is stored as the electronic document. For supported edoc formats, pdfOptions.generatePages additionally produces server-rendered image pages, and pdfOptions.generateText triggers text extraction from the document (or OCR when the source is image-based).importAsElectronicDocument=false), the file is imported as image pages. pdfOptions.generateText triggers OCR for the resulting pages.imageFiles and generateImagePagesText are not supported on this endpoint; use the synchronous POST /Folder/Import to attach image pages alongside the imported file.Optionalculture?: null | string(optional) An optional query parameter used to indicate the locale that should be used. The value should be a standard language tag. This may be used when setting field values with tokens.
The entry ID of the folder that the document will be created in.
The requested repository ID.
Optionalrequest?: LfRepositoryClientV2.StartImportUploadedPartsRequest(optional) The request body.
Operation was started successfully. Returned a long operation task ID.
The requested document ID.
The requested repository ID.
Successfully undid the document check-out. Any persistent lock held on the document has been released.
The requested document ID.
OptionallockToken?: null | string(optional) Optional lock token to unlock a specific lock held by another user (administrative unlock).
The requested repository ID.
Successfully removed the persistent lock from the document.
file, imageFiles, or metadata must be provided.file form field is optional. When provided, it replaces the electronic document or is imported as image pages, following the same rules as the import endpoint:importAsElectronicDocument=true, the file replaces the existing electronic document. For supported edoc formats, pdfOptions.generatePages additionally produces server-rendered image pages, and pdfOptions.generateText triggers text extraction from the document (or OCR when the source is image-based).importAsElectronicDocument=false), the file is imported as image pages. pdfOptions.generateText triggers OCR for the resulting pages.DELETE /Document/Edoc.imageFiles form field accepts up to 10 image files (100 MB aggregate) that are appended as image pages. Set generateImagePagesText=false in the body to skip OCR for the pages added via imageFiles (default: true).file and imageFiles can be combined whenever the file is imported as the electronic document — i.e. non-image file types, or image file types with importAsElectronicDocument=true. The request returns 400 only when both are provided and the file would itself become image pages (image file type with importAsElectronicDocument=false).Optionalculture?: null | string(optional) An optional query parameter used to indicate the locale that should be used. The value should be a standard language tag. This may be used when setting field values with tokens.
The requested document ID.
Optionalfile?: LfRepositoryClientV2.FileParameter(optional) Optional. The electronic document or image file to apply to the existing document. If the file extension is not in {txt, tif, tiff, bmp, pcx, jpg, jpeg, gif, png}, or if importAsElectronicDocument=true, it replaces the existing electronic document. Otherwise (image extension with importAsElectronicDocument=false), it is imported as image pages. A zero-byte file is rejected with 400; use DELETE /Document/Edoc to remove the electronic document.
OptionalimageFiles?: LfRepositoryClientV2.FileParameter[](optional) Optional. Up to 10 image files (100 MB aggregate) that are appended as image pages. On UpdateDocument, existing pages are preserved by default and deleted first when overwriteContent=true. Set generateImagePagesText=false in the request body to skip OCR for these pages (default: true).
The requested repository ID.
Optionalrequest?: LfRepositoryClientV2.UpdateDocumentRequest(optional)
Successfully updated the document. Returned the updated entry.
importAsElectronicDocument=true, the file replaces the existing electronic document. For supported edoc formats, pdfOptions.generatePages additionally produces server-rendered image pages, and pdfOptions.generateText triggers text extraction from the document (or OCR when the source is image-based).importAsElectronicDocument=false), the file is imported as image pages. pdfOptions.generateText triggers OCR for the resulting pages.metadata is provided, it additively updates the template, fields, tags, and links. Existing values not mentioned in the request are preserved.imageFiles, generateImagePagesText, and the overwriteContent query parameter are not supported on this endpoint; use the synchronous PATCH /Document to append image pages, OCR them automatically, or replace metadata wholesale.The requested document ID.
The requested repository ID.
The request body containing the upload ID, part ETags, and optional metadata.
Successfully started the update document from uploaded parts operation. Returns a task ID for polling progress.
Optionalculture?: null | string(optional) An optional query parameter used to indicate the locale that should be used. The value should be a standard language tag.
The requested entry ID.
The requested repository ID.
The request containing the folder ID that the entry will be moved to and the new name the entry will be renamed to.
Succesfully moved and/or renamed the entry. Returned updated entry.
imageFile or request (with text) must be provided.imageFile replaces the image without affecting existing text.The requested document ID.
OptionalgenerateText?: boolean(optional) If true, triggers server-side text generation (OCR) after writing. Default is false.
OptionalimageFile?: LfRepositoryClientV2.FileParameter(optional) Optional. The image file to upload to replace the page's image content. See https://doc.laserfiche.com/ for supported image file formats. At least one of imageFile or request (with text) must be provided.
The 1-based page number.
The requested repository ID.
Optionalrequest?: LfRepositoryClientV2.WritePageTextRequest(optional)
Successfully wrote the image content of the specified page. Returned the updated entry.