API Docs

__METHOD= POST . __PATH= /almaws/v1/users/{user_id}/loans/{loan_id} .

Renew loan

This Web service renews a loan.

Resource URL

POST /almaws/v1/users/{user_id}/loans/{loan_id}

API Description

URL Parameters

ParameterTypeDescription
user_idxs:stringA unique identifier for the user
loan_idxs:stringA unique identifier for the loan

Querystring Parameters

ParameterTypeRequiredDescription
user_id_typexs:stringOptional. Default: all_uniqueThe 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.
opxs:stringRequiredOperation. Currently only op=renew is supported

Body Parameters

None

Output

This method returns a User Loan object. See doc

Possible Error Codes

CodeMessage
401823Loan ID XXX does not exist.
401822Cannot renew loan: Loan ID XXX.
60340The loan is API Restricted by library.
60258The API Restricted profile is not valid.