Execute Action
API to execute a specified Life Cycle Action
Executes specified Life Cycle Action.
Request:
POST {lifecycleServiceURL}/api/{tenantId}{ActionName}/{HookName}
Name | Required | Details | |
---|---|---|---|
Headers | Content-Type | Yes | Should be "Content-Type: application/json ".
|
Body | Yes | JSON object representing action input data. |
Response
Object representing action output data.
Request
POST {
lifecycleServiceURL
}
/api/ {
tenantId
}
/actions/NpiCleanseAction / beforeSave
Headers: Content-Type: application / jsonBody: {
"object": {
"URI": "entities/03l0LwH",
"type": "configuration/entityTypes/HCP",
"attributes": {
"FirstName": [{
"value": "John"
}],
"LastName": [{
"value": "Doe"
}],
"Identifiers": [{
"value": {
"Type": [{
"value": "NPI"
}],
"ID": [{
"value": "12345"
}]
}
}]
},
"crosswalks": [{
"value": "011",
"sourceTable": "sourceTable",
"type": "configuration/sources/LNKD"
}]
},
"environment": "http://test.reltio.com/reltio",
"successful": true
}
Response
{
"object": {
"URI": "entities/03l0LwH",
"type": "configuration/entityTypes/HCP",
"attributes": {
"FirstName": [{
"value": "John"
}],
"LastName": [{
"value": "Doe"
}],
"NPI": [{
"value": "12345"
}],
"Identifiers": [{
"value": {
"Type": [{
"value": "NPI"
}],
"ID": [{
"value": "12345"
}]
}
}]
},
"crosswalks": [{
"value": "011",
"sourceTable": "sourceTable",
"type": "configuration/sources/LNKD"
}]
},
"environment": "http://test.reltio.com/reltio",
"successful": true
}