GET api/Documents/{id}

Retrieves information (metadata) for a document.

Request

Parameters

Name Description Default
id Document number (unique ID).

Response

Body

Content Type: application/xml
Schema: http://download.overtech.com.au/schemas/XmlDocument.xsd
Document metadata or an error message.

Status Codes

Code Condition
200 OK The operation completed successfully.
400 Bad RequestInvalid document ID.
401 Unauthorized Access token is invalid, expired or not specified.
403 ForbiddenUser does not have permission to view metadata for the document.
404 Not FoundDocument 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 ImplementedServer does not have the required plug-in.