Class: MoveDocumentRequest

tibco.objectapi.service.request.MoveDocumentRequest

new MoveDocumentRequest(docRef, oldCaseRef, newCaseRef)

Object MoveDocumentRequest Usage: RestApiService.getDocumentService().moveDocument(request, callback);
Parameters:
Name Type Description
docRef string The reference of the document to move. Can be obtained using getFolderContent.
oldCaseRef string The source case reference. Can be obtained using getCaseReferencesForDataView.
newCaseRef string The target case reference. Can be obtained using getCaseReferencesForDataView.

Note that 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 function that passes the MoveDocumentRequestType element.

Since:
  • 4.0.0