References
...
Before placing DCB request at the in Alma as a lending agency, a virtual patron needs to be found or created in Alma.
...
A virtual patron in Alma can be created by using the Create a User API.
...
record_type:
Publicprimary_id:
The primary identifier of the userfirst_name
: User's first name.last_name
: User's last name.account_type:
Externaluser_group
: Used in fulfillment policies (which one to choose or DCB should create )
For more details on creating a user, refer to Create user
...
user_primary_id:
The ID of the requesting user.request_type
: HOLDpickup_location_type
: LIBRARYpickup_location_library
: The pickup location library code. (Note: Alma does not provide a direct API endpoint to create pickup locations dynamically. Pickup locations are defined and configured in the Alma interface by library administrators.)material_type
(optional): Used in fulfillment policies.
...
The actual record
: XML string describing the recordsuppress_from_publishing
: tbd
For more details on creating a holding record, refer to Create holding record
...
Lifecycle | Given | When | Then |
---|---|---|---|
Dispatched by Supplying Library Trigger: Manual action in Alma - Scan in items |
| DCB Patron Request Workflow matches corresponding request details at
| Trigger DCB
|
Received at Pickup Library |
| DCB Patron Request Workflow matches corresponding request details at
| Trigger
|
Item Checked Out to Patron at Pickup Library |
| DCB Patron Request Workflow matches corresponding request details at
| Trigger
|
Item Returned by Borrowing Patron |
| DCB Patron Request Workflow matches corresponding request details at either
| Trigger
|
Received Back at Lending Agency Trigger: Manual action in Alma - Return items |
| DCB Patron Request Workflow matches corresponding request details at either
| Trigger
|
Workflow diagram
...
Alma loan creation
Create Loan API allows to create a loan record for a patron.
...