GET api/ic/productquantities?productCode={productCode}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
productCode | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of ProductQuantityName | Description | Type | Additional information |
---|---|---|---|
ProductCode | string |
None. |
|
LocationCode | string |
None. |
|
QuantityInStock | decimal number |
None. |
|
QuantityAllocated | decimal number |
None. |
|
QuantityAvailable | decimal number |
None. |
|
QuantityOnOrder | decimal number |
None. |
|
QuantityTheoretical | decimal number |
None. |
|
MaximumQuantity | decimal number |
None. |
|
MinimumQuantity | decimal number |
None. |
|
QuantityRecReorder | decimal number |
None. |
|
BinLocation | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "ProductCode": "sample string 1", "LocationCode": "sample string 2", "QuantityInStock": 3.0, "QuantityAllocated": 4.0, "QuantityAvailable": 5.0, "QuantityOnOrder": 6.0, "QuantityTheoretical": 7.0, "MaximumQuantity": 8.0, "MinimumQuantity": 9.0, "QuantityRecReorder": 10.0, "BinLocation": "sample string 11" }, { "ProductCode": "sample string 1", "LocationCode": "sample string 2", "QuantityInStock": 3.0, "QuantityAllocated": 4.0, "QuantityAvailable": 5.0, "QuantityOnOrder": 6.0, "QuantityTheoretical": 7.0, "MaximumQuantity": 8.0, "MinimumQuantity": 9.0, "QuantityRecReorder": 10.0, "BinLocation": "sample string 11" } ]
application/xml, text/xml
Sample:
<ArrayOfProductQuantity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AccredoWeb.Model.IC"> <ProductQuantity> <BinLocation>sample string 11</BinLocation> <LocationCode>sample string 2</LocationCode> <MaximumQuantity>8</MaximumQuantity> <MinimumQuantity>9</MinimumQuantity> <ProductCode>sample string 1</ProductCode> <QuantityAllocated>4</QuantityAllocated> <QuantityAvailable>5</QuantityAvailable> <QuantityInStock>3</QuantityInStock> <QuantityOnOrder>6</QuantityOnOrder> <QuantityRecReorder>10</QuantityRecReorder> <QuantityTheoretical>7</QuantityTheoretical> </ProductQuantity> <ProductQuantity> <BinLocation>sample string 11</BinLocation> <LocationCode>sample string 2</LocationCode> <MaximumQuantity>8</MaximumQuantity> <MinimumQuantity>9</MinimumQuantity> <ProductCode>sample string 1</ProductCode> <QuantityAllocated>4</QuantityAllocated> <QuantityAvailable>5</QuantityAvailable> <QuantityInStock>3</QuantityInStock> <QuantityOnOrder>6</QuantityOnOrder> <QuantityRecReorder>10</QuantityRecReorder> <QuantityTheoretical>7</QuantityTheoretical> </ProductQuantity> </ArrayOfProductQuantity>