POST v1/Order/OrderVersionInventoryList

Return the list of OrderVersionInventory

This is secure method and requires below attributes in header

Authorization: Authorize Token

Request Information

URI Parameters

None.

Body Parameters

OrderVersionInventoryRequest
NameDescriptionTypeAdditional information
VersionID

Provide VersionID

integer

Required

Request Formats

application/json, text/json

Sample:
{
  "VersionID": 1
}

application/xml, text/xml

Sample:
<OrderVersionInventoryRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MidnightEntity">
  <VersionID>1</VersionID>
</OrderVersionInventoryRequest>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'OrderVersionInventoryRequest'.

Response Information

Response Formats

application/json, text/json

Sample:
[
  {
    "OrderInventoryID": 1,
    "OrderID": 2,
    "VersionID": 3,
    "ItemID": 4,
    "Description": "sample string 5",
    "QuantityNeeded": 1,
    "Notes": "sample string 6",
    "ItemCode": "sample string 7"
  },
  {
    "OrderInventoryID": 1,
    "OrderID": 2,
    "VersionID": 3,
    "ItemID": 4,
    "Description": "sample string 5",
    "QuantityNeeded": 1,
    "Notes": "sample string 6",
    "ItemCode": "sample string 7"
  }
]

application/xml, text/xml

Sample:
<ArrayOfOrderVersionInventoryResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MidnightEntity">
  <OrderVersionInventoryResponse>
    <Description>sample string 5</Description>
    <ItemCode>sample string 7</ItemCode>
    <ItemID>4</ItemID>
    <Notes>sample string 6</Notes>
    <OrderID>2</OrderID>
    <OrderInventoryID>1</OrderInventoryID>
    <QuantityNeeded>1</QuantityNeeded>
    <VersionID>3</VersionID>
  </OrderVersionInventoryResponse>
  <OrderVersionInventoryResponse>
    <Description>sample string 5</Description>
    <ItemCode>sample string 7</ItemCode>
    <ItemID>4</ItemID>
    <Notes>sample string 6</Notes>
    <OrderID>2</OrderID>
    <OrderInventoryID>1</OrderInventoryID>
    <QuantityNeeded>1</QuantityNeeded>
    <VersionID>3</VersionID>
  </OrderVersionInventoryResponse>
</ArrayOfOrderVersionInventoryResponse>