Journey Orchestration allows users to create rules that make Realtime actions and decisions in sub 100 milliseconds. Rules are exposed to the outside world as RESTful web APIs.
...
Because rules can be created to cater for many deferent different business scenarios, there is no standard API that accepts specific JSON.
However the below scenario describes how to call a Realtime CX (RTCX) rule called “examplerule” for a client called “exampleclient”. The rule would subsequently send a Realtime Email and SMS message.
...
https://dde.alterian.net/invoke/dev/exampleclient/examplerule
Message Data:
Code Block | ||
---|---|---|
| ||
{ "Customer Id": 1, "Email Address": "JoeBloggs@alterian.com", "Customer Name": "Joe Bloggs", "Order Date": "12/08/2018 11:14:00", "Delivery Date": "12/09/2018 11:14:00", "Delivery Postcode": "BS1 2AB", "Order Number": "12345", "Product Name": "A Sofa", "Sofa Image URL": "https://imagehost.com/Image.png" } |
Headers (*Optional):
Key | Value |
|
|
*If required you can configure a RTCX rule to require an api_key in the header for authentication. This is not enforced by default but should be applied whenever the call can change, delete or export customer data.
...