/documents/{docPath}/taxonomyTerms - Set taxonomy terms

Sets the taxonomy terms for the current document.

Note:

This method is new in 6.6

End-point

POST /documents/{docPath}/taxonomyTerms

Path parameters

Field Description

docPath

Full path of the document in the repository

Note: Collection separators "/" must be encoded as "%7C".

Request body

Field Type Description

data

String[...]

List of terms to apply to the document

Important:

Each value is the combination of the ID of the taxonomy and the ID of the term, separated by a semi-colon, such as "tax1637896017354:tnd1637896017368".

The list must contain all the taxonomy terms for the document, not just the ones to add. It must also contain the values for all the ancestors of the all selected terms.

Possible response

HTTP status Description

200

The operation completed successfully

401

There is no session or the session is invalid

Response body

Field Type Description

result

TaxonomyTermsResult[…]

List of the terms applied to the document