EntityNotification Policy

Get All

GET
Retrieve all notification policies associated with this entity

Path parameters

entityIdstringRequired

Response

This endpoint returns 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
1curl https://api.mercoa.com/entity/:entityId/notification-policies \
2 -H "Authorization: Bearer <token>"
200
Retrieved
1[
2 {
3 "disabled": true,
4 "additionalRoles": [
5 "string"
6 ],
7 "type": "INVOICE_APPROVAL_NEEDED"
8 }
9]