Update

POST

Update notification policy associated with this entity

Path parameters

entityIdstringRequired

Entity ID or Entity ForeignID

notificationTypeenumRequired

Request

This endpoint expects an object.
disabledbooleanOptional

Set to true if the selected notification type should be disabled for this entity

additionalRoleslist of stringsOptional

List of user roles that should receive notifications in addition to the default users for this notification type

additionalUserslist of stringsOptional

List of user IDs that should receive notifications in addition to the default users for this notification type

notifyPayeeCounterpartybooleanOptional

Set to true if the selected notification type should be sent to the counterparty if this is a payable invoice.

notifyPayorCounterpartybooleanOptional

Set to true if the selected notification type should be sent to the counterparty if this is a receivable invoice.

Response

This endpoint returns an object.
disabledboolean

True if the selected notification type is disabled for this entity

additionalRoleslist of strings

List of user roles that should receive notifications in addition to the default users for this notification type

additionalUserslist of strings

List of user IDs that should receive notifications in addition to the default users for this notification type

notifyPayeeCounterpartyboolean

True if the selected notification type should be sent to the counterparty if this is a payable invoice.

notifyPayorCounterpartyboolean

True if the selected notification type should be sent to the counterparty if this is a receivable invoice.

typeenum