REST API - linkDocument - with Path Parameters

The table summarizes the REST API - linkDocument - with path parameters.

Request - with Path Parameters

Format PUT <baseurl>/document/linkcase/<docref>/<caseref>
Path parameters

(Some CMIS servers use characters in document and case references that must be URL encoded. If you are using such a CMIS server, URL encode the document or case reference, or use the alternative method with a request body.)

Response - with Path Parameters

JSON Returns a JSON representation of the content of the LinkDocumentResponse element.
XML Returns the content of the LinkDocumentResponse element (from the DocumentService schema).

Example - with Path Parameters

Request
PUT <baseurl>/document/linkcase/DocumentID-bce953fd-98a2-49f9-8074-9b4c13182145%3B1.0/BDS-1-com.example.ordermodel.Order-1-0
Response
{ "xml-fragment": null }