Split Receive Purchase Order Line Item Segment

PUT /api/.../polineitems/{id}/segments?action=split

Split receive a purchase order line item segment.

Request Information

Parameters
Name Type Required Description
id Integer Yes The unique id assigned to the purchase order line item.
action String Yes. Value should be 'split' action identifier
DtoSegmentSplitData PO line segment split data Yes Define this parameter in the request body.
DtoSegmentSplitData
Property Type Nullable Description
POLineItemSegmentID Integer No POLI segment identifier.
QuantRec Integer Yes Quantity to be received.
Example
application/json, text/json

{
    "POLineItemSegmentID":102532, 
    "QuantRec":1
}

Response Information

Returns a result object with a success or failure message (Message).

Example
application/json, text/json
{
  "Success": true,
  "Message": "The purchase order line item segments were received successfully 
" }

HTTP Response Codes

Code Description
200 OK. Success
400 FAILURE.
  • Bad request
  • Invalid purchase order ID
  • Invalid poline item ID
404 FAILURE.
  • Purchase order not found
  • Purchase order line item not found

Required Permissions

Permission IDs found here.

    CR_AccessAcquisitions_Allow (),
    CR_PurchaseOrders_Access (based on owner ID),
    CR_PurchaseOrders_ReleaseReceiveCancelClosePO (based on owner ID)