API Docs
Renew loan
Contents
This Web service renews a loan.
Resource URL
POST /almaws/v1/users/{user_id}/loans/{loan_id}
API Description
URL Parameters
Parameter | Type | Description |
---|---|---|
user_id | xs:string | A unique identifier for the user |
loan_id | xs:string | A unique identifier for the loan |
Querystring Parameters
Parameter | Type | Required | Description |
---|---|---|---|
user_id_type | xs:string | Optional. Default: all_unique | The type of identifier that is being searched. Optional. If this is not provided, all unique identifier types are used. The values that can be used are any of the values in the User Identifier Type code table. |
op | xs:string | Required | Operation. Currently only op=renew is supported |
Body Parameters
None
Output
This method returns a User Loan
object. See doc
Possible Error Codes
Code | Message |
---|---|
401823 | Loan ID XXX does not exist. |
401822 | Cannot renew loan: Loan ID XXX. |
60340 | The loan is API Restricted by library. |
60258 | The API Restricted profile is not valid. |