© 2025 Clarivate
GET /api/.../loanperiodcodes/{id}
Return an individual LoanPeriodCode.
| Name | Type | Required | Description |
|---|---|---|---|
| id | Integer | Yes | Unique Id assigned to loan period code. |
{
"LoanPeriodCodeID":5,
"Description":"New Video"
}
GET /api/.../loanperiodcodes
Return a list of all loan period codes in the system.
GET /api/.../loanperiodcodes?includeEmptyObject=true
Return a list of all loan period codes. Include the '(none)' entry for a user listbox or combobox.
| Name | Type | Required | Description |
|---|---|---|---|
| includeEmptyObject | Boolean | No | Set to 'true' to return an empty object with LoanPeriodCodeID set to '0' and Description set to '(none)'. This may be used when populating a listbox for a user selection. |
[
{
"LoanPeriodCodeID":0,
"Description":"(None)"
},
{
"LoanPeriodCodeID":14,
"Description":"10 hours"
},
{
"LoanPeriodCodeID":1,
"Description":"Audiobook"
},
{
"LoanPeriodCodeID":2,
"Description":"Audiobook - Short Loan"
},
{
"LoanPeriodCodeID":3,
"Description":"Music"
},
{
"LoanPeriodCodeID":4,
"Description":"New Book"
},
{
"LoanPeriodCodeID":5,
"Description":"New Video"
},
{
"LoanPeriodCodeID":6,
"Description":"No Loan"
},
{
"LoanPeriodCodeID":7,
"Description":"Overnight"
},
{
"LoanPeriodCodeID":8,
"Description":"Short"
},
{
"LoanPeriodCodeID":9,
"Description":"Standard"
},
{
"LoanPeriodCodeID":13,
"Description":"Test IHLS Ticket"
},
{
"LoanPeriodCodeID":11,
"Description":"Test Loan Period"
},
{
"LoanPeriodCodeID":12,
"Description":"Test Loan Period 2"
},
{"LoanPeriodCodeID":10,
"Description":"Video"
}
]
| Code | Description |
|---|---|
| 200 | OK. Success |
| 400 | Bad request |