POST deliveries/{purchaseOrderID}/book-in

Books in/Writes off items for a single purchase order

Request Information

URI Parameters

NameDescriptionTypeAdditional information
purchaseOrderID integer Required

Body Parameters

BookInPurchaseOrderRequestModel
NameDescriptionTypeAdditional information
PurchaseOrderID Purchase OrderID integer None.
Lines Collection of BookInPurchaseOrderLineRequestModel None.

Request Formats

application/json, text/json

Sample:
{
  "PurchaseOrderID": 1,
  "Lines": [
    {
      "SKU": "sample string 1",
      "SupplierSKU": "sample string 2",
      "BookedIn": 1,
      "WrittenOff": 1
    },
    {
      "SKU": "sample string 1",
      "SupplierSKU": "sample string 2",
      "BookedIn": 1,
      "WrittenOff": 1
    }
  ]
}

Response Information

Resource Description

Books in/Writes off items for a single purchase order

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.