Downloads a document preview.
Name | Description | Default |
---|---|---|
id
|
Document number (unique ID). |
Content Type:
application/octet-stream
Preview content or an error message.
Code | Condition |
---|---|
200 OK | The operation completed successfully. |
400 Bad Request | Invalid document number. |
401 Unauthorized | Access token is invalid, expired or not specified. |
403 Forbidden | User does not have permission to preview the document. |
404 Not Found | Document not found. |
406 Not Acceptable | Content type specified in the Accept header isn't supported. |
500 Internal Server Error | An internal error occurred. |
501 Not Implemented | The document does not support previewing. |
text/html
) may be included in the response headers.