GET api/DashboardSales?FinancialYearId={FinancialYearId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| FinancialYearId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
DashboardSales| Name | Description | Type | Additional information |
|---|---|---|---|
| TotalOrders | integer |
None. |
|
| TotalOrderAmount | decimal number |
None. |
|
| AmountReceived | decimal number |
None. |
|
| BalanceAmount | decimal number |
None. |
|
| MonthWiseOrderAmount | Collection of ChartData |
None. |
|
| MonthWiseCollectedAmount | Collection of ChartData |
None. |
Response Formats
application/json, text/json
Sample:
{
"TotalOrders": 1,
"TotalOrderAmount": 2.1,
"AmountReceived": 3.1,
"BalanceAmount": 4.1,
"MonthWiseOrderAmount": [
{
"SlNo": 1,
"Label": "sample string 2",
"LabelValue": "sample string 3",
"Colour": "sample string 4"
},
{
"SlNo": 1,
"Label": "sample string 2",
"LabelValue": "sample string 3",
"Colour": "sample string 4"
}
],
"MonthWiseCollectedAmount": [
{
"SlNo": 1,
"Label": "sample string 2",
"LabelValue": "sample string 3",
"Colour": "sample string 4"
},
{
"SlNo": 1,
"Label": "sample string 2",
"LabelValue": "sample string 3",
"Colour": "sample string 4"
}
]
}
application/xml, text/xml
Sample:
<DashboardSales xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Morph.Web.Api.ViewModel">
<AmountReceived>3.1</AmountReceived>
<BalanceAmount>4.1</BalanceAmount>
<MonthWiseCollectedAmount>
<ChartData>
<Colour>sample string 4</Colour>
<Label>sample string 2</Label>
<LabelValue>sample string 3</LabelValue>
<SlNo>1</SlNo>
</ChartData>
<ChartData>
<Colour>sample string 4</Colour>
<Label>sample string 2</Label>
<LabelValue>sample string 3</LabelValue>
<SlNo>1</SlNo>
</ChartData>
</MonthWiseCollectedAmount>
<MonthWiseOrderAmount>
<ChartData>
<Colour>sample string 4</Colour>
<Label>sample string 2</Label>
<LabelValue>sample string 3</LabelValue>
<SlNo>1</SlNo>
</ChartData>
<ChartData>
<Colour>sample string 4</Colour>
<Label>sample string 2</Label>
<LabelValue>sample string 3</LabelValue>
<SlNo>1</SlNo>
</ChartData>
</MonthWiseOrderAmount>
<TotalOrderAmount>2.1</TotalOrderAmount>
<TotalOrders>1</TotalOrders>
</DashboardSales>