Get Document
Retrieve the document for the specified document guid within a given request.
GET /connectr/api/units/{unit}/requests/{requestguid}/documents/{documentguid}
Example Request URL:
Template parameter | Value | Description |
---|---|---|
unit (Mandatory) | String | Unit code as used in Data Manager. This is currently defined in the Publish Store settings. |
requestguid (Mandatory) | String | Request guid as seen in the output of the request creation. |
documentguid (Mandatory) | String | Document guid as seen in the output of the document list call or in the primaryDocumentGuid field of the process info output. |
Response status code | Content type | Description |
---|---|---|
200 OK | Retrieval of the document was successful. | |
404 Not found | text/plain | The unit, request or document could not be found. |
409 Conflict | text/plain | The process associated with the request is in a state which forbids retrieving the document (e.g. a user is editing it). |
No example is given here because the resulting document is simply returned as a stream of bytes.