The DocuMine API provides a comprehensive solution for managing resources such as dossiers and their associated files. Users can also retrieve components of files that have been processed and extracted by the system.
All endpoints are secured using OAuth2, with the "authorizationCode" being the general supported authorization flow.
Obtain a JWT token for authentication and send it in the 'Authorization' header with the format Bearer {JWT_TOKEN}
.
Please also note that the authorizationUrl
and tokenUrl
in this specification contain {workspaceId}
placeholders that
must be replaced by your respective DocuMine workspace identifier.
Example Headers:
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI...
This endpoint provides a list of all dossier templates stored in the system.
It returns an object containing an array of dossier template objects under the key dossierTemplates
.
Each template object contains an identifier, a name, a dossier template status, and other fields with
further details about the template.
Use this endpoint to fetch all templates before performing actions on specific ones.
{- "timestamp": "2023-09-21T12:45:00Z",
- "message": "An error occurred while processing the request."
}
Utilize this endpoint to retrieve comprehensive details about a designated dossier template. The response encompasses various attributes such as the dossier template's identifier, name, status, among other pertinent details.
dossierTemplateId required | string The identifier of a dossier template |
{- "id": "1e07cde0-d36a-4ab7-b389-494ca694a0cb",
- "name": "DocuMine Example",
- "description": "Typical settings for DocuMine.",
- "dateAdded": "2020-01-23T04:56:07.000+00:00",
- "dateModified": "2021-01-23T04:56:07.000+00:00",
- "createdBy": "c2e33246-e50a-4c43-831c-6789a5637db6",
- "modifiedBy": "c2e33246-e50a-4c43-831c-6789a5637db6",
- "validFrom": "2020-01-01T00:00:00.000+00:00",
- "validTo": "2030-12-31T23:59:59.999+00:00",
- "status": "ACTIVE",
- "removeWatermark": false,
- "keepImageMetadata": true,
- "ocrByDefault": true,
- "keepHiddenText": true,
- "keepOverlappingObjects": true,
- "applyDictionaryUpdatesToAllDossiersByDefault": false,
- "downloadFileTypes": [
- "ORIGINAL"
]
}
Utilize this endpoint to download the entity rules of a designated dossier template. The file is named 'entity-rules.drl' and contains the set of rules to annotate the entities in an analyzed file. The content of this file is in the Drools Rule Language (DRL) format. Please find more details about the DRL in the Drools Language Reference.
dossierTemplateId required | string The identifier of a dossier template |
{- "timestamp": "2023-09-21T12:45:00Z",
- "message": "An error occurred while processing the request."
}
Utilize this endpoint to upload the entity rules to a designated dossier template. With the 'dryRun' parameter, you have the possibility to just validate the rules file without actually saving it in the dossier template.
The uploaded rule file will be saved only if 'dryRun' is set to false
and the response code is 200
. In this
case, the response object does not contain errors.
dossierTemplateId required | string The identifier of a dossier template |
dryRun | boolean Default: false A toggle to activate the dry-run mode: If set to |
file required | string <binary> The binary content of the file to be uploaded. |
{- "errors": [ ]
}
Utilize this endpoint to download the component rules of a designated dossier template. The file is named 'component-rules.drl' and contains the set of rules to build components based on entities of an analyzed file. The content of this file is in the Drools Rule Language (DRL) format. Please find more details about the DRL in the Drools Language Reference.
dossierTemplateId required | string The identifier of a dossier template |
{- "timestamp": "2023-09-21T12:45:00Z",
- "message": "An error occurred while processing the request."
}
Utilize this endpoint to upload the component rules to a designated dossier template. With the 'dryRun' parameter, you have the possibility to just validate the rules file without actually saving it in the dossier template.
The uploaded rule file will be saved only if 'dryRun' is set to false
and the response code is 200
. In this
case, the response object does not contain errors.
dossierTemplateId required | string The identifier of a dossier template |
dryRun | boolean Default: false A toggle to activate the dry-run mode: If set to |
file required | string <binary> The binary content of the file to be uploaded. |
{- "errors": [ ]
}
Utilize this endpoint to download the date formats of a designated dossier template. The file is named 'date-formats.txt' and contains the set of date formats used within the dossier template.
dossierTemplateId required | string The identifier of a dossier template |
{- "timestamp": "2023-09-21T12:45:00Z",
- "message": "An error occurred while processing the request."
}
Utilize this endpoint to upload the date formats to a designated dossier template.
It will be validated first and if there are errors and the response code is not 200
, the file will not be saved.
In this case, the response object will contain the errors that occurred.
dossierTemplateId required | string The identifier of a dossier template |
file required | string <binary> The binary content of the file to be uploaded. |
[- {
- "line": 123,
- "pattern": "dd.mm.yyyz",
- "message": "No valid pattern, character 'z' not recognized"
}
]
Retrieves a collection of dossier status definitions associated with a specific dossier template.
This endpoint is useful for clients needing to display or set the status of a dossier associated with a specific dossier template.
Each dossier status definition includes details such as the status name, description, and other relevant metadata.
dossierTemplateId required | string The identifier of a dossier template |
{- "timestamp": "2023-09-21T12:45:00Z",
- "message": "An error occurred while processing the request."
}
Retrieves a collection of dossier attribute definitions associated with a specific dossier template.
This endpoint is useful for clients needing to understand what attributes are expected or allowed for dossiers associated with a specific dossier template.
Each dossier attribute definition includes details such as attribute type, name, and other relevant metadata.
dossierTemplateId required | string The identifier of a dossier template |
{- "timestamp": "2023-09-21T12:45:00Z",
- "message": "An error occurred while processing the request."
}
Use this endpoint to retrieve a collection of file attribute definitions associated with a specific dossier template. Each file attribute definition includes details such as attribute type, name, and other relevant metadata. This endpoint is useful for clients needing to understand what attributes are expected or allowed for files associated with a specific dossier template.
dossierTemplateId required | string The identifier of a dossier template |
{- "timestamp": "2023-09-21T12:45:00Z",
- "message": "An error occurred while processing the request."
}
Use this endpoint to retrieve a summary of all component mappings associated with a specific DossierTemplate.
The summary consists of the stored metadata of a component mapping file.
This endpoint is useful for clients to understand the available mappings under a particular DossierTemplate.
dossierTemplateId required | string The identifier of a dossier template |
{- "dossierTemplateId": "1e07cde0-d36a-4ab7-b389-494ca694a0cb",
- "componentMappingList": [
- {
- "id": "24ff9c3c-4863-4aea-8eda-cab8838b9192",
- "name": "MasterDataMapping",
- "fileName": "master_data.csv",
- "columnLabels": [
- "Column1",
- "Column2",
- "Column3"
], - "numberOfLines": 100,
- "encoding": "UTF-8",
- "delimiter": ","
}, - {
- "id": "2e07cde0-d36a-4ab7-b389-494ca694a0cb",
- "name": "RegulationNameMapping",
- "fileName": "regulation-names.csv",
- "columnLabels": [
- "Year",
- "Title",
- "Identifier",
- "Name"
], - "numberOfLines": 150,
- "encoding": "UTF-16",
- "delimiter": ";"
}
]
}
Use this endpoint to upload a new component mapping to a specific DossierTemplate.
search_value | mapped_value |
---|---|
Alice | Manager |
Bob | Developer |
Charlie | Analyst |
dossierTemplateId required | string The identifier of a dossier template |
name | string Example: name=MasterDataMapping The name with which the mapping should be associated with. If none is provided, the file name will be used. |
encoding | string Default: "UTF-8" Enum: "UTF-8" "UTF-16" "UTF_16BE" "UTF_16LE" "ISO-8859-1" "US-ASCII" Example: encoding=UTF-8 An identifier for the used encoding of the file. Only java's standard charsets are supported. |
delimiter | string = 1 characters Default: "," Example: delimiter=, The delimiter used as a separator in a csv file. |
file required | string <binary> The binary content of the file to be uploaded. |
{- "id": "24ff9c3c-4863-4aea-8eda-cab8838b9192",
- "name": "MasterDataMapping",
- "fileName": "master_data.csv",
- "columnLabels": [
- "Column1",
- "Column2",
- "Column3"
], - "numberOfLines": 100,
- "encoding": "UTF-8",
- "delimiter": ","
}
Use this endpoint to download a specific component mapping file of a designated DossierTemplate.
dossierTemplateId required | string The identifier of a dossier template |
componentMappingId required | string The identifier of a component mapping |
{- "timestamp": "2023-09-21T12:45:00Z",
- "message": "An error occurred while processing the request."
}
Use this endpoint to update an existing component mapping of a specific dossier template.
dossierTemplateId required | string The identifier of a dossier template |
componentMappingId required | string The identifier of a component mapping |
name | string Example: name=MasterDataMapping The name with which the mapping should be associated with. If none is provided, the file name will be used. |
encoding | string Default: "UTF-8" Enum: "UTF-8" "UTF-16" "UTF_16BE" "UTF_16LE" "ISO-8859-1" "US-ASCII" Example: encoding=UTF-8 An identifier for the used encoding of the file. Only java's standard charsets are supported. |
delimiter | string = 1 characters Default: "," Example: delimiter=, The delimiter used as a separator in a csv file. |
file required | string <binary> The binary content of the file to be uploaded. |
{- "id": "24ff9c3c-4863-4aea-8eda-cab8838b9192",
- "name": "MasterDataMapping",
- "fileName": "master_data.csv",
- "columnLabels": [
- "Column1",
- "Column2",
- "Column3"
], - "numberOfLines": 100,
- "encoding": "UTF-8",
- "delimiter": ","
}
Use this endpoint to delete a specific component mapping file of a designated dossier template.
dossierTemplateId required | string The identifier of a dossier template |
componentMappingId required | string The identifier of a component mapping |
{- "timestamp": "2023-09-21T12:45:00Z",
- "message": "An error occurred while processing the request."
}
Use this endpoint to retrieve a collection of report templates associated with a specific dossier template. Each report template includes details such as the report's name, whether the report is per file or for multiple files, and if the UI should pre-select it in a download dialog.
dossierTemplateId required | string The identifier of a dossier template |
{- "timestamp": "2023-09-21T12:45:00Z",
- "message": "An error occurred while processing the request."
}
By default, this endpoint provides a list of all active dossiers that are based on a specific dossier template.
It returns an object containing an array of dossier objects under the key dossiers
. Each dossier object contains
an identifier, a name, a description, an owner, and other fields with further details about the dossier.
Use this endpoint to fetch the required dossiers before performing actions on specific ones. Use the query parameters
to modify the response. E.g., set the includeArchivedDossiers
parameter to true
so that the response also contains
archived dossiers.
dossierTemplateId required | string The identifier of a dossier template |
includeActive | boolean Default: true A toggle to include or exclude active dossiers: If |
includeArchived | boolean Default: false A toggle to include or exclude archived dossiers: If set to |
includeSoftDeleted | boolean Default: false A toggle to include soft-deleted dossiers:
Soft-deleted means that the dossier has not been deleted permanently. |
{- "timestamp": "2023-09-21T12:45:00Z",
- "message": "An error occurred while processing the request."
}
This endpoint is meant to create a new dossier or to update an existing one.
To create a new dossier, do not set the identifier of the dossier object provided in the request body.
To update an existing dossier, the set identifier needs to be valid.
dossierTemplateId required | string The identifier of a dossier template |
id | string <uuid> The unique identifier of the dossier to update. This property needs to be null for create requests,
as the system will generate it automatically. If the value is not a valid identifier, the
endpoint will return a |
name required | string A human-readable name for the dossier. The name must be unique among all dossiers within the scope of the workspace (tenant). |
description | string A textual description providing additional context or information about the purpose and content of the dossier. |
dueDate | string <date-time> Specifies the deadline by which actions related to this dossier should be completed. The date is in ISO 8601 date-time format. |
ownerId | string <uuid> A unique identifier representing the user who owns or created this dossier.
If |
memberIds | Array of strings unique An array of unique identifiers for users who have access to the dossier. |
approverIds | Array of strings unique An array of unique identifiers for users who have approval permission in the dossier. Needed if using an approval workflow.
|
reportTemplateIds | Array of strings <uuid> (ReportTemplateIdList) unique [ items <uuid > ] List of template identifiers indicating which templates are used for generating reports or other outputs. The reports are generated when requesting a download package. |
dossierStatusId | string An identifier representing the current status of the dossier.
Use |
{- "id": "dc28cc82-2682-4b7f-ae0b-2132b205d47a",
- "name": "Project Beta",
- "description": "Collection of documents for Project Beta.",
- "dueDate": "2001-01-23T04:56:07.000+00:00",
- "ownerId": "0d53a7c3-7b3a-4c57-857d-ec5e0fc3019b",
- "memberIds": [
- "a0044ae9-ddca-4f97-b0a1-3cb2517dbf39",
- "c2e33246-e50a-4c43-831c-6789a5637db8",
- "6123fa16-6943-4b74-8524-54b0046a0ce6"
], - "approverIds": [ ],
- "reportTemplateIds": [
- "daadea5f-917b-482a-b7d2-e65afe8f80ca",
- "8130acf6-4910-4123-827c-caacd8111402"
], - "dossierStatusId": "b8280985-f558-43c0-852a-a3fa86803548"
}
{- "id": "2ef05d6a-6fb3-4f27-b3c7-9a6438b38c3b",
- "name": "Project Alpha",
- "date": "2000-01-23T04:56:07.000+00:00",
- "dossierTemplateId": "1ed2db85-9cd5-48b0-855f-77ca2a688501",
- "description": "Collection of documents for Project Alpha.",
- "ownerId": "a0044ae9-ddca-4f97-b0a1-3cb2517dbf39",
- "memberIds": [
- "da8d5f98-ae61-4696-85bf-27986d93877c",
- "f4a0beb4-4034-4b92-a75e-5f37591326ea"
], - "approverIds": [
- "da8d5f98-ae61-4696-85bf-27986d93877c",
- "f4a0beb4-4034-4b92-a75e-5f37591326ea"
], - "visibility": "PRIVATE",
- "startDate": null,
- "dueDate": "2001-01-23T04:56:07.000+00:00",
- "dossierStatusId": "b8280985-f558-43c0-852a-a3fa86803548",
- "watermarkId": null,
- "previewWatermarkId": null,
- "dossierAttributes": {
- "attributeIdToValue": {
- "1049a73c-8013-45d6-8217-0845a4ff1c61": "This is a dossier attribute value",
- "79d5a138-d30a-4014-ad7f-43ffba1f4d04": "This is yet another dossier attribute value",
- "1d30d9e8-4a6c-4ef0-96a0-7bef62e138db": "1234",
- "b337b65a-0481-48d9-92e6-79e34760ef01": "1. January 1337"
}
}, - "downloadFileTypes": [
- "ORIGINAL",
- "PREVIEW"
], - "reportTemplateIds": [
- "daadea5f-917b-482a-b7d2-e65afe8f80ca",
- "8130acf6-4910-4123-827c-caacd8111402"
], - "archivedTime": null,
- "softDeletedTime": null,
- "hardDeletedTime": null
}
Removes a dossier either in a recoverable manner (soft-delete) or permanently. By default, a soft-deleted dossier remains recoverable for a retention period determined by application settings. The default retention period is 96 hours (4 days) but may vary based on configuration.
dossierTemplateId required | string The identifier of a dossier template |
dossierId required | string The identifier of a dossier |
deletePermanently | boolean Default: false A toggle to determine the deletion mode for a dossier:
Using this parameter, you can also permanently delete a previously soft-deleted dossier during its retention period.
|
{- "timestamp": "2023-09-21T12:45:00Z",
- "message": "An error occurred while processing the request."
}
Utilize this endpoint to retrieve comprehensive details about a designated dossier. The response encompasses various attributes such as the dossier's unique ID, name, description, associated owner, among other pertinent details.
If the dossier has been soft-deleted but not yet permanently deleted, the includeSoftDeleted
parameter can be utilized
to get it. Without this, a soft-deleted dossier would return a 404 Dossier not found
error.
dossierTemplateId required | string The identifier of a dossier template |
dossierId required | string The identifier of a dossier |
includeSoftDeleted | boolean Default: false A Toggle to return a soft-deleted dossier:
Soft-deleted means that the dossier has not been deleted permanently. |
{- "id": "2ef05d6a-6fb3-4f27-b3c7-9a6438b38c3b",
- "name": "Project Alpha",
- "date": "2000-01-23T04:56:07.000+00:00",
- "dossierTemplateId": "1ed2db85-9cd5-48b0-855f-77ca2a688501",
- "description": "Collection of documents for Project Alpha.",
- "ownerId": "a0044ae9-ddca-4f97-b0a1-3cb2517dbf39",
- "memberIds": [
- "da8d5f98-ae61-4696-85bf-27986d93877c",
- "f4a0beb4-4034-4b92-a75e-5f37591326ea"
], - "approverIds": [
- "da8d5f98-ae61-4696-85bf-27986d93877c",
- "f4a0beb4-4034-4b92-a75e-5f37591326ea"
], - "visibility": "PRIVATE",
- "startDate": null,
- "dueDate": "2001-01-23T04:56:07.000+00:00",
- "dossierStatusId": "b8280985-f558-43c0-852a-a3fa86803548",
- "watermarkId": null,
- "previewWatermarkId": null,
- "dossierAttributes": {
- "attributeIdToValue": {
- "1049a73c-8013-45d6-8217-0845a4ff1c61": "This is a dossier attribute value",
- "79d5a138-d30a-4014-ad7f-43ffba1f4d04": "This is yet another dossier attribute value",
- "1d30d9e8-4a6c-4ef0-96a0-7bef62e138db": "1234",
- "b337b65a-0481-48d9-92e6-79e34760ef01": "1. January 1337"
}
}, - "downloadFileTypes": [
- "ORIGINAL",
- "PREVIEW"
], - "reportTemplateIds": [
- "daadea5f-917b-482a-b7d2-e65afe8f80ca",
- "8130acf6-4910-4123-827c-caacd8111402"
], - "archivedTime": null,
- "softDeletedTime": null,
- "hardDeletedTime": null
}
Use this endpoint to update or set dossier attributes for a given dossier. Ensure you provide the necessary dossier attributes within the request body.
Use this route to maintain or enhance dossier metadata and properties.
dossierTemplateId required | string The identifier of a dossier template |
dossierId required | string The identifier of a dossier |
object |
{- "attributeIdToValue": {
- "1049a73c-8013-45d6-8217-0845a4ff1c61": "This is a dossier attribute value",
- "79d5a138-d30a-4014-ad7f-43ffba1f4d04": "This is yet another dossier attribute value",
- "1d30d9e8-4a6c-4ef0-96a0-7bef62e138db": "1234",
- "b337b65a-0481-48d9-92e6-79e34760ef01": "1. January 1337"
}
}
{- "timestamp": "2023-09-21T12:45:00Z",
- "message": "An error occurred while processing the request."
}
This endpoint allows you to define the content and initiate the creation of a download package for all files within a dossier.
Includes an identifier for the download. Use this identifier to query the status of the download package preparation and download the file once it is available.
dossierTemplateId required | string The identifier of a dossier template |
dossierId required | string The identifier of a dossier |
downloadFileTypes | Array of strings (DownloadFileTypes) unique Items Enum: "ORIGINAL" "PREVIEW" Specifies the types of files that will part of the created download package. The defaults can be defined in the dossier template and can be overwritten individually on each download. DocuMine supports
|
reportTemplateIds | Array of strings <uuid> (ReportTemplateIdList) unique [ items <uuid > ] List of template identifiers indicating which templates are used for generating reports or other outputs. The reports are generated when requesting a download package. |
redactionPreviewColor | string A hexadecimal color code that is used to define the highlighting color of the redaction annotations in
the
|
{- "downloadFileTypes": [
- "ORIGINAL"
], - "reportTemplateIds": [
- "b79cb3ba-745e-5d9a-8903-4a02327a7e09",
- "fb3463a0-7d6e-54a3-bcd8-1b93388c648d"
], - "redactionPreviewColor": "#9398a0"
}
{- "id": "b5e2cf01-8bb6-4fcd-ad88-0efb611195da",
- "userId": "caa8b54a-eb5e-4134-8ae2-a3946a428ec7",
- "filename": "my-dossier.zip",
- "mimeType": "application/octet-stream",
- "errorCause": "",
- "status": "READY",
- "creationDate": "2023-03-29T11:41:08.886Z",
- "lastDownload": "2023-03-29T13:11:05.123Z",
- "fileSize": 1654231,
- "dossierId": "20354d7a-e4fe-47af-8ff6-187bca92f3f9",
- "fileIds": [
- "51d3f70ac322c98dc4db70a2ac44115a",
- "1fdbd888b39059c8cf171df26f62f8a5"
], - "downloadFileTypes": [
- "ORIGINAL"
], - "reportTemplateIds": [
- "b79cb3ba-745e-5d9a-8903-4a02327a7e09",
- "fb3463a0-7d6e-54a3-bcd8-1b93388c648d"
]
}
This endpoint provides status information for each file within a designated dossier.
The file status encompasses attributes such as identifier, file name, number of pages, file size, processing and workflow status, among other pertinent details. By default, only active files are fetched. However, various parameters can be combined to adjust the scope of the response.
dossierTemplateId required | string The identifier of a dossier template |
dossierId required | string The identifier of a dossier |
includeActive | boolean Default: true A toggle to include or exclude active files: If set to |
includeArchived | boolean Default: false A toggle to include or exclude archived files (i.e., files of archived dossiers):
If set to |
includeSoftDeleted | boolean Default: false A toggle to include soft-deleted files:
Soft-deleted means that the file or dossier of the file has not been deleted permanently. |
{- "timestamp": "2023-09-21T12:45:00Z",
- "message": "An error occurred while processing the request."
}
Use this endpoint to upload files to a specific dossier.
Upon successful upload, the system returns the unique identifier of the uploaded file. In cases where the dossier already contains a file with the same name, the new file will replace the existing one.
Supported file formats include PDF documents, Microsoft Office documents (if supported by your license), CSV files, and ZIP archives.
Notably, Microsoft office files (file extensions docx
, xlsx
, or pptx
) are automatically converted into PDF format
upon upload. Be aware that due to potential font discrepancies, the resulting PDF may slightly differ in appearance from
the original. Nevertheless, our system ensures maximum fidelity to the original content.
CSV files offer support for bulk importing of file attributes. If the dossier is set up to map specific CSV fields to file attributes and the uploaded CSV aligns with this mapping, the system will process the CSV accordingly. Mismatched CSVs will be disregarded. For successfully processed CSV files, the response contains information about the file attributes and the annotated files.
ZIP archives offer support to upload multiple files at once. In case of an upload of a ZIP archive, the system returns a list of unique identifiers of the contained files. The archive can even contain a mix of files like some PDF files and a CSV file that will annotate some file attributes.
dossierTemplateId required | string The identifier of a dossier template |
dossierId required | string The identifier of a dossier |
keepManualChanges | boolean Default: false A toggle to keep manual changes, i.e., to preserve manually added annotations or manipulations on existing ones when overwriting a file:
|
disableAutomaticAnalysis | boolean Default: false A toggle to disable automatic analysis, i.e., to just upload and process the file without applying any automatic annotations:
|
file required | string <binary> The binary content of the file to be uploaded. |
{- "fileIds": [
- "fileIds",
- "fileIds"
], - "processedFileIds": [
- "processedFileIds",
- "processedFileIds"
], - "processedAttributes": [
- "processedAttributes",
- "processedAttributes"
]
}
Use this endpoint to remove of a file linked to a specific dossier under a dossier template. By default, the
file undergoes a soft-delete, meaning it can be restored within the retention period determined by application settings.
The default retention period is 96 hours (4 days) but may vary based on configuration. Use the deletePermanently
query
parameter to opt for a permanent deletion, preventing any future restoration.
dossierTemplateId required | string The identifier of a dossier template |
dossierId required | string The identifier of a dossier |
fileId required | string The identifier of a file |
deletePermanently | boolean Default: false Determines the deletion mode for a file.
Using this parameter, you can also permanently delete a previously soft-deleted file during its retention period. |
{- "timestamp": "2023-09-21T12:45:00Z",
- "message": "An error occurred while processing the request."
}
This endpoint is designed to fetch the status of a specific file associated to a dossier based on a dossier template. If
the file has been soft-deleted but not yet permanently deleted, the includeSoftDeleted
parameter can be utilized to get
the status of such files. Without this, a soft-deleted file would return a 404 File not found
error.
dossierTemplateId required | string The identifier of a dossier template |
dossierId required | string The identifier of a dossier |
fileId required | string The identifier of a file |
includeSoftDeleted | boolean Default: false A Toggle to return the status of soft-deleted files:
Soft-deleted means that the file or dossier of the file has not been deleted permanently. |
{- "hasRedactions": true,
- "added": "2000-01-23T04:56:07.000+00:00",
- "workflowStatus": "NEW",
- "hasAnnotationComments": true,
- "rulesVersion": 2,
- "excluded": true,
- "lastUpdated": "2000-01-23T04:56:07.000+00:00",
- "lastManualChangeDate": "2000-01-23T04:56:07.000+00:00",
- "lastProcessed": "2000-01-23T04:56:07.000+00:00",
- "excludedFromAutomaticAnalysis": true,
- "dictionaryVersion": 5,
- "dossierArchived": true,
- "hasRequests": true,
- "lastFileAttributeChange": "2000-01-23T04:56:07.000+00:00",
- "id": "a7f0303d-a33c-4f2e-bd7a-a2adc1b8f92b",
- "analysisDuration": 9,
- "hasHighlights": true,
- "dossierStatusId": "dossierStatusId",
- "fileErrorInfo": {
- "service": "service",
- "cause": "cause",
- "queue": "queue",
- "timestamp": "2000-01-23T04:56:07.000+00:00"
}, - "processingStatus": "ANALYSE",
- "numberOfAnalyses": 6,
- "filename": "filename",
- "fileAttributes": {
- "attributeIdToValue": {
- "9049a73c-8013-45d6-8217-0845a4ff1c61": "This is a file attribute value",
- "59d5a138-d30a-4014-ad7f-43ffba1f4d04": "This is yet another file attribute value",
- "9d30d9e8-4a6c-4ef0-96a0-7bef62e138db": "1234",
- "a337b65a-0481-48d9-92e6-79e34760ef01": "1. January 1337"
}
}, - "lastOCRTime": "2000-01-23T04:56:07.000+00:00",
- "legalBasisVersion": 7,
- "excludedPages": [
- 2,
- 2
], - "redactionModificationDate": "2000-01-23T04:56:07.000+00:00",
- "fileSize": 4,
- "fileManipulationDate": "2000-01-23T04:56:07.000+00:00",
- "dossierId": "dossierId",
- "lastUploaded": "2000-01-23T04:56:07.000+00:00",
- "assignee": "assignee",
- "analysisRequired": true,
- "approvalDate": "2000-01-23T04:56:07.000+00:00",
- "numberOfPagesToOCR": 1,
- "ocrEndTime": "2000-01-23T04:56:07.000+00:00",
- "hasHints": true,
- "softDeletedTime": "2000-01-23T04:56:07.000+00:00",
- "numberOfPages": 0,
- "uploader": "uploader",
- "lastReviewer": "lastReviewer",
- "lastIndexed": "2000-01-23T04:56:07.000+00:00",
- "numberOfOCRedPages": 5,
- "analysisVersion": 7,
- "lastLayoutProcessed": "2000-01-23T04:56:07.000+00:00",
- "lastApprover": "lastApprover",
- "ocrStartTime": "2000-01-23T04:56:07.000+00:00",
- "dossierDictionaryVersion": 3,
- "dossierTemplateId": "dossierTemplateId",
- "hasImages": true,
- "hasUpdates": true,
- "hasSuggestions": true
}
This endpoint allows you to define the content and initiate the creation of a download package for a files of a dossier.
Includes an identifier for the download. Use this identifier to query the status of the download package preparation and download the file once it is available.
dossierTemplateId required | string The identifier of a dossier template |
dossierId required | string The identifier of a dossier |
fileId required | string The identifier of a file |
downloadFileTypes | Array of strings (DownloadFileTypes) unique Items Enum: "ORIGINAL" "PREVIEW" Specifies the types of files that will part of the created download package. The defaults can be defined in the dossier template and can be overwritten individually on each download. DocuMine supports
|
reportTemplateIds | Array of strings <uuid> (ReportTemplateIdList) unique [ items <uuid > ] List of template identifiers indicating which templates are used for generating reports or other outputs. The reports are generated when requesting a download package. |
redactionPreviewColor | string A hexadecimal color code that is used to define the highlighting color of the redaction annotations in
the
|
{- "downloadFileTypes": [
- "ORIGINAL"
], - "reportTemplateIds": [
- "b79cb3ba-745e-5d9a-8903-4a02327a7e09",
- "fb3463a0-7d6e-54a3-bcd8-1b93388c648d"
], - "redactionPreviewColor": "#9398a0"
}
{- "id": "b5e2cf01-8bb6-4fcd-ad88-0efb611195da",
- "userId": "caa8b54a-eb5e-4134-8ae2-a3946a428ec7",
- "filename": "my-dossier.zip",
- "mimeType": "application/octet-stream",
- "errorCause": "",
- "status": "READY",
- "creationDate": "2023-03-29T11:41:08.886Z",
- "lastDownload": "2023-03-29T13:11:05.123Z",
- "fileSize": 1654231,
- "dossierId": "20354d7a-e4fe-47af-8ff6-187bca92f3f9",
- "fileIds": [
- "51d3f70ac322c98dc4db70a2ac44115a",
- "1fdbd888b39059c8cf171df26f62f8a5"
], - "downloadFileTypes": [
- "ORIGINAL"
], - "reportTemplateIds": [
- "b79cb3ba-745e-5d9a-8903-4a02327a7e09",
- "fb3463a0-7d6e-54a3-bcd8-1b93388c648d"
]
}
This endpoint allows for the bulk deletion of specified files associated with a certain dossier.
It provides the flexibility to perform either a soft-delete (by default) or a permanent deletion. A soft-deleted file remains restorable within the retention period set by the application (96h by default). In contrast, permanently deleted files are irrevocably removed and cannot be restored.
Use this route to manage large file deletions efficiently.
dossierTemplateId required | string The identifier of a dossier template |
dossierId required | string The identifier of a dossier |
deletePermanently | boolean Default: false Determines the deletion mode for a list of files:
Using this parameter, you can also permanently delete a previously soft-deleted files during their retention period. |
fileIds | Array of strings A list of unique identifiers for the files to be deleted. |
{- "fileIds": [
- "51d3f70ac322c98dc4db70a2ac44115a",
- "1fdbd888b39059c8cf171df26f62f8a5"
]
}
{- "timestamp": "2023-09-21T12:45:00Z",
- "message": "An error occurred while processing the request."
}
This endpoint allows you to define the content and initiate the creation of a download package for specific files of a dossier.
Includes an identifier for the download. Use this identifier to query the status of the download package preparation and download the file once it is available.
dossierTemplateId required | string The identifier of a dossier template |
dossierId required | string The identifier of a dossier |
downloadFileTypes | Array of strings (DownloadFileTypes) unique Items Enum: "ORIGINAL" "PREVIEW" Specifies the types of files that will part of the created download package. The defaults can be defined in the dossier template and can be overwritten individually on each download. DocuMine supports
|
reportTemplateIds | Array of strings <uuid> (ReportTemplateIdList) unique [ items <uuid > ] List of template identifiers indicating which templates are used for generating reports or other outputs. The reports are generated when requesting a download package. |
redactionPreviewColor | string A hexadecimal color code that is used to define the highlighting color of the redaction annotations in
the
|
fileIds | Array of strings A list with unique identifiers of the files for which the download is to be prepared. |
{- "downloadFileTypes": [
- "ORIGINAL"
], - "reportTemplateIds": [
- "b79cb3ba-745e-5d9a-8903-4a02327a7e09",
- "fb3463a0-7d6e-54a3-bcd8-1b93388c648d"
], - "redactionPreviewColor": "#9398a0",
- "fileIds": [
- "string"
]
}
{- "id": "b5e2cf01-8bb6-4fcd-ad88-0efb611195da",
- "userId": "caa8b54a-eb5e-4134-8ae2-a3946a428ec7",
- "filename": "my-dossier.zip",
- "mimeType": "application/octet-stream",
- "errorCause": "",
- "status": "READY",
- "creationDate": "2023-03-29T11:41:08.886Z",
- "lastDownload": "2023-03-29T13:11:05.123Z",
- "fileSize": 1654231,
- "dossierId": "20354d7a-e4fe-47af-8ff6-187bca92f3f9",
- "fileIds": [
- "51d3f70ac322c98dc4db70a2ac44115a",
- "1fdbd888b39059c8cf171df26f62f8a5"
], - "downloadFileTypes": [
- "ORIGINAL"
], - "reportTemplateIds": [
- "b79cb3ba-745e-5d9a-8903-4a02327a7e09",
- "fb3463a0-7d6e-54a3-bcd8-1b93388c648d"
]
}
Use this endpoint to update or setting of specific file attributes for a given file within a dossier. Ensure you provide the necessary file attributes within the request body.
Use this route to maintain or enhance file metadata and properties.
dossierTemplateId required | string The identifier of a dossier template |
dossierId required | string The identifier of a dossier |
fileId required | string The identifier of a file |
object |
{- "attributeIdToValue": {
- "9049a73c-8013-45d6-8217-0845a4ff1c61": "This is a file attribute value",
- "59d5a138-d30a-4014-ad7f-43ffba1f4d04": "This is yet another file attribute value",
- "9d30d9e8-4a6c-4ef0-96a0-7bef62e138db": "1234",
- "a337b65a-0481-48d9-92e6-79e34760ef01": "1. January 1337"
}
}
{- "timestamp": "2023-09-21T12:45:00Z",
- "message": "An error occurred while processing the request."
}
This endpoint retrieves the derived and extracted components from a given file within a dossier. Components represent various aspects, metadata or content of the file. Entity and component rules define these components based on the file's content. They can give a structured view on a document's text.
To include detailed component information, set the includeDetails
query parameter to true
.
dossierTemplateId required | string The identifier of a dossier template |
dossierId required | string The identifier of a dossier |
fileId required | string The identifier of a file |
includeDetails | boolean Default: false A toggle to decide whether to include detailed component information in the response:
|
{- "dossierTemplateId": "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
- "dossierId": "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
- "fileId": "1fdbd888b39059c8cf171df26f62f8a5",
- "filename": "MyFile.pdf",
- "components": {
- "my component": [
- "my overwritten component value",
- "yet another component value"
], - "yet another component": [
- "only one value"
]
}, - "componentDetails": [
- {
- "name": "my component",
- "componentValues": [
- {
- "value": "my overwritten component value",
- "originalValue": "the original value",
- "componentRuleId": "COM.0.0",
- "valueDescription": "My value description",
- "entityReferences": [
- {
- "id": "bcd22239-cedf-442f-a5a1-1664cba94dc6",
- "entityRuleId": "ABC.0.0",
- "type": "entity_type",
- "page": 123
}, - {
- "id": "b748b89a-5679-4254-9286-1dd652d9970b",
- "entityRuleId": "DEF.13.37",
- "type": "another_entity_type",
- "page": 456
}
]
}, - {
- "value": "yet another component value",
- "originalValue": "yet another component value",
- "componentRuleId": "COM.0.1",
- "valueDescription": "Another value description",
- "entityReferences": [
- {
- "id": "70496456-a016-4679-81b1-6c8856dded6e",
- "entityRuleId": "XYZ.0.0",
- "type": "yet_another_entity_type",
- "page": 123
}
]
}
]
}, - {
- "name": "yet another component",
- "componentValues": [
- {
- "value": "only one value",
- "originalValue": "only one value",
- "componentRuleId": "COM.0.0",
- "valueDescription": "My value description",
- "entityReferences": [
- {
- "id": "bcd22239-cedf-442f-a5a1-1664cba94dc6",
- "entityRuleId": "ABC.0.0",
- "type": "entity_type",
- "page": 123
}, - {
- "id": "b748b89a-5679-4254-9286-1dd652d9970b",
- "entityRuleId": "DEF.13.37",
- "type": "another_entity_type",
- "page": 456
}
]
}
]
}
]
}
This endpoint fetches components for all files associated with a specific dossier. Like individual file components, these represent various aspects, metadata or content of the files. Entity and component rules define these components based on the file's content. They can give a structured view on a document's text.
To include detailed component information, set the includeDetails
query parameter to true
.
dossierTemplateId required | string The identifier of a dossier template |
dossierId required | string The identifier of a dossier |
includeDetails | boolean Default: false A toggle to decide whether to include detailed component information in the response:
|
{- "files": [
- {
- "dossierTemplateId": "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
- "dossierId": "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
- "fileId": "1fdbd888b39059c8cf171df26f62f8a5",
- "filename": "MyFile.pdf",
- "components": {
- "my component": [
- "my overwritten component value",
- "yet another component value"
], - "yet another component": [
- "only one value"
]
}, - "componentDetails": [
- {
- "name": "my component",
- "componentValues": [
- {
- "value": "my overwritten component value",
- "originalValue": "the original value",
- "componentRuleId": "COM.0.0",
- "valueDescription": "My value description",
- "entityReferences": [
- {
- "id": "bcd22239-cedf-442f-a5a1-1664cba94dc6",
- "entityRuleId": "ABC.0.0",
- "type": "entity_type",
- "page": 123
}, - {
- "id": "b748b89a-5679-4254-9286-1dd652d9970b",
- "entityRuleId": "DEF.13.37",
- "type": "another_entity_type",
- "page": 456
}
]
}, - {
- "value": "yet another component value",
- "originalValue": "yet another component value",
- "componentRuleId": "COM.0.1",
- "valueDescription": "Another value description",
- "entityReferences": [
- {
- "id": "70496456-a016-4679-81b1-6c8856dded6e",
- "entityRuleId": "XYZ.0.0",
- "type": "yet_another_entity_type",
- "page": 123
}
]
}
]
}, - {
- "name": "yet another component",
- "componentValues": [
- {
- "value": "only one value",
- "originalValue": "only one value",
- "componentRuleId": "COM.0.0",
- "valueDescription": "My value description",
- "entityReferences": [
- {
- "id": "bcd22239-cedf-442f-a5a1-1664cba94dc6",
- "entityRuleId": "ABC.0.0",
- "type": "entity_type",
- "page": 123
}, - {
- "id": "b748b89a-5679-4254-9286-1dd652d9970b",
- "entityRuleId": "DEF.13.37",
- "type": "another_entity_type",
- "page": 456
}
]
}
]
}
]
}, - {
- "dossierTemplateId": "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
- "dossierId": "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
- "fileId": "4d2334def5fced0003888e47cbc270f7",
- "filename": "Copy of MyFile.pdf",
- "components": {
- "my component": [
- "my overwritten component value",
- "yet another component value"
], - "yet another component": [
- "only one value"
]
}, - "componentDetails": [
- {
- "name": "my component",
- "componentValues": [
- {
- "value": "my overwritten component value",
- "originalValue": "the original value",
- "componentRuleId": "COM.0.0",
- "valueDescription": "My value description",
- "entityReferences": [
- {
- "id": "dadb54d4-587b-4e69-8c07-be9446a33537",
- "entityRuleId": "ABC.0.0",
- "type": "entity_type",
- "page": 123
}, - {
- "id": "30339f5a-4c19-447f-b0a0-0f14c094037e",
- "entityRuleId": "DEF.13.37",
- "type": "another_entity_type",
- "page": 456
}
]
}, - {
- "value": "yet another component value",
- "originalValue": "yet another component value",
- "componentRuleId": "COM.0.1",
- "valueDescription": "Another value description",
- "entityReferences": [
- {
- "id": "086cd500-97da-44f8-8628-3324d11b4e8d",
- "entityRuleId": "XYZ.0.0",
- "type": "yet_another_entity_type",
- "page": 123
}
]
}
]
}, - {
- "name": "yet another component",
- "componentValues": [
- {
- "value": "only one value",
- "originalValue": "only one value",
- "componentRuleId": "COM.0.0",
- "valueDescription": "My value description",
- "entityReferences": [
- {
- "id": "dadb54d4-587b-4e69-8c07-be9446a33537",
- "entityRuleId": "ABC.0.0",
- "type": "entity_type",
- "page": 123
}, - {
- "id": "30339f5a-4c19-447f-b0a0-0f14c094037e",
- "entityRuleId": "DEF.13.37",
- "type": "another_entity_type",
- "page": 456
}
]
}
]
}
]
}
]
}
This endpoint allows the user to add one or more overrides for a specific component of a dossier file. The component override data is provided in the request body.
Use this route to add overrides to the specified component.
dossierTemplateId required | string The identifier of a dossier template |
dossierId required | string The identifier of a dossier |
fileId required | string The identifier of a file |
name | string The name of the component. |
Array of objects (ComponentValue) A list of value objects associated with the component. |
{- "name": "the component name",
- "componentValues": [
- {
- "value": "my overwritten component value",
- "originalValue": "the original value",
- "componentRuleId": "COM.0.0",
- "valueDescription": "My value description",
- "entityReferences": [
- {
- "id": "bcd22239-cedf-442f-a5a1-1664cba94dc6",
- "entityRuleId": "ABC.0.0",
- "type": "entity_type",
- "page": 123
}, - {
- "id": "bcd22239-c3df-442f-a5a1-1664cba94dc6_2",
- "entityRuleId": "ABC.0.0",
- "type": "entity_type",
- "page": 124
}, - {
- "id": "b748b89a-5679-4254-9286-1dd652d9970b",
- "entityRuleId": "DEF.13.37",
- "type": "another_entity_type",
- "page": 456
}
]
}, - {
- "value": "yet another component value",
- "originalValue": "yet another component value",
- "componentRuleId": "COM.0.1",
- "valueDescription": "Another value description",
- "entityReferences": [
- {
- "id": "70496456-a016-4679-81b1-6c8856dded6e",
- "entityRuleId": "XYZ.0.0",
- "type": "yet_another_entity_type",
- "page": 123
}
]
}
]
}
{- "timestamp": "2023-09-21T12:45:00Z",
- "message": "An error occurred while processing the request."
}
This endpoint retrieves all the overrides for components within a dossier file. The response includes a list of all component overrides associated with the specified file.
dossierTemplateId required | string The identifier of a dossier template |
dossierId required | string The identifier of a dossier |
fileId required | string The identifier of a file |
{- "dossierTemplateId": "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
- "dossierId": "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
- "fileId": "1fdbd888b39059c8cf171df26f62f8a5",
- "componentOverrideModels": [
- {
- "name": "the component name",
- "componentValues": [
- {
- "value": "my overwritten component value",
- "originalValue": "the original value",
- "componentRuleId": "COM.0.0",
- "valueDescription": "My value description",
- "entityReferences": [
- {
- "id": "bcd22239-cedf-442f-a5a1-1664cba94dc6",
- "entityRuleId": "ABC.0.0",
- "type": "entity_type",
- "page": 123
}, - {
- "id": "bcd22239-c3df-442f-a5a1-1664cba94dc6_2",
- "entityRuleId": "ABC.0.0",
- "type": "entity_type",
- "page": 124
}, - {
- "id": "b748b89a-5679-4254-9286-1dd652d9970b",
- "entityRuleId": "DEF.13.37",
- "type": "another_entity_type",
- "page": 456
}
]
}, - {
- "value": "yet another component value",
- "originalValue": "yet another component value",
- "componentRuleId": "COM.0.1",
- "valueDescription": "Another value description",
- "entityReferences": [
- {
- "id": "70496456-a016-4679-81b1-6c8856dded6e",
- "entityRuleId": "XYZ.0.0",
- "type": "yet_another_entity_type",
- "page": 123
}
]
}
], - "overridden": true
}, - {
- "name": "other component name",
- "componentValues": [
- {
- "value": "my overwritten component value",
- "originalValue": "the original value",
- "componentRuleId": "COM.0.0",
- "valueDescription": "My value description",
- "entityReferences": [
- {
- "id": "bcd22239-cedf-442f-a5a1-1664cba94dc6",
- "entityRuleId": "ABC.0.0",
- "type": "entity_type",
- "page": 123
}, - {
- "id": "bcd22239-c3df-442f-a5a1-1664cba94dc6_2",
- "entityRuleId": "ABC.0.0",
- "type": "entity_type",
- "page": 124
}, - {
- "id": "b748b89a-5679-4254-9286-1dd652d9970b",
- "entityRuleId": "DEF.13.37",
- "type": "another_entity_type",
- "page": 456
}
]
}
], - "overridden": true
}
]
}
Reverts all overrides for the specified components associated with a specific file.
Use this route to revert all overrides specified by the component names.
dossierTemplateId required | string The identifier of a dossier template |
dossierId required | string The identifier of a dossier |
fileId required | string The identifier of a file |
components | Array of strings unique |
{- "components": [
- "component1",
- "component2",
- "component3"
]
}
{- "timestamp": "2023-09-21T12:45:00Z",
- "message": "An error occurred while processing the request."
}
Use this endpoint to retrieve the list of downloads for the current user.
The response contains the status of each download.
A download may be queued, generating, finished or failed. When it is finished, the download package may be obtained using the download endpoint
{- "downloadStatus": [
- {
- "id": "b5e2cf01-8bb6-4fcd-ad88-0efb611195da",
- "userId": "caa8b54a-eb5e-4134-8ae2-a3946a428ec7",
- "filename": "my-dossier.zip",
- "mimeType": "application/octet-stream",
- "errorCause": "",
- "status": "READY",
- "creationDate": "2023-03-29T11:41:08.886Z",
- "lastDownload": "2023-03-29T13:11:05.123Z",
- "fileSize": 1654231,
- "dossierId": "20354d7a-e4fe-47af-8ff6-187bca92f3f9",
- "fileIds": [
- "51d3f70ac322c98dc4db70a2ac44115a",
- "1fdbd888b39059c8cf171df26f62f8a5"
], - "downloadFileTypes": [
- "ORIGINAL"
], - "reportTemplateIds": [
- "b79cb3ba-745e-5d9a-8903-4a02327a7e09",
- "fb3463a0-7d6e-54a3-bcd8-1b93388c648d"
]
}
]
}
Use this endpoint to retrieve the status for a specific download. In addition to other information, the status indicates whether the download is still being prepared, is already available, or whether an error occurred when the download package was created.
downloadId required | string The identifier for the file to download. |
{- "id": "b5e2cf01-8bb6-4fcd-ad88-0efb611195da",
- "userId": "caa8b54a-eb5e-4134-8ae2-a3946a428ec7",
- "filename": "my-dossier.zip",
- "mimeType": "application/octet-stream",
- "errorCause": "",
- "status": "READY",
- "creationDate": "2023-03-29T11:41:08.886Z",
- "lastDownload": "2023-03-29T13:11:05.123Z",
- "fileSize": 1654231,
- "dossierId": "20354d7a-e4fe-47af-8ff6-187bca92f3f9",
- "fileIds": [
- "51d3f70ac322c98dc4db70a2ac44115a",
- "1fdbd888b39059c8cf171df26f62f8a5"
], - "downloadFileTypes": [
- "ORIGINAL"
], - "reportTemplateIds": [
- "b79cb3ba-745e-5d9a-8903-4a02327a7e09",
- "fb3463a0-7d6e-54a3-bcd8-1b93388c648d"
]
}
Use this endpoint to remove a download.
downloadId required | string The identifier for the file to download. |
{- "timestamp": "2023-09-21T12:45:00Z",
- "message": "An error occurred while processing the request."
}
Use this endpoint to actually download the created download package. The request will
only be successful if the status of the download is READY
.
downloadId required | string The identifier for the file to download. |
{- "timestamp": "2023-09-21T12:45:00Z",
- "message": "An error occurred while processing the request."
}
Use this endpoint to retrieve a list of known users.
With the username
parameter you can filter for a specific user name. If the parameter is
used, the returned list either contains a single matching entry or is empty.
username | string If the |
{- "downloadStatus": [
- {
- "id": "efe7eedd-89c5-56f5-984c-0712ee41a2eb",
- "username": "myusername",
- "firstName": "John",
- "lastName": "Doe",
- "roles": [
- "MANAGER",
- "ADMIN"
], - "active": true
}
]
}
Use this endpoint to retrieve a specific user.
userId required | string <uuid> The identifier of a user |
{- "id": "efe7eedd-89c5-56f5-984c-0712ee41a2eb",
- "username": "myusername",
- "firstName": "John",
- "lastName": "Doe",
- "roles": [
- "MANAGER",
- "ADMIN"
], - "active": true
}
This endpoint enables users to create and fetch a report detailing the active usage of licenses. The report contains valuable insights and metrics that can aid in monitoring and managing license consumption. Ensure your request body contains the necessary parameters for generating this report.
startDate | string <date-time> The start date for the requested report. |
endDate | string <date-time> The end date for the requested report. |
{- "startDate": "2000-01-01T00:00:00.000+00:00",
- "endDate": "2001-01-01T00:00:00.000+00:00"
}
{- "startDate": "2000-01-01T00:00:00.000+00:00",
- "endDate": "2001-01-01T00:00:00.000+00:00",
- "numberOfAnalyzedFiles": 5,
- "numberOfAnalyzedPages": 9,
- "analyzedFilesBytes": 30000,
- "totalFilesUploadedBytes": 30000,
- "activeFilesUploadedBytes": 20000,
- "archivedFilesUploadedBytes": 5000,
- "trashFilesUploadedBytes": 5000,
- "numberOfOcrFiles": 2,
- "numberOfOcrPages": 2,
- "numberOfDossiers": 1,
- "monthlyData": [
- {
- "startDate": "2000-01-01T00:00:00.000+00:00",
- "endDate": "2000-02-01T00:00:00.000+00:00",
- "numberOfAnalyzedPages": 7,
- "analyzedFilesBytes": 25000,
- "totalFilesUploadedBytes": 25000,
- "activeFilesUploadedBytes": 22000,
- "archivedFilesUploadedBytes": 0,
- "trashFilesUploadedBytes": 3000,
- "numberOfOcrPages": 1
}, - {
- "startDate": "2000-02-01T00:00:00.000+00:00",
- "endDate": "2000-03-01T00:00:00.000+00:00",
- "numberOfAnalyzedPages": 2,
- "analyzedFilesBytes": 5000,
- "totalFilesUploadedBytes": 30000,
- "activeFilesUploadedBytes": 20000,
- "archivedFilesUploadedBytes": 5000,
- "trashFilesUploadedBytes": 5000,
- "numberOfOcrPages": 1
}
]
}
Create new component definitions for a given dossier template. The component will have a technical name which is automatically converted to snake case that can't be updated after the creation. The rank is used to determine the order in which the components are displayed. The component's rank will automatically be appended at the end based on the current number of components of this dossier template.
dossierTemplateId required | string The identifier of a dossier template |
technicalName required | string The technical name of the component. |
displayName required | string The display name of the component. |
description | string A brief description of the component. |
[- {
- "technicalName": "study_conclusion",
- "displayName": "Study conclusion",
- "description": "The conclusion of the study"
}
]
[- {
- "id": "300b9406-59c0-4473-9c8a-1f5f0b4a88c3",
- "dossierTemplateId": "8cd4b482-fb49-4315-9b51-789b4ae46c57",
- "technicalName": "study_conclusion",
- "displayName": "Study Conclusion",
- "description": "The drawn conclusion from the performed study",
- "rank": 1,
- "softDeleteTime": null
}
]
Get all the component definitions in a given dossier template. includeSoftDeleted
is false by default and will not return soft deleted components. If set to true,
this endpoint will also return components that have been soft deleted.
dossierTemplateId required | string The identifier of a dossier template |
includeSoftDeleted required | boolean Default: false A toggle to include or exclude soft-deleted components: If |
[- {
- "id": "300b9406-59c0-4473-9c8a-1f5f0b4a88c3",
- "dossierTemplateId": "8cd4b482-fb49-4315-9b51-789b4ae46c57",
- "technicalName": "study_conclusion",
- "displayName": "Study Conclusion",
- "description": "The drawn conclusion from the performed study",
- "rank": 1,
- "softDeleteTime": null
}
]
Update specific existing component definitions. The rank and technical name cannot be updated via this endpoint. The technical name cannot be updated at all after creation. To update the rank, use the reorder endpoint.
dossierTemplateId required | string The identifier of a dossier template |
id required | string <uuid> The unique identifier for the component to be updated. |
displayName required | string The new display name of the component. |
description required | string The new description of the component. |
[- {
- "id": "aa7107f7-cc5b-490f-b91c-35c9d86749f7",
- "displayName": "Study conclusion",
- "description": "The conclusion of the study"
}
]
[- {
- "id": "300b9406-59c0-4473-9c8a-1f5f0b4a88c3",
- "dossierTemplateId": "8cd4b482-fb49-4315-9b51-789b4ae46c57",
- "technicalName": "study_conclusion",
- "displayName": "Study Conclusion",
- "description": "The drawn conclusion from the performed study",
- "rank": 1,
- "softDeleteTime": null
}
]
Soft delete existing component definitions by their IDs. Soft deletion is done by setting the softDeletedTime
value to the current time of the request. If a component
does not have softDeletedTime
set, it means the component is not soft deleted.
dossierTemplateId required | string The identifier of a dossier template |
componentIds required | Array of strings The IDs of the component definitions to soft delete |
{- "timestamp": "2023-09-21T12:45:00Z",
- "message": "An error occurred while processing the request."
}
Reorder the component definitions based on the provided list. Their ranks will be updated based on the order provided in the request, starting from rank 1.
dossierTemplateId required | string The identifier of a dossier template |
componentIds required | Array of strings The IDs of the component definitions in the order in which they will be reordered. |
[- {
- "id": "300b9406-59c0-4473-9c8a-1f5f0b4a88c3",
- "dossierTemplateId": "8cd4b482-fb49-4315-9b51-789b4ae46c57",
- "technicalName": "study_conclusion",
- "displayName": "Study Conclusion",
- "description": "The drawn conclusion from the performed study",
- "rank": 1,
- "softDeleteTime": null
}
]
Get details about a specific component based on its ID for a given dossier template.
dossierTemplateId required | string The identifier of a dossier template |
componentId required | string The identifier of a component definition. |
[- {
- "id": "300b9406-59c0-4473-9c8a-1f5f0b4a88c3",
- "dossierTemplateId": "8cd4b482-fb49-4315-9b51-789b4ae46c57",
- "technicalName": "study_conclusion",
- "displayName": "Study Conclusion",
- "description": "The drawn conclusion from the performed study",
- "rank": 1,
- "softDeleteTime": null
}
]
Restore a previously soft-deleted component. The restored component will be placed at the end of the rank order. For example, if there are 5 components ranked 1, 2, 3, 4, and 5, and the third component is soft-deleted, the ranks will be updated to 1, 2, 4, and 5. If the soft-deleted component is then restored, it will be appended to the end, resulting in ranks 1, 2, 4, 5, and 6.
dossierTemplateId required | string The identifier of a dossier template |
componentIds required | Array of strings The IDs of the component definitions to restore. |
[- {
- "id": "300b9406-59c0-4473-9c8a-1f5f0b4a88c3",
- "dossierTemplateId": "8cd4b482-fb49-4315-9b51-789b4ae46c57",
- "technicalName": "study_conclusion",
- "displayName": "Study Conclusion",
- "description": "The drawn conclusion from the performed study",
- "rank": 1,
- "softDeleteTime": null
}
]