REST API - moveDocument - with Path Parameters
The table summarizes the REST API - moveDocument - with path parameters.
Request - with Path Parameters
Format | PUT <baseurl>/document/movecase/<docref>/<sourceCaseref>/<targetCaseref> |
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 MoveDocumentResponse element. |
XML | Returns the content of the MoveDocumentResponse element (from the DocumentService schema). |
Example - with Path Parameters
Request | PUT <baseurl>/document/movecase/DocumentID-bce953fd-98a2-49f9-8074-9b4c13182145%3B1.0/BDS-1-com.example.ordermodel.Order-1-0 |
Response | DocumentID-e50c2653-0fd7-4fef-ad6f-2ee460ba52cf;1.0 |