GET api/EmployeeData/GetMyCntYrTotalEventsAndHours?employeeId={employeeId}&yearDiff={yearDiff}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
employeeId | integer |
Required |
|
yearDiff | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of EmployeeCntYearTotalEventsAndHoursName | Description | Type | Additional information |
---|---|---|---|
CategoryName | string |
None. |
|
IconUrl | string |
None. |
|
LinkUrl | string |
None. |
|
TotalCategory | integer |
None. |
|
TotalHours | integer |
None. |
Response Formats
application/json, text/json
Sample:
[ { "categoryName": "sample string 1", "iconUrl": "sample string 2", "linkUrl": "sample string 3", "totalCategory": 4, "totalHours": 5 }, { "categoryName": "sample string 1", "iconUrl": "sample string 2", "linkUrl": "sample string 3", "totalCategory": 4, "totalHours": 5 } ]
application/xml, text/xml
Sample:
<ArrayOfEmployeeCntYearTotalEventsAndHours xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GTI.DW.PeopleProfile.Domain.Models"> <EmployeeCntYearTotalEventsAndHours> <CategoryName>sample string 1</CategoryName> <IconUrl>sample string 2</IconUrl> <LinkUrl>sample string 3</LinkUrl> <TotalCategory>4</TotalCategory> <TotalHours>5</TotalHours> </EmployeeCntYearTotalEventsAndHours> <EmployeeCntYearTotalEventsAndHours> <CategoryName>sample string 1</CategoryName> <IconUrl>sample string 2</IconUrl> <LinkUrl>sample string 3</LinkUrl> <TotalCategory>4</TotalCategory> <TotalHours>5</TotalHours> </EmployeeCntYearTotalEventsAndHours> </ArrayOfEmployeeCntYearTotalEventsAndHours>