PUT 1.0/{InstanceId}/Documents/{DocumentId}

Updates properties of the specified document

Request Information

URI Parameters

API Parameter Details
NameDescriptionTypeAdditional information
InstanceId

The instance ID relating to a specific ADM database

string

Required

DocumentId

The ID of the document whose properties are being updated

integer

Required

Body Parameters

Contains details of the document to be updated

FileDocumentRequest
API Parameter Details
NameDescriptionTypeAdditional information
Attributes

A simplified list of attributes for creating a new document

DocumentAttributes

None.

FilingProperties

Contains Doc Type and Tag Values to be stored with the corresponding document

MetaDataProperties

None.

Request Formats

application/json, text/json

Sample:
{
  "Attributes": {
    "Title": "sample string 1",
    "DestinationFolderId": 1
  },
  "FilingProperties": {
    "DocTypeId": 1,
    "TagValues": [
      {
        "TagId": 1,
        "TagValue": {}
      },
      {
        "TagId": 1,
        "TagValue": {}
      }
    ]
  }
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'FileDocumentRequest'.

Response Information

Resource Description

Appropriate HTTP headers with no content are returned only