Get a child version for a child document
Gets the full representation of a child version from a child document's version history. A link to this representation is returned in the "links" property of a child version summary.
1{2 "typeName": "string",3 "id": "string",4 "version": "string",5 "displayLabel": "string",6 "operation": "string",7 "createdBy": "string",8 "createdAt": "2019-08-24T14:15:22Z",9 "links": [10 {11 "method": "string",12 "rel": "string",13 "uri": "string",14 "href": "string",15 "title": "string",16 "type": "string",17 "itemType": "string",18 "responseType": "string",19 "responseItemType": "string"20 }21 ],22 "parentTypeName": "string",23 "parentId": "string",24 "parentVersion": "string",25 "values": [26 {27 "name": "string",28 "label": "string",29 "previousVersionValue": {},30 "value": {},31 "type": "string",32 "valueChanged": true33 }34 ]35}
| Name | Type | Required | Description |
|---|---|---|---|
childDocId | string | true | The ID of the child document. |
childDocType | string | true | The object type of the child document. |
documentId | string | true | The ID of the child document's parent document. |
objectTypeName | string | true | The object type of the child document's parent document. |
version | string | true | The version of the child document's parent document. |
| Name | Type | Required | Description |
|---|---|---|---|
changedOnly | boolean | false | Specifies whether to return only the fields that have changed between the previous and requested child document version. Default: false |
includeDisplayLabel | boolean | false | Specifies whether to include the display label for the child document. Default: false |
| Status | Meaning | Description | ||
|---|---|---|---|---|
| 200 | OK | The request succeeded. | Schema | |
| 400 | Bad Request | Version history was not available for the specified child document. | Schema | |
| 404 | Not Found | The specified child document, parent document, or parent document version was not found. | Schema |