POST deliveries/book-in

Books in/Writes off items for multiple purchase orders.

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": [
      {
        "ProductID": 1,
        "SKU": "sample string 1",
        "SupplierSKU": "sample string 2",
        "BookedIn": 1,
        "WrittenOff": 1,
        "StockLocationID": 1,
        "StockLocationReference": "sample string 3",
        "ExpiryDateUtc": "2024-07-22T02:30:29.0013857+00:00",
        "BatchReference": "sample string 4"
      },
      {
        "ProductID": 1,
        "SKU": "sample string 1",
        "SupplierSKU": "sample string 2",
        "BookedIn": 1,
        "WrittenOff": 1,
        "StockLocationID": 1,
        "StockLocationReference": "sample string 3",
        "ExpiryDateUtc": "2024-07-22T02:30:29.0013857+00:00",
        "BatchReference": "sample string 4"
      }
    ]
  },
  {
    "PurchaseOrderID": 1,
    "Lines": [
      {
        "ProductID": 1,
        "SKU": "sample string 1",
        "SupplierSKU": "sample string 2",
        "BookedIn": 1,
        "WrittenOff": 1,
        "StockLocationID": 1,
        "StockLocationReference": "sample string 3",
        "ExpiryDateUtc": "2024-07-22T02:30:29.0013857+00:00",
        "BatchReference": "sample string 4"
      },
      {
        "ProductID": 1,
        "SKU": "sample string 1",
        "SupplierSKU": "sample string 2",
        "BookedIn": 1,
        "WrittenOff": 1,
        "StockLocationID": 1,
        "StockLocationReference": "sample string 3",
        "ExpiryDateUtc": "2024-07-22T02:30:29.0013857+00:00",
        "BatchReference": "sample string 4"
      }
    ]
  }
]

Response Information

Resource Description

Books in/Writes off items for multiple purchase orders.

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.