API Docs

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

Create user request for resource sharing

This Web service creates a user's request for resource sharing.

Resource URL

POST /almaws/v1/users/{user_id}/resource_sharing_requests

API Description

URL Parameters

ParameterTypeDescription
user_idxs:stringA unique identifier for the user

Querystring Parameters

ParameterTypeRequiredDescription
user_id_typexs:stringRequiredThe 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.
override_blocksxs:stringRequiredIndication whether the request should be created even if blocks exist. optional. By default this is false.

Body Parameters

This method takes a Resource Sharing Request object. See doc

Output

This method returns a User Request for resource sharing object. See doc

Possible Error Codes

CodeMessage
401890User with identifier X of type Y was not found.
401604Warning: The institutional inventory has services for the requested title.
401652General Error: An error has occurred while processing the request.
402039Could not create request, default item location is not defined for the resource sharing library
401768Patron is not affiliated with a resource sharing library
402362Failed to save the request: Patron has duplicate request
401607Resource sharing library (owner) is missing
401608The given resource sharing library (owner) is not defined in the patron record