v1

latestOpenAPI 3.0.02026-07-14202153.0 KB
Versions

Get version

Returns the version of a document.

get/api/dataentities/{acronym}/documents/{id}/versions/{versionId}

Path parameters

acronymstring required

Two letter word that identifies the data structure

idstring required

Id of the document

versionIdstring required

Id of the version to get

Headers

Content-Typestring required

Type of the content being sent

Acceptstring required

HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand

Response

authorstring required
idstring required

Example response

{
  "author": "user-id",
  "document": {
    "accountId": "my-account-id",
    "accountName": "my-account",
    "carttag": null,
    "checkouttag": null,
    "dataEntityId": "CL",
    "departmentVisitedTag": {
      "DisplayValue": "Ar e Ventilação",
      "Scores": {
        "Ar e Ventilação": [
          {
            "Date": "2016-10-18T16:53:31.0842607Z",
            "Point": 1,
            "Until": "2017-04-16T16:53:31.0842607Z"
          }
        ]
      }
    },
    "email": "teste@mail.com",
    "followers": [],
    "id": "my-id",
    "rclastsession": "163054c0-954f-11e6-891e-4d2b1c3450a4",
    "rclastsessiondate": "2016-10-18T16:53:00"
  },
  "id": "version-id"
}