Documents
Operations for Documents
List all createDocuments proposals. These are proposed changes to create new Document records that may be automatically approved or require manual approval depending on system configuration.
Maximum number of items to return (1-1000)
10
Cursor for pagination. Use the value from the 'nextCursor' field of the previous response.
Successful response
Bad request
Unauthorized
Internal server error
GET /createDocuments HTTP/1.1
Host:
X-API-Key: YOUR_API_KEY
Accept: */*
{
"data": [
{
"contentType": "text",
"fileID": "text",
"fileSize": 1,
"filename": "text",
"isProposalExecutionFailed": true,
"isProposalResolved": false,
"proposalExecutionErrorText": "text",
"repositoryID": "123e4567-e89b-12d3-a456-426614174000",
"requestID": "123e4567-e89b-12d3-a456-426614174000",
"subjectID": "123e4567-e89b-12d3-a456-426614174000"
}
],
"pagination": {
"hasMore": true,
"limit": 1,
"nextCursor": "text",
"total": 1
}
}
Get details of a specific Document creation proposal by ID
CreateDocumentProposal ID
Successful response
Unauthorized
Not found
Internal server error
GET /createDocuments/{id} HTTP/1.1
Host:
X-API-Key: YOUR_API_KEY
Accept: */*
{
"contentType": "text",
"fileID": "text",
"fileSize": 1,
"filename": "text",
"isProposalExecutionFailed": true,
"isProposalResolved": false,
"proposalExecutionErrorText": "text",
"repositoryID": "123e4567-e89b-12d3-a456-426614174000",
"requestID": "123e4567-e89b-12d3-a456-426614174000",
"subjectID": "123e4567-e89b-12d3-a456-426614174000"
}
List all deleteDocuments proposals. These are proposed changes to delete Document records that may be automatically approved or require manual approval depending on system configuration.
Maximum number of items to return (1-1000)
10
Cursor for pagination. Use the value from the 'nextCursor' field of the previous response.
Successful response
Bad request
Unauthorized
Internal server error
GET /deleteDocuments HTTP/1.1
Host:
X-API-Key: YOUR_API_KEY
Accept: */*
{
"data": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"isProposalExecutionFailed": true,
"isProposalResolved": false,
"proposalExecutionErrorText": "text",
"repositoryID": "123e4567-e89b-12d3-a456-426614174000",
"requestID": "123e4567-e89b-12d3-a456-426614174000"
}
],
"pagination": {
"hasMore": true,
"limit": 1,
"nextCursor": "text",
"total": 1
}
}
Get details of a specific Document deletion proposal by ID
DeleteDocumentProposal ID
Successful response
Unauthorized
Not found
Internal server error
GET /deleteDocuments/{id} HTTP/1.1
Host:
X-API-Key: YOUR_API_KEY
Accept: */*
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"isProposalExecutionFailed": true,
"isProposalResolved": false,
"proposalExecutionErrorText": "text",
"repositoryID": "123e4567-e89b-12d3-a456-426614174000",
"requestID": "123e4567-e89b-12d3-a456-426614174000"
}
Was this helpful?