GET /api-web/api/dms/objects/{id}/versions/{Nr}/actions/restore

As of Version

product version 2022 Spring | component version 

Request MethodGET
Response FormatJSON
Description

Restores the older version version of the DMS object specified by its object ID id.

Response HTTP status codes:

HTTP Status CodeMeaning
200 OK
401 Unauthorized
404 Unable to find DMS object.
Request Example
https://<host>/api-web/api/dms/objects/78c6f7ab-5ca6-452e-b14e-28597a3df464/versions/2/actions/restore
Response Example

200 OK

{
  "objects": [
    {
      "properties": {
        "system:objectId": {
          "value": "78c6f7ab-5ca6-452e-b14e-28597a3df464"
        },
        "system:baseTypeId": {
          "value": "system:document"
        },
        "system:objectTypeId": {
          "value": "appPersonalfile:pfdocumentdlm"
        },
        "system:secondaryObjectTypeIds": {
          "value": [
            "appClientsystem:leadingType",
            "appClient:clientdefaults",
            "appPersonalfile:pfapplicationsot"
          ]
        },
        "system:createdBy": {
          "title": "Mustermann, Max (mustermann)",
          "value": "c13c0dc6-c006-4eb7-b172-00ca49352549"
        },
        "system:creationDate": {
          "value": "2021-12-27T07:44:07.960Z"
        },
        "system:lastModifiedBy": {
          "title": "Schuetzel, Heinrich (schuetzel)",
          "value": "7a9d30cd-0194-4cda-97fd-5156d214e764"
        },
        "system:lastModificationDate": {
          "value": "2022-02-07T12:39:48.000Z"
        },
        "system:versionNumber": {
          "value": 5
        },
        "system:tenant": {
          "value": "mytenant"
        },
        "system:traceId": {
          "value": "70ac49e08a747991"
        },
        "appPersonalfile:pfsubject": {
          "value": "Leistungsbeschreibung 1&1 DSL,Telefonie und Digital-TV"
        },
        "appClientsystem:leadingTypeId": {
          "value": "appPersonalfile:pfapplicationsot"
        },
        "appClient:clienttitle": {
          "value": "Leistungsbeschreibung"
        },
        "appClient:clientdescription": {
          "value": "1&1 DSL,Telefonie und Digital-TV"
        },
        "appPersonalfile:pfapplicant": {
          "value": "Max"
        }
      },
      "contentStreams": [
        {
          "contentStreamId": "8B2B4F84-4DEA-11EC-B87A-277D8CFB6412",
          "archivePath": "mytenant/2021/12/27/",
          "length": 296956,
          "mimeType": "application/pdf",
          "fileName": "1und1 Leistungsbeschreibung BK (1).pdf",
          "digest": "8929BEDFC198C5E66FB28E6B8A82789934644735560BDF98C5C3957D37C33BD9",
          "repositoryId": "s3miniowithpath"
        }
      ]
    }
  ]
}