API Docs

__METHOD= DELETE . __PATH= /almaws/v1/acq/po-lines/{po_line_id} .

Cancel PO-Line

This web service cancels a PO-Line.

Resource URL

DELETE /almaws/v1/acq/po-lines/{po_line_id}

API Description

URL Parameters

ParameterTypeDescription
po_line_idxs:stringThe PO-Line number.

Querystring Parameters

ParameterTypeRequiredDescription
reasonxs:stringRequiredThe cancellation reason code. From the 'PO Line Cancellation Reasons' code table.
commentxs:stringOptional.Comment regarding cancellation.
inform_vendorxs:booleanOptional. Default: falseInform vendor of cancellation flag. Defaults to false.
overridexs:booleanOptional. Default: falseOverride errors flag. Defaults to false.
bibxs:stringOptional. Default: retainMethod 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

CodeMessage
402119General error.
401884PO Line already cancelled.
401881Failed to cancel the PO Line. (With error message)
401874Failed to cancel the PO Line.
401871Po-Line X not found.