Download OpenAPI specification:Download
Upload new document version
| id required | string Document id from archive service |
| file required | string <binary> Attached file |
object (DocumentData) |
{- "id": "string",
- "version_number": "string",
- "dataUpdated": true,
- "nameUpdated": true,
- "externalid": "string",
- "archiveName": "string"
}Upload new document version in Base64
| id required | string Document id from archive service |
Document data parameters
| documentFilename | string Example: "SWRENT-FAILURE-1.pdf" |
| fileName | string |
| objectName | string Example: "SWRENT-FAILURE-1.pdf" |
| contentType | string Example: "application/pdf" |
| fileContent | string |
| documentType | string Example: "DMSSDoc" |
| documentPath | string |
| siteId | string |
| documentData | string Example: "{}" |
{- "documentFilename": "SWRENT-FAILURE-1.pdf",
- "fileName": "string",
- "objectName": "SWRENT-FAILURE-1.pdf",
- "contentType": "application/pdf",
- "fileContent": "string",
- "documentType": "DMSSDoc",
- "documentPath": "string",
- "siteId": "string",
- "documentData": "{}"
}{- "id": "string",
- "version_number": "string",
- "dataUpdated": true,
- "nameUpdated": true,
- "externalid": "string",
- "archiveName": "string"
}Update document metadata
| id required | string Document id from archive service |
Document metadata parameters
| create_date | string <date-time> |
| description | string |
| external_create_date | string <date-time> |
| external_identity | string |
| external_identity_type | string |
| file_name | string |
| file_size | string |
| file_type | string |
| id | string |
| mime_type | string |
| version_id | integer <int32> |
| version_number | string |
| objectName | string |
| name | string |
{- "create_date": "2019-08-24T14:15:22Z",
- "description": "string",
- "external_create_date": "2019-08-24T14:15:22Z",
- "external_identity": "string",
- "external_identity_type": "string",
- "file_name": "string",
- "file_size": "string",
- "file_type": "string",
- "id": "string",
- "mime_type": "string",
- "version_id": 0,
- "version_number": "string",
- "objectName": "string",
- "name": "string"
}{- "dataUpdated": true,
- "nameUpdated": true
}Downloads simple file using document ID and document version
| id required | string Document id from archive service |
| version | string Document version |
{- "uuid": "request uuid",
- "message": "some error message"
}Downloads file in Base64 format using document ID and document version
| id required | string Document id from archive service |
| version | string Document version |
{- "fileName": "string",
- "content": "string",
- "contentType": "string"
}| documentType | string |
| limit | integer <int32> |
object | |
object | |
| returnAttributes | Array of strings |
{- "documentType": "string",
- "limit": 0,
- "metaData": {
- "property1": "string",
- "property2": "string"
}, - "searchData": {
- "property1": "string",
- "property2": "string"
}, - "returnAttributes": [
- "string"
]
}Create a new document
| documentType | string |
| limit | integer <int32> |
object | |
object | |
| returnAttributes | Array of strings |
{- "documentType": "string",
- "limit": 0,
- "metaData": {
- "property1": "string",
- "property2": "string"
}, - "searchData": {
- "property1": "string",
- "property2": "string"
}, - "returnAttributes": [
- "string"
]
}Get authentication info
| archiveName required | string Document from archive name |
User authentication request
| username | string |
| password | string |
{- "username": "string",
- "password": "string"
}Create new or replace document
Document data parameters
| documentFilename | string Example: "SWRENT-FAILURE-1.pdf" |
| fileName | string |
| objectName | string Example: "SWRENT-FAILURE-1.pdf" |
| contentType | string Example: "application/pdf" |
| fileContent | string |
| documentType | string Example: "DMSSDoc" |
| documentPath | string |
| siteId | string |
| documentData | string Example: "{}" |
{- "id": "string",
- "version_number": "string",
- "dataUpdated": true,
- "nameUpdated": true,
- "externalid": "string",
- "archiveName": "string"
}Create a new document
required | object (DocumentData) |
| file required | string <binary> Attached file |
{- "id": "generated document uuid",
- "externalid": "generated document external uuid",
- "archiveName": "'OTCS_AWS' or 'FS-MAIN'"
}Create a new document
Document data
| documentFilename | string Example: "SWRENT-FAILURE-1.pdf" |
| fileName | string |
| objectName | string Example: "SWRENT-FAILURE-1.pdf" |
| contentType | string Example: "application/pdf" |
| fileContent | string |
| documentType | string Example: "DMSSDoc" |
| documentPath | string |
| siteId | string |
| documentData | string Example: "{}" |
{- "documentFilename": "SWRENT-FAILURE-1.pdf",
- "fileName": "string",
- "objectName": "SWRENT-FAILURE-1.pdf",
- "contentType": "application/pdf",
- "fileContent": "string",
- "documentType": "DMSSDoc",
- "documentPath": "string",
- "siteId": "string",
- "documentData": "{}"
}{- "id": "generated document uuid",
- "externalid": "generated document external uuid",
- "archiveName": "'OTCS_AWS' or 'FS-MAIN'"
}Create a new document
Document data
| documentFilename | string Example: "SWRENT-FAILURE-1.pdf" |
| fileName | string |
| objectName | string Example: "SWRENT-FAILURE-1.pdf" |
| contentType | string Example: "application/pdf" |
| fileContent | string |
| documentType | string Example: "DMSSDoc" |
| documentPath | string |
| siteId | string |
| documentData | string Example: "{}" |
{- "documentFilename": "SWRENT-FAILURE-1.pdf",
- "fileName": "string",
- "objectName": "SWRENT-FAILURE-1.pdf",
- "contentType": "application/pdf",
- "fileContent": "string",
- "documentType": "DMSSDoc",
- "documentPath": "string",
- "siteId": "string",
- "documentData": "{}"
}{- "id": "generated document uuid",
- "externalid": "generated document external uuid",
- "archiveName": "'OTCS_AWS' or 'FS-MAIN'"
}Get document info from
| documentId required | string Document id from archive service |
{- "id": "string",
- "fileName": "string",
- "fileSize": "string",
- "fileType": "string",
- "mimeType": "string",
- "description": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "versionNumber": "string",
- "versionId": 0,
- "documentType": "string",
- "metaData": {
- "property1": { },
- "property2": { }
}, - "owner": "string"
}Get document info from
| documentId required | string Document id from archive service |
{- "id": "string",
- "fileName": "string",
- "fileSize": "string",
- "fileType": "string",
- "mimeType": "string",
- "description": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "versionNumber": "string",
- "versionId": 0,
- "documentType": "string",
- "metaData": {
- "property1": { },
- "property2": { }
}, - "owner": "string"
}| documentId required | string Document id from archive service |
{- "create_date": "2019-08-24T14:15:22Z",
- "description": "string",
- "external_create_date": "2019-08-24T14:15:22Z",
- "external_identity": "string",
- "external_identity_type": "string",
- "file_name": "string",
- "file_size": "string",
- "file_type": "string",
- "id": "string",
- "mime_type": "string",
- "version_id": 0,
- "version_number": "string",
- "objectName": "string",
- "name": "string"
}