The notifications sending mechanism used for sending Password Management Events is not convenient for sending Patron Notices as it obtains templateId from predefined event entities for password management events. To reuse current mechanism event entity should be created for every patron notice and while notice sending mod-circulation must somehow know the name of the created entity. This way brings a lot of external complexity, in turn Patron Notice contains templateId itself, so call to mod-event config is redundant.
Implement new endpoint without call to mod-event-config.
Http method: POST
URL path: /notify/patron-notice
Required permission: patron-notice.post
Response codes: 200, 422, 500
Request body properties: recipientId, deliveryChannel, templateId, outputFormat, lang(optional, default - en), context(optional)