EntityUserNotification Policy

Get All

GET
Retrieve all notification policies associated with this entity user

Path parameters

entityIdstringRequired
userIdstringRequired

Response

This endpoint returns a list of objects
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-policies \
2 -H "Authorization: Bearer <token>"
200
Retrieved
1[
2 {
3 "disabled": true,
4 "digest": true,
5 "immediate": true,
6 "type": "INVOICE_APPROVAL_NEEDED"
7 }
8]