GET api/{database}/EmployeeInfo/{employeeId}

Gets the specified EmployeeInfo.



Request Information

Parameters

NameDescriptionAdditional information
employeeId The employeeId.

Define this parameter in the request URI.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "departmentId": "sample string 1",
  "employeeId": "sample string 2",
  "firstDeclarationDate": "sample string 3",
  "managerId": "sample string 4",
  "minimumTotalHours": 5.0,
  "mustDeclareHours": true,
  "name": "sample string 7",
  "searchName": "sample string 8",
  "userMayApproveTimesheets": true
}

application/xml, text/xml

Sample:
<EmployeeInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.Hours.Info">
  <DepartmentId>sample string 1</DepartmentId>
  <EmployeeId>sample string 2</EmployeeId>
  <FirstDeclarationDate>sample string 3</FirstDeclarationDate>
  <ManagerId>sample string 4</ManagerId>
  <MinimumTotalHours>5</MinimumTotalHours>
  <MustDeclareHours>true</MustDeclareHours>
  <Name>sample string 7</Name>
  <SearchName>sample string 8</SearchName>
  <UserMayApproveTimesheets>true</UserMayApproveTimesheets>
</EmployeeInfo>