POST deliveries/book-in

Request Information

URI Parameters

None.

Body Parameters

Collection of 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
      }
    ]
  },
  {
    "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

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.