API Docs
Cancel PO-Line
Contents
This web service cancels a PO-Line.
Resource URL
DELETE /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 |
---|---|---|---|
reason | xs:string | Required | The cancellation reason code. From the 'PO Line Cancellation Reasons' code table. |
comment | xs:string | Optional. | Comment regarding cancellation. |
inform_vendor | xs:boolean | Optional. Default: false | Inform vendor of cancellation flag. Defaults to false. |
override | xs:boolean | Optional. Default: false | Override errors flag. Defaults to false. |
bib | xs:string | Optional. Default: retain | Method for handling standalone Bib record: retain, delete or suppress. Optional. By default: retain. |
Body Parameters
None
Output
This method returns HTTP 204 (No Content) which means that the server successfully processed the request, but is not returning any content.
Possible Error Codes
Code | Message |
---|---|
402119 | General error. |
401884 | PO Line already cancelled. |
401881 | Failed to cancel the PO Line. (With error message) |
401874 | Failed to cancel the PO Line. |
401871 | Po-Line X not found. |