API Docs
Create user request for resource sharing
Contents
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
Parameter | Type | Description |
---|---|---|
user_id | xs:string | A unique identifier for the user |
Querystring Parameters
Parameter | Type | Required | Description |
---|---|---|---|
user_id_type | xs:string | Optional. | 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. |
override_blocks | xs:string | Required | Indication 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
Code | Message |
---|---|
401890 | User with identifier X of type Y was not found. |
401604 | Warning: The institutional inventory has services for the requested title. |
401652 | General Error: An error has occurred while processing the request. |
402039 | Could not create request, default item location is not defined for the resource sharing library |
401768 | Patron is not affiliated with a resource sharing library |
402362 | Failed to save the request: Patron has duplicate request |
401607 | Resource sharing library (owner) is missing |
401608 | The given resource sharing library (owner) is not defined in the patron record |
60340 | The request is API Restricted by library. |
60258 | The API Restricted profile is not valid. |