POST v1/Order/OrderVersionInventoryList
Return the list of OrderVersionInventory
This is secure method and requires below attributes in header
Authorization: Midnight Authorize Token
Request Information
URI Parameters
None.
Body Parameters
OrderVersionInventoryRequestName | Description | Type | Additional information |
---|---|---|---|
VersionID |
Provide VersionID |
integer |
Required |
Request Formats
application/json, text/json
Sample:
{ "VersionID": 1 }
application/xml, text/xml
Sample:
<OrderVersionInventoryRequest xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <VersionID>1</VersionID> </OrderVersionInventoryRequest>
application/x-www-form-urlencoded
Sample:
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", "Value": 8.0, "ItemPerContainer": 9 }, { "OrderInventoryID": 1, "OrderID": 2, "VersionID": 3, "ItemID": 4, "Description": "sample string 5", "QuantityNeeded": 1, "Notes": "sample string 6", "ItemCode": "sample string 7", "Value": 8.0, "ItemPerContainer": 9 } ]
application/xml, text/xml
Sample:
<ArrayOfOrderVersionInventoryResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <OrderVersionInventoryResponse> <OrderInventoryID>1</OrderInventoryID> <OrderID>2</OrderID> <VersionID>3</VersionID> <ItemID>4</ItemID> <Description>sample string 5</Description> <QuantityNeeded>1</QuantityNeeded> <Notes>sample string 6</Notes> <ItemCode>sample string 7</ItemCode> <Value>8</Value> <ItemPerContainer>9</ItemPerContainer> </OrderVersionInventoryResponse> <OrderVersionInventoryResponse> <OrderInventoryID>1</OrderInventoryID> <OrderID>2</OrderID> <VersionID>3</VersionID> <ItemID>4</ItemID> <Description>sample string 5</Description> <QuantityNeeded>1</QuantityNeeded> <Notes>sample string 6</Notes> <ItemCode>sample string 7</ItemCode> <Value>8</Value> <ItemPerContainer>9</ItemPerContainer> </OrderVersionInventoryResponse> </ArrayOfOrderVersionInventoryResponse>