Get the Document Content
/capture/api/v1.1/documents/{docId}/content
This operation will return the raw content of the document specified by the docId parameter.
The Content-Type of the response is dependent on the mediaType
of the document. Typically, the document will be some type of image
such as TIFF, JPG, PNG, etc. However, it could also be a Microsoft Office document or PDF file.
Note: If the OAuth token represents an account that is a Capture Administator, the response will return the given document content, provided it exists. If the OAuth token does not represent an account that is a Capture Administator, meaning it is just a Capture User, the response will only return the document if it exists and the document is currently in a step in which the account as been granted explict access.
Request
- application/json
-
docId: string
The unique identifier of the document in Capture.
Response
- */*
200 Response
The document's raw content specified by the docId parameter.
The Content-Type of the response is dependent on the mediaType
of the document. Typically, the document will be some type of image,
such as TIFF, JPG, PNG, etc. However, it could also be a Microsoft Office document or PDF file.
404 Response
Not Found
The request includes a resource URI that does not exist. The response will be an Error Detail object.
500 Response
Internal Server Error
The server encountered an unexpected condition that prevented it from fulfilling the request. The response will be an Error Detail object.