POST purchase-orders/mark-as-sent

Marks each Purcahse Order in a list as having been sent

Request Information

URI Parameters

None.

Body Parameters

Collection of PurchaseOrderSimpleRequestModel
NameDescriptionTypeAdditional 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:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <PurchaseOrderSimpleRequestModel>
    <PurchaseOrderID>1</PurchaseOrderID>
  </PurchaseOrderSimpleRequestModel>
  <PurchaseOrderSimpleRequestModel>
    <PurchaseOrderID>1</PurchaseOrderID>
  </PurchaseOrderSimpleRequestModel>
</ArrayOfPurchaseOrderSimpleRequestModel>

Response Information

Resource Description

Marks each Purcahse Order in a list as having been sent

BatchResponseContainerOfPurchaseOrderSimpleResponse
NameDescriptionTypeAdditional 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"
    }
  ]
}