/
[GET] /{versionNumber}

[GET] /{versionNumber}

/api/dms/objects/{objectId}/versions/{versionNumber}

Description

To retrieve the mask field values for a specific index data change version of a DMS object, send the request with the objectId and the version number (system:versionNumber) of the DMS object.
The mask field values of a DMS Object version can only be returned, if in enaio editor for a object type the following property is activated:

  • Create index data history

The result contains next to the mask field values only the system fields known from the versioning endpoint. No additional system fields can be requested.

Request
Method

GET

Request optional Query Parameter

  • objectTypeId (String): The objectTypeId for the object to be queried. This speeds up the query.

Response
Format

JSON

Minimum Version

6.1.0

Request
Example

/api/dms/objects/109491/versions/39FEC10D06844B73BB0BCF63F845CD6B
/api/dms/objects/109491/versions/39FEC10D06844B73BB0BCF63F845CD6B?objectTypeId=262144
/api/dms/objects/109491/versions/CURRENT

Result
Example

{ "objects": [{ "properties": { "system:objectId": { "value": "109491" }, "system:lastModifiedBy": { "value": "RENE10" }, "system:baseTypeId": { "value": "DOCUMENT" }, "system:versionNumber": { "value": "39FEC10D06844B73BB0BCF63F845CD6B" }, "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 }

 

Related content