Get Change Item of Data Change Request by ID
This API returns a change item of data change request by item ID.
Request:
GET {TenantURL}/{changeRequestURI}/changes/{changeItemId}
Parameter |
Name |
Required |
Details |
---|---|---|---|
Headers |
Authorization
|
Yes | Information about authentication access token in format "Bearer
<accessToken> " (see details in Auth API).
|
Path |
id
|
Yes | ID of a data change request. |
changeItemId
|
Yes | ID of a data change request item. | |
Query |
showConflicts
|
No |
Object change item will be checked for conflicts, and the "conflict" property with the type of conflict will be present in case of any conflict. Default value is false . |
Response:
JSON object representing the data change request item.
Example
Request
POST {TenantURL}/changeRequests/changes/0001uHB
Response
{
"id": "0001uHB",
"type": "UPDATE_ATTRIBUTE",
"createdTime": 1452537770529,
"createdBy": "User",
"attributePath": "FirstName/0",
"oldValue": {
"value": "Test",
"pin": true
},
"newValue": {
"value": "NewFN"
},
"crosswalk": {
"type": "configuration/sources/SomeSource",
"value": "e1",
"dataProvider": true
},
"attributeType": "configuration/entityTypes/Individual/attributes/FirstName"
}