REST API - getDocumentMetadata - POST

The table summarizes the REST API - getDocumentMetadata - POST.

Request - POST

Format POST <baseurl>/document/metadata
Body The document reference is embedded in the request body.

Response - POST

JSON Returns a JSON representation of the content of the GetDocumentMetadataResponse element.
XML Returns the content of the GetDocumentMetadataResponse element (from the DocumentService schema).

Example - POST

Request
POST <baseurl>/document/metadata
Body
{
  "GetDocumentContentRequest": { "reference": "DocumentID-e50c2653-0fd7-4fef-ad6f-2ee460ba52cf;1.0" }
}
Response
{
  "xml-fragment": {
    "specifier": { "id": "e50c2653-0fd7-4fef-ad6f-2ee460ba52cf;1.0" },
    "name": "Proposal.docx",
    "version": "1.0",
    "mimeType": "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
    "createdDateTime": "2014-10-03T12:12:54.809",
    "createdBy": "admin",
    "lastModifiedDateTime": "2014-10-03T13:36:48.145",
    "lastModifiedBy": "admin",
    "byteSize": "24008"
  }
}