Set document's attributes
PUT/documents/:documentId/attributes
Set multiple attributes to a document; this endpoint also accepts a different body parameter for setting a single attribute
Note:
- attributes in the request will overwrite existing attributes.
Request
Path Parameters
Document Identifier
Query Parameters
Site Identifier
- application/json
Body
required
Array [
- AddDocumentAttributeStandard
- AddDocumentAttributeClassification
- AddDocumentAttributeRelationship
]
attributes
object[]
List of document attributes
oneOf
Document Attribute
Attribute key
Attribute with string value
Attribute with string values
Attribute with number value
Attribute with number values
Attribute with boolean value
Document Classification
Classification Identifier
Document Relationship
Relationship To Document Identifier
Document Relationship Type
Possible values: [PRIMARY
, ATTACHMENT
, APPENDIX
, SUPPLEMENT
, ASSOCIATED
, RENDITION
]
Document Relationship Type
Possible values: [PRIMARY
, ATTACHMENT
, APPENDIX
, SUPPLEMENT
, ASSOCIATED
, RENDITION
]
Responses
- 200
200 OK
Response Headers
Access-Control-Allow-Origin
string
Access-Control-Allow-Methods
string
Access-Control-Allow-Headers
string
- application/json
- Schema
- Example (from schema)
Schema
Result message
{
"message": "string"
}