GET api/DashBoard?BusinessUnitId={BusinessUnitId}&FinancialYearId={FinancialYearId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| BusinessUnitId | integer |
Required |
|
| FinancialYearId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
DashboardData| Name | Description | Type | Additional information |
|---|---|---|---|
| TotalTarget | decimal number |
None. |
|
| TotalTargetAchived | decimal number |
None. |
|
| TargetAchivedPercentage | decimal number |
None. |
|
| Rating | decimal number |
None. |
|
| MonthWiseTarget | Collection of ChartData |
None. |
|
| MonthWiseTargetAchieved | Collection of ChartData |
None. |
|
| AchievedRating | Collection of ChartData |
None. |
|
| AchievedPercentage | Collection of ChartData |
None. |
|
| QuarterlySummaries | Collection of QuarterlySummary |
None. |
|
| DataSeriesBU | Collection of ChartData |
None. |
Response Formats
application/json, text/json
Sample:
{
"TotalTarget": 1.1,
"TotalTargetAchived": 2.1,
"TargetAchivedPercentage": 3.1,
"Rating": 4.1,
"MonthWiseTarget": [
{
"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"
}
],
"MonthWiseTargetAchieved": [
{
"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"
}
],
"AchievedRating": [
{
"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"
}
],
"AchievedPercentage": [
{
"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"
}
],
"QuarterlySummaries": [
{
"QuarterNo": 1,
"QuarterDesc": "sample string 2",
"TotalTarget": 3.1,
"TotalTargetAchived": 4.1,
"TargetAchivedPercentage": 5.1,
"Rating": 6.1,
"DataSeries": [
{
"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"
}
]
},
{
"QuarterNo": 1,
"QuarterDesc": "sample string 2",
"TotalTarget": 3.1,
"TotalTargetAchived": 4.1,
"TargetAchivedPercentage": 5.1,
"Rating": 6.1,
"DataSeries": [
{
"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"
}
]
}
],
"DataSeriesBU": [
{
"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:
<DashboardData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Morph.Web.Api.ViewModel">
<AchievedPercentage>
<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>
</AchievedPercentage>
<AchievedRating>
<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>
</AchievedRating>
<DataSeriesBU>
<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>
</DataSeriesBU>
<MonthWiseTarget>
<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>
</MonthWiseTarget>
<MonthWiseTargetAchieved>
<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>
</MonthWiseTargetAchieved>
<QuarterlySummaries>
<QuarterlySummary>
<DataSeries>
<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>
</DataSeries>
<QuarterDesc>sample string 2</QuarterDesc>
<QuarterNo>1</QuarterNo>
<Rating>6.1</Rating>
<TargetAchivedPercentage>5.1</TargetAchivedPercentage>
<TotalTarget>3.1</TotalTarget>
<TotalTargetAchived>4.1</TotalTargetAchived>
</QuarterlySummary>
<QuarterlySummary>
<DataSeries>
<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>
</DataSeries>
<QuarterDesc>sample string 2</QuarterDesc>
<QuarterNo>1</QuarterNo>
<Rating>6.1</Rating>
<TargetAchivedPercentage>5.1</TargetAchivedPercentage>
<TotalTarget>3.1</TotalTarget>
<TotalTargetAchived>4.1</TotalTargetAchived>
</QuarterlySummary>
</QuarterlySummaries>
<Rating>4.1</Rating>
<TargetAchivedPercentage>3.1</TargetAchivedPercentage>
<TotalTarget>1.1</TotalTarget>
<TotalTargetAchived>2.1</TotalTargetAchived>
</DashboardData>