GET api/{database}/EmployeeInfoList/ByName/{name}?searchName={searchName}

No Documentation Found.



Request Information

Parameters

NameDescriptionAdditional information
name No Documentation Found.

Define this parameter in the request URI.

searchName No Documentation Found.

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
  },
  {
    "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
  },
  {
    "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:
<ArrayOfEmployeeInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.Hours.Info">
  <EmployeeInfo>
    <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>
  <EmployeeInfo>
    <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>
  <EmployeeInfo>
    <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>
</ArrayOfEmployeeInfo>