POST /api/dms/objects/{objectId}/actions/move/contents/repositories/{repositoryId}
As of Version | product version 2019 Winter | component version 2019 Winter |
---|---|
Request Method | POST |
Response Format | JSON |
Required Permission | action write >> Roles and Role Sets |
Description | To move the content of a DMS object, send the request with the target repository as repositoryId and the ID of the DMS object as objectId. |
Request Example | POST api/dms/objects/00250915-fb6e-4165-bc05-93a02590f5de/actions/move/contents/repositories/repo252 |
Result Example | The result is a JSON structure containing the the updated metadata of the object identified by objectId. { "objects": [{ "properties": { "system:traceId": { "value": "6ff928e56f8f8efe" }, "system:objectTypeId": { "value": "document" }, "system:versionNumber": { "value": 1 }, "Name": { "value": "Beat 2014-06.pdf_075.pdf" }, "system:createdBy": { "value": "275c826c-6a61-4e89-9512-8d935a1631e5" }, "system:creationDate": { "value": "2018-11-30T14:47:40.250Z" }, "system:lastModificationDate": { "value": "2018-11-30T14:47:40.250Z" }, "system:baseTypeId": { "value": "system:document" }, "system:tenant": { "value": "default" }, "system:lastModifiedBy": { "value": "275c826c-6a61-4e89-9512-8d935a1631e5" }, "system:objectId": { "value": "00250915-fb6e-4165-bc05-93a02590f5de" } }, "contentStreams": [{ "contentStreamId": "DB886B37-FEEF-11E9-BCEC-3FAD551A2B8A", "archivePath": "default/DOCUMENT/B8/86/B/", "length": 86171, "mimeType": "application/pdf", "fileName": "Beat 2014-06.pdf_075.pdf", "digest": "2714F996A45F41439F625160167B4DE5BDE604F560FCABF8C242567CDFDC733A", "repositoryId": "repo252" }] }] } |