POST deliveries/book-in-all

Books in all outstanding items for multiple purchase orders

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

Books in all outstanding items for multiple purchase orders

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