Functions

Link copied to clipboard
Link copied to clipboard

Delete one or more documents

Delete one or more documents by id

Link copied to clipboard
abstract suspend fun downloadDocumentImage(documentId: String, saveDir: File, overwriteCache: Boolean = false): DataProviderResponse<File>

Download the original document image for the document represented by documentId to the saveDir folder. Only the saveDir is provided. The actual filename will be determined by this method. This method will create saveDir if it doesn't already exist. This method will fail if saveDir exists but is not a directory.

Link copied to clipboard
abstract suspend fun editDocument(id: String, requestBody: EditDocumentBody): DataProviderResponse<String>

Edit the document with id - will modify the provided fields in the requestBody

Link copied to clipboard

Fetch a full document model by document id

Link copied to clipboard

Fetch a list of documents with configurable limit/search/filter parameters

Link copied to clipboard

Long poll / wait for the DocumentStatus of one or more documents. The api will wait until one of the queried documents' statuses has changed, or when one or more documents have reached a terminal state to respond.

Link copied to clipboard