[POST] /actions/restore
/api/dms/objects/{objectId}/versions/{versionNumber}/actions/restore
Description | To restore a content version or an index data version of a DMS object. The current version is then archived and a copy of the version to restore is activated as the current version. The CURRENT version can't be restored. In normal this endpoint returns finally the complete DMS object with all its index data and the content information (not the content itself). If this answer is not used the query parameter |
|---|---|
Request | POST |
Request optional Query Parameter |
|
Response | JSON |
Minimum Version | 6.2.0 |
Request |
|
Result | {
"objects": [{
"properties": {
"system:objectId": {
"value": "109491"
},
"system:lastModifiedBy": {
"value": "RENE10"
},
"system:baseTypeId": {
"value": "DOCUMENT"
},
"system:objectTypeId": {
"value": "262238"
},
"system:createdBy": {
"value": "RENE10"
},
"system:creationDate": {
"value": "2020-12-08T18:33:14+01:00"
},
"system:lastModificationDate": {
"value": "2020-12-08T18:33:14+01:00"
},
"firstname": {
"value": "Test"
},
"feld30": {
"value": "My Value"
},
"feld31": {
"value": "My Value 31"
},
"LastUpdate": {
"value": "2023-10-23"
},
"familyname": {
"value": "Versioning"
}
}
}],
"numItems": 1,
"hasMoreItems": false,
"totalNumItems": 1
} |