GET /Documents/{DocumentID}?[context=value]&[content=1] |
Scroll |
This method is called from the Thereforeā¢ Content Connector when downloading a document.
It returns a list of signed and rejected documents.
From URL:
Parameter Name |
Description |
DocumentID |
The ID of the document from the eSignature provider. Returned by POST /Documents. |
Query parameters:
Parameter Name |
Description |
context |
The context set in the Signature Monitoring configuration. Used to determine if the document should be downloaded or not. |
content |
The content option returned by <Root> |
Sample body:
{
"canProcess" = true,
"status" = "custom status",
"customJson" = "",
"filesToSave" = [{
"name" = "filename.pdf"
"base64" = "<base64 encoded file content>"
}]
}
Parameter Name |
Type |
Description |
canProcess |
Boolean |
Whether the document can be processed by the Content Connector or not. Set only to true if the context matches. |
status |
String |
An arbitrary status that can later be used in the indexing profile. Can be empty. |
customJson |
String |
Any kind of JSON formatted data. Can be used in the indexing profile. Can be empty. |
filesToSave |
List of Objects |
The files to be saved by the Content Connector. Set to empty if canProcess is false. |
name |
String |
The name of the file to be saved. |
base64 |
String |
The base64 encoded content of the file to be saved. |