GET api/Stock/GetStockList
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of Stock| Name | Description | Type | Additional information |
|---|---|---|---|
| StockRef | string |
None. |
|
| Description | string |
None. |
|
| SellingPrice | decimal number |
None. |
|
| Deleted | boolean |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"StockRef": "sample string 1",
"Description": "sample string 2",
"SellingPrice": 3.0,
"Deleted": true
},
{
"StockRef": "sample string 1",
"Description": "sample string 2",
"SellingPrice": 3.0,
"Deleted": true
}
]
application/xml, text/xml
Sample:
<ArrayOfStock xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DMHEntities">
<Stock>
<Deleted>true</Deleted>
<Description>sample string 2</Description>
<SellingPrice>3</SellingPrice>
<StockRef>sample string 1</StockRef>
</Stock>
<Stock>
<Deleted>true</Deleted>
<Description>sample string 2</Description>
<SellingPrice>3</SellingPrice>
<StockRef>sample string 1</StockRef>
</Stock>
</ArrayOfStock>