GET api/AccountDashboard?FinYearId={FinYearId}&BranchId={BranchId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| FinYearId | integer |
Required |
|
| BranchId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
AccountDashboard| Name | Description | Type | Additional information |
|---|---|---|---|
| ReceivedAmount | decimal number |
None. |
|
| ReceivableAmount | decimal number |
None. |
|
| PayableAmount | decimal number |
None. |
|
| PaidAmount | decimal number |
None. |
|
| MonthWiseReceivedAmount | Collection of ChartData |
None. |
|
| MonthWiseReceivableAmount | Collection of ChartData |
None. |
|
| MonthWisePayableAmount | Collection of ChartData |
None. |
|
| MonthWisePaidAmount | Collection of ChartData |
None. |
Response Formats
application/json, text/json
Sample:
{
"ReceivedAmount": 1.1,
"ReceivableAmount": 2.1,
"PayableAmount": 3.1,
"PaidAmount": 4.1,
"MonthWiseReceivedAmount": [
{
"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"
}
],
"MonthWiseReceivableAmount": [
{
"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"
}
],
"MonthWisePayableAmount": [
{
"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"
}
],
"MonthWisePaidAmount": [
{
"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:
<AccountDashboard xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Netsoft.Web.Api.ViewModel">
<MonthWisePaidAmount>
<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>
</MonthWisePaidAmount>
<MonthWisePayableAmount>
<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>
</MonthWisePayableAmount>
<MonthWiseReceivableAmount>
<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>
</MonthWiseReceivableAmount>
<MonthWiseReceivedAmount>
<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>
</MonthWiseReceivedAmount>
<PaidAmount>4.1</PaidAmount>
<PayableAmount>3.1</PayableAmount>
<ReceivableAmount>2.1</ReceivableAmount>
<ReceivedAmount>1.1</ReceivedAmount>
</AccountDashboard>