List of loans
This service allows you to retrieve a complete list of your loans.
You can refine a search by specifying certain parameters. You will then get a partial list of results matching the specified criteria.
Depending on the number of loans on the list, it may be made out of multiple lists that will need to be retrieved in several requests. For more information, refer to the "Pagination" section on the "General Concepts" page in this guide.
Settings
| Name | Required | Description |
|---|---|---|
| member_id | No | Patron identifier. |
| start_at | No | Start date of the loan list. Must be in extended ISO 8601 format. If no value is provided, the list starts with the first loan. |
| end_at | No | End date of the loan list. Must be in extended ISO 8601 format. If no value is provided, the list ends with the latest loan. |
Successful response
{
"loans":[
{
"id":"522f30dba5f317bf49000004",
"created_at":"2014-01-01T12:00:00Z",
"downloads":[
"2014-01-01T13:00:00Z"
],
"expires_at":"2014-01-21T12:00:00Z",
"hold_expires_at":null,
"shippings":[
"2014-01-01T12:05:00Z"
],
"member_id":"jsmith",
"resource_id":"ENQC1234",
"key":"9987654321234",
"key_type":"isbn"
}
]
}
<loan>
<id>522f30dba5f317bf49000004</id>
<created_at>2014-01-01T12:00:00Z</created_at>
<downloads>
<download>2014-01-01T13:00:00Z</download>
</downloads/>
<expires_at>2014-01-21T12:00:00Z</expires_at>
<hold_expires_at/>
<shippings>
<shipping>2014-01-01T12:05:00Z</shipping>
</shippings>
<member_id>jsmith</member_id>
<resource_id>ENQC1234</resource_id>
<key>9987654321234</key>
<key_type>isbn</key_type>
</loan>