Notifications
Evaluate Calculation
Evaluates a calculation against a specific Event or an Event type without triggering a Notification. This is useful for validating your calculation logic before adding it to a Notification.
You can use either the eventId or eventName to test your calculation against:
- eventId Tests the calculation for validity against a specific Event that has been generated for your Organization.
- eventName Tests the calculation for validity against the Event type.
Possible outcomes:
- If in either case the calculation is valid, then "success" : true is returned.
- If in either case the calculation is invalid, then "success" : false is returned, together with an "error message" giving the reason why the calculation is invaild for use against the specific Event or Event type.
Note: If you use both the eventId and the eventName as request body parameters in a single call, then the eventName takes precedence and the calculation is evaluated for validity against the Event type.
post/organizations/{orgId}/notifications/evaluate
Path parameters
orgIdstring required
The unique identifier (UUID) of your Organization. The Organization represents your company as a direct customer of our service.
Request body
Response
Returns the calculation result