EntityNotification Policy

Get All

GET
https://api.mercoa.com/entity/:entityId/notification-policies

Retrieve all notification policies associated with this entity

Path parameters

entityId
string

Response

This endpoint return a list of objects.
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
/entity/:entityId/notification-policies
curl https://api.mercoa.com/entity/:entityId/notification-policies \
-H "Authorization: Bearer <token>"
Response
[
{
"disabled": true,
"additionalRoles": [
"string"
],
"type": "INVOICE_APPROVAL_NEEDED"
}
]