EntityNotification Policy

Get

GET
Retrieve notification policy associated with this entity

Path parameters

entityIdstringRequired
notificationTypeenumRequired

Response

This endpoint returns an object
disabled
boolean
True if the selected notification type is disabled for this entity
additionalRoles
list of strings
List of user roles that should receive notifications in addition to the default users for this notification type
type
enum
GET
1curl https://api.mercoa.com/entity/ent_8545a84e-a45f-41bf-bdf1-33b42a55812c/notification-policy/INVOICE_APPROVAL_NEEDED \
2 -H "Authorization: Bearer <token>"
200Retrieved
1{
2 "disabled": false,
3 "additionalRoles": [
4 "admin",
5 "approver"
6 ],
7 "type": "INVOICE_APPROVAL_NEEDED"
8}