POST purchase-orders/mark-as-sent
Marks each Purchase Order in a list as having been sent
Request Information
URI Parameters
None.
Body Parameters
Collection of PurchaseOrderSimpleRequestModel
Name | Description | Type | Additional information |
---|---|---|---|
PurchaseOrderID | Purchase Order ID | integer | None. |
Request Formats
application/json, text/json
Sample:
[ { "PurchaseOrderID": 1 }, { "PurchaseOrderID": 1 } ]
application/xml, text/xml
Sample:
<ArrayOfPurchaseOrderSimpleRequestModel xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <PurchaseOrderSimpleRequestModel> <PurchaseOrderID>1</PurchaseOrderID> </PurchaseOrderSimpleRequestModel> <PurchaseOrderSimpleRequestModel> <PurchaseOrderID>1</PurchaseOrderID> </PurchaseOrderSimpleRequestModel> </ArrayOfPurchaseOrderSimpleRequestModel>
Response Information
Resource Description
Marks each Purchase Order in a list as having been sent
BatchResponseContainerOfPurchaseOrderSimpleResponseName | Description | Type | Additional information |
---|---|---|---|
TotalItemsProcessed | integer | None. | |
Successful | integer | None. | |
Failed | integer | None. | |
Responses | Collection of PurchaseOrderSimpleResponse | None. |
Response Formats
application/json, text/json
Sample:
{ "TotalItemsProcessed": 1, "Successful": 2, "Failed": 3, "Responses": [ { "PurchaseOrderID": 1, "PurchaseOrderReference": "sample string 2", "Success": true, "Error": "sample string 4" }, { "PurchaseOrderID": 1, "PurchaseOrderReference": "sample string 2", "Success": true, "Error": "sample string 4" } ] }