{"name":"Rule to check for customers with balance below 10000","description":"Rule evaluating events from a SQL Source to a RTAM Responder, \ndynamic schedule for the source","drqlStatement":"when 1 customer_accounts t1 with t1.total_bal < 10000 as Total_Balance then rtamresponse with to = \"Administrator\", body = \"Account ${acc_no} has balance less than 10000\", priority = \"2\", subject = \"Accounts with balance less than 10000\", channels = \"Account Balance\",metadata = \" \"","force":"true"}
Click
SEND
.
Verify that the advance rule is created. The Response Header shows the status as created.
Select the
Response Body
tab and copy the href for future REST calls. For example, "href": "api/projects/65536/rules/e24296b5-7d5f-4440-aa09-0e8716629f11"