EntityUserNotification Policy

Get

GET
Retrieve notification policy associated with this entity user

Path parameters

entityIdstringRequired
userIdstringRequired
notificationTypeenumRequired

Response

This endpoint returns an object
disabled
boolean
True if the selected notification type is disabled for this user
digest
boolean
True if the selected notification type is sent as a digest.
immediate
boolean
True if the selected notification type is sent immediately.
type
enum
GET
1curl https://api.mercoa.com/entity/:entityId/user/:userId/notification-policy/INVOICE_APPROVAL_NEEDED \
2 -H "Authorization: Bearer <token>"
200
Retrieved
1{
2 "disabled": true,
3 "digest": true,
4 "immediate": true,
5 "type": "INVOICE_APPROVAL_NEEDED"
6}