Notifications
Retrieve Notification
Changed onRetrieve the details of a specific Notification using its UUID. Includes the Event the Notification is based on, and any calculation referencing the Event's field and which defines further conditions that must be met to trigger the Notification when the Event occurs.
get/organizations/{orgId}/notifications/configurations/{id}
Request
- Base URLhttps://api.m3ter.com
- AuthOAuth 2Authorization codehttps://m3ter.auth.us-east-1.amazoncognito.com/oauth2/authorize, token URL https://m3ter.auth.us-east-1.amazoncognito.com/oauth2/tokenClient credentialsToken URL /oauth/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
orgIdstring required
The unique identifier (UUID) of your Organization. The Organization represents your company as a direct customer of our service.
idstring required
The unique identifier (UUID) of the Notification to retrieve.
Response
Returns the Notification
Example response
{
"name": "Commitment has under 10% remaining",
"description": "Commitment amount fell below 10%",
"active": true,
"eventName": "configuration.commitment.updated",
"calculation": "(new.amountSpent >= ((new.amount*90)/100)) \nAND ((old.amountSpent <= ((old.amount*90)/100)) OR (old.amountSpent == null))",
"code": "commitment_under_10_percent"
}Changes
- breaking
the
////response's property type changed from no type toobjectfor status - breaking
the
response's property type changed from no type toobjectfor status
- breaking
- breaking
the response property
////////became optional for the status - breaking
the response property
////became optional for the status
- breaking