Accelerate the Value of Data

Execute Batch Request

API to execute Life Cycle Actions in a batch request

Request

POST {lifecycleServiceURL}/api/{tenantId}/execute/{HookName} 
Table 1. Parameters
Parameter Required Description
Headers Content-Type Yes Should be "Content-Type: application/json".
Body Yes JSON object representing action input data.

Response:

List of actions output data.

Request

POST {
	lifecycleServiceURL
}
/api/ {
	tenantId
}
/execute/beforeSaveHeaders:
Content-Type:
	application / jsonBody: {
		"requests": [{
			"actions": [
				"NpiCleanseAction"
			],
			"data": {
				"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"
	}

Response

[{
		"object": v "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"
		}]
	}, "successful":
	true
}]