GET /api-web/api/dms/objects/{id}/contents/file

As of Version

product version 2020 Autumn | component version 

Request MethodGET
Response FormatJSON
Description

Retrieves the binary content file assigned to the object specified by its object ID id.

The response body contains the metadata of the corresponding object.

Response HTTP status codes:

HTTP Status CodeMeaning
200 OK
401 Unauthorized
404 Unable to find DMS object.
Request Example

https://<host>/api-web/api/dms/objects/234df-aca4-fe423/contents/file

Response Example

200 OK

{
  "objects": [
    {
      "properties": {
        "system:objectId": {
          "value": "4711-44321-666777888"
        },
        "subject": {
          "value": "Sie sind der Doc, Doc."
        }
      }
    }
  ],
  "numItems": 0,
  "hasMoreItems": true,
  "totalNumItems": 0
}