API Docs
Update PO-Line
Contents
This web service updates a PO-Line. The PO line can be for physical, electronic or electronic collection.
Note: if the locations section includes a copy in a temporary location, the entire locations section will not be updated.
Resource URL
PUT /almaws/v1/acq/po-lines/{po_line_id}
API Description
URL Parameters
Parameter | Type | Description |
---|---|---|
po_line_id | xs:string | The PO-Line number. |
Querystring Parameters
Parameter | Type | Required | Description |
---|---|---|---|
update_inventory | xs:string | Optional. Default: true | Flag for updating the PO Line's inventory. Options: true, false. Default: true. |
redistribute_funds | xs:string | Optional. Default: false | Indication if the total amount will be distributed. Optional. Default is False. When true - the API will ignore funding information in the payload and calculate funding based on existing funds. |
Body Parameters
This method creates a PO Line object. See doc
Output
This method returns a PO-Line
object. See doc
Possible Error Codes
Code | Message |
---|---|
401676 | Request body not found. |
401871 | PO Line not found. |
60320 | No charge is not allowed for this PO line configuration. |
401876 | Failed to update PO Line (with error message). |