GET api/BankReport/GetStockReport?companyId={companyId}&branchid={branchid}&date={date}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| companyId | integer |
Required |
|
| branchid | integer |
Required |
|
| date | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of StockReport| Name | Description | Type | Additional information |
|---|---|---|---|
| Item | string |
None. |
|
| Category | string |
None. |
|
| Date | string |
None. |
|
| StockWeight | decimal number |
None. |
|
| StockValue | decimal number |
None. |
|
| GoldRate | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Item": "sample string 1",
"Category": "sample string 2",
"Date": "sample string 3",
"StockWeight": 4.0,
"StockValue": 5.0,
"GoldRate": 6.0
},
{
"Item": "sample string 1",
"Category": "sample string 2",
"Date": "sample string 3",
"StockWeight": 4.0,
"StockValue": 5.0,
"GoldRate": 6.0
}
]
application/xml, text/xml
Sample:
<ArrayOfStockReport xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AXCommunication.Models">
<StockReport>
<Category>sample string 2</Category>
<Date>sample string 3</Date>
<GoldRate>6</GoldRate>
<Item>sample string 1</Item>
<StockValue>5</StockValue>
<StockWeight>4</StockWeight>
</StockReport>
<StockReport>
<Category>sample string 2</Category>
<Date>sample string 3</Date>
<GoldRate>6</GoldRate>
<Item>sample string 1</Item>
<StockValue>5</StockValue>
<StockWeight>4</StockWeight>
</StockReport>
</ArrayOfStockReport>