Events
Supported Events
Event Name | Description | Body payload |
---|---|---|
JOB_END | When jobs in the system are completed, either successfully or with errors. This webhook is sent for both manual and scheduled jobs, for jobs triggered in Alma UI or by API. | rest_job_instance |
NOTIFICATION | When one of the following notifications is sent: FulCancelRequestLetter, FulUserBorrowingActivityLetter, FulItemChangeDueDateLetter, FulPlaceOnHoldShelfLetter. Webhooks for these letters must be activated in the Letter Activity mapping table. | rest_webhook_notifications |
USER | When user information is updated. This includes all user changes that are registered in the history tab of the user record, including changes by SIS or the update-user job. Note that user changes by API do not cause a webhook. It is possible to define (on the Webhook integration profile) which user groups will trigger the webhook. If not specified – all user groups will be included. | webhook_user_extended |
LOAN | When the following loan-related events occur:
The specific event will be specified in event field of the webhook structure. | rest_item_loan |
REQUEST | When the following user request related events occur:
The specific event will be specified in event field of the webhook structure. | rest_user_request |
BIB | When the following events occur:
The specific event will be specified in event field of the webhook structure. | rest_bib |
ITEM | When the following events occur:
The specific event will be specified in event field of the webhook structure. | rest_item |
Configuring Webhook Events
In order to trigger a webhook in the above events, the “SUBSCRIPTIONS” section of the Webhook integration profile should be configured.
For example:
This section defines which events of the above types will trigger webhooks. Fore details regarding the Webhook integration profile, see Alma OLH.
Configuration and setup
To enable webhooks in Alma, the following is required:
- Create an HTTPS endpoint which Alma will call with the relevant information.
- Configure a “Webhook” integration profile in Alma, see Online Help.
Note that in order to activate the integration, Alma will send a “challenge” message. For more information, see Anatomy of a Webhook.
The following diagram illustrates the workflow: