...
Module | Publish/subscribe | Event type | Payload |
---|---|---|---|
mod-feesfines | publish | FF_BALANCE_CHANGED | { |
mod-circulation | publish | ITEM_CHECKED_OUT | { |
mod-circulation | publish | ITEM_CHECKED_IN | { |
mod-circulation | publish | ITEM_DECLARED_LOST | { |
mod-circulation | publish | LOAN_DUE_DATE_UPDATED | { |
mod-automatedblocks | subscribe | FF_BALANCE_CHANGED |
...
Code Block | ||
---|---|---|
| ||
{ "id": string, "userId": string, "outstandingFeeFineBalance": numeric, "numberOfOpenFeesFinesForLostItems": numeric, "numberOfLostItems": numeric, "openLoans": [ { "loanId": string, "dueDate": string, "returnedDate": string, "recall": boolean } ], "openAccounts": [ { "accountIdfeeFineId": string, "balance": numeric, "feeFineIdfeeFineTypeId": string } ] } |
This object allows to check each of the block conditions for a patron:
...