POST v1/Order/OrderVersionInventoryList

Request Information

URI Parameters

None.

Body Parameters

OrderVersionInventoryRequest
NameDescriptionTypeAdditional information
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:

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

Response Information

Resource Description

Collection of OrderVersionInventoryResponse
NameDescriptionTypeAdditional information
OrderInventoryID

integer

None.

OrderID

integer

None.

VersionID

integer

None.

ItemID

integer

None.

Description

string

None.

QuantityNeeded

integer

None.

Notes

string

None.

ItemCode

string

None.

Value

decimal number

None.

ItemPerContainer

integer

None.

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>