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
$curl https://api.mercoa.com/entity/%3AentityId/user/%3AuserId/notification-policies \
> -H "Authorization: Bearer <token>"
Response
1[
2 {
3 "disabled": true,
4 "digest": true,
5 "immediate": true,
6 "type": "INVOICE_APPROVAL_NEEDED"
7 }
8]