GET api/MGDReport/GetEmployeePerformance?intEmpCode={intEmpCode}&FromDate={FromDate}&ToDate={ToDate}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| intEmpCode | integer |
Required |
|
| FromDate | string |
Required |
|
| ToDate | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of SalesPerformance| Name | Description | Type | Additional information |
|---|---|---|---|
| Month | integer |
None. |
|
| Year | integer |
None. |
|
| SalesCategoryId | integer |
None. |
|
| SalesCategory | string |
None. |
|
| MonthlyTarget | decimal number |
None. |
|
| MTDTarget | decimal number |
None. |
|
| TargetAchived | decimal number |
None. |
|
| AchivedPercentage | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Month": 1,
"Year": 2,
"SalesCategoryId": 3,
"SalesCategory": "sample string 4",
"MonthlyTarget": 5.0,
"MTDTarget": 6.0,
"TargetAchived": 7.0,
"AchivedPercentage": 8.0
},
{
"Month": 1,
"Year": 2,
"SalesCategoryId": 3,
"SalesCategory": "sample string 4",
"MonthlyTarget": 5.0,
"MTDTarget": 6.0,
"TargetAchived": 7.0,
"AchivedPercentage": 8.0
}
]
application/xml, text/xml
Sample:
<ArrayOfSalesPerformance xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AXCommunication.Models">
<SalesPerformance>
<AchivedPercentage>8</AchivedPercentage>
<MTDTarget>6</MTDTarget>
<Month>1</Month>
<MonthlyTarget>5</MonthlyTarget>
<SalesCategory>sample string 4</SalesCategory>
<SalesCategoryId>3</SalesCategoryId>
<TargetAchived>7</TargetAchived>
<Year>2</Year>
</SalesPerformance>
<SalesPerformance>
<AchivedPercentage>8</AchivedPercentage>
<MTDTarget>6</MTDTarget>
<Month>1</Month>
<MonthlyTarget>5</MonthlyTarget>
<SalesCategory>sample string 4</SalesCategory>
<SalesCategoryId>3</SalesCategoryId>
<TargetAchived>7</TargetAchived>
<Year>2</Year>
</SalesPerformance>
</ArrayOfSalesPerformance>