GET api/Stocks
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of StockItem| Name | Description | Type | Additional information |
|---|---|---|---|
| Code | string |
None. |
|
| AvalibleQuantity | decimal number |
None. |
|
| AvalibleQuantitySe | decimal number |
None. |
|
| Price | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Code": "sample string 1",
"AvalibleQuantity": 2.0,
"AvalibleQuantitySe": 3.0,
"Price": 4.0
},
{
"Code": "sample string 1",
"AvalibleQuantity": 2.0,
"AvalibleQuantitySe": 3.0,
"Price": 4.0
}
]
application/xml, text/xml
Sample:
<ArrayOfStockItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models">
<StockItem>
<AvalibleQuantity>2</AvalibleQuantity>
<AvalibleQuantitySe>3</AvalibleQuantitySe>
<Code>sample string 1</Code>
<Price>4</Price>
</StockItem>
<StockItem>
<AvalibleQuantity>2</AvalibleQuantity>
<AvalibleQuantitySe>3</AvalibleQuantitySe>
<Code>sample string 1</Code>
<Price>4</Price>
</StockItem>
</ArrayOfStockItem>