GET api/StockTally?Location={Location}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| Location | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of StockItem| Name | Description | Type | Additional information |
|---|---|---|---|
| Stock_ID | string |
None. |
|
| Status | string |
None. |
|
| Shape | string |
None. |
|
| Weight | string |
None. |
|
| Color | string |
None. |
|
| Clarity | string |
None. |
|
| Lab | string |
None. |
|
| Report_No | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Stock_ID": "sample string 1",
"Status": "sample string 2",
"Shape": "sample string 3",
"Weight": "sample string 4",
"Color": "sample string 5",
"Clarity": "sample string 6",
"Lab": "sample string 7",
"Report_No": "sample string 8"
},
{
"Stock_ID": "sample string 1",
"Status": "sample string 2",
"Shape": "sample string 3",
"Weight": "sample string 4",
"Color": "sample string 5",
"Clarity": "sample string 6",
"Lab": "sample string 7",
"Report_No": "sample string 8"
}
]
application/xml, text/xml
Sample:
<ArrayOfStockItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DiaMini.Controllers">
<StockItem>
<Clarity>sample string 6</Clarity>
<Color>sample string 5</Color>
<Lab>sample string 7</Lab>
<Report_No>sample string 8</Report_No>
<Shape>sample string 3</Shape>
<Status>sample string 2</Status>
<Stock_ID>sample string 1</Stock_ID>
<Weight>sample string 4</Weight>
</StockItem>
<StockItem>
<Clarity>sample string 6</Clarity>
<Color>sample string 5</Color>
<Lab>sample string 7</Lab>
<Report_No>sample string 8</Report_No>
<Shape>sample string 3</Shape>
<Status>sample string 2</Status>
<Stock_ID>sample string 1</Stock_ID>
<Weight>sample string 4</Weight>
</StockItem>
</ArrayOfStockItem>