Update Notification
Update a Notification with the given UUID.
This endpoint modifies the configuration details of an existing Notification. You can change the Event that triggers the Notification and/or update the conditions for sending the Notification.
Path parameters
The unique identifier (UUID) of your Organization. The Organization represents your company as a direct customer of our service.
The unique identifier (UUID) of the Notification to update.
Request body
Response
Returns the updated 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
Changed in 2 of the 10 revisions of this API.31
- ▲
added
AbstractRequestto the request bodyallOflistrequest-body-all-of-added
- ●
removed the request property
versionrequest-property-removed
- ▲
- ▲
the response property
allOf[AbstractResponseWithAuditFields]/allOf[AbstractResponse]/versionbecame optional for the status200response-property-became-optional
- ▲
the response property
allOf[AbstractResponse]/versionbecame optional for the status200response-property-became-optional
This revision also has 53 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲