Get a child version for a child document
get/documents/{objectTypeName}/{documentId}/versions/{version}/children/{childDocType}/{childDocId}
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": "intel_address",3 "id": "ee0634fb-fb3c-48c8-a9e3-9233376f96d3",4 "version": "4",5 "operation": "update",6 "createdBy": "videmo",7 "createdAt": "2023-06-28T20:45:01.643Z",8 "links": [9 {10 "method": "GET",11 "rel": "self",12 "href": "/svi-datahub/documents/intel_report/uuid_502/versions/4/children/intel_address/ee0634fb-fb3c-48c8-a9e3-9233376f96d3",13 "uri": "/svi-datahub/documents/intel_report/uuid_502/versions/4/children/intel_address/ee0634fb-fb3c-48c8-a9e3-9233376f96d3",14 "type": "application/vnd.sas.investigate.childVersion+json"15 }16 ],17 "parentTypeName": "intel_report",18 "parentId": "uuid_502",19 "parentVersion": "4",20 "values": [21 {22 "name": "city",23 "label": "City",24 "value": "some city",25 "type": "STRING",26 "valueChanged": true27 },28 {29 "name": "id",30 "label": "Address Id",31 "previousVersionValue": "ee0634fb-fb3c-48c8-a9e3-9233376f96d3",32 "value": "ee0634fb-fb3c-48c8-a9e3-9233376f96d3",33 "type": "STRING",34 "valueChanged": false35 },36 {37 "name": "intel_report_id",38 "label": "Report Id",39 "previousVersionValue": "uuid_502",40 "value": "uuid_502",41 "type": "STRING",42 "valueChanged": false43 },44 {45 "name": "state",46 "label": "State",47 "type": "STRING",48 "valueChanged": false49 },50 {51 "name": "street",52 "label": "Street",53 "previousVersionValue": "some street",54 "value": "some street",55 "type": "STRING",56 "valueChanged": false57 },58 {59 "name": "zip",60 "label": "Zip code",61 "type": "STRING",62 "valueChanged": false63 }64 ]65}
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 |