Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

As of Version

product version 2020 Autumn | component version 

Request MethodPOST
Response FormatJSON
Description

Updates the binary content file assigned to the object specified by its object ID id with the file passed in the request body.

The response body contains the metadata of the corresponding object.

Response HTTP status codes:

HTTP Status CodeMeaning
200 OK
304 Not Modified
401 Unauthorized
422 Unprocessable entity
Request Example

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

any content file in the request body

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
}
  • No labels