API Docs
Create Purchase Request
Contents
This API creates a new purchase request.
Resource URL
POST /almaws/v1/users/{user_id}/purchase-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 | Required | 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. |
Body Parameters
This method takes a Purchase Request object. See doc
Output
This method returns a Purchase Request
object. See doc
Possible Error Codes
Code | Message |
---|---|
402119 | General error. |
401890 | User with identifier X of type Y was not found. |
60221 | Mms ID is not valid. |
60270 | Requested format is not valid. |
402469 | Library is not valid. |
60271 | Currency is not valid. |
402880 | Vendor is not valid. |
60272 | Vendor account is not valid. |
60279 | Fund is not valid. |
60273 | Title is missing. |
60274 | Resource metadata is required. |
60278 | Purchase request creation failed. |
60280 | Purchase request citation not valid. |
60281 | Purchase request location's library not valid. |
60282 | Purchase request location's shelving location not valid. |
60283 | Purchase request location's quantity not valid. |
60329 | Purchase requested material type is not valid. |