GET portal/api/hrms/v1/departments/GetDepartmentInfoByEmployeeIdNo?IdNo={IdNo}&StatusNo={StatusNo}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| IdNo | string |
Required |
|
| StatusNo | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of prDepartmentByEmployeeIdno| Name | Description | Type | Additional information |
|---|---|---|---|
| DepartmentNo | integer |
None. |
|
| ParentDeptNo | integer |
None. |
|
| ParentDeptmentNo | string |
None. |
|
| DepartmentName | string |
None. |
|
| sectorNo | integer |
None. |
|
| sectorName | string |
None. |
|
| EmployeeCountAtDepartment | integer |
None. |
|
| EmployeeCountAtSector | integer |
None. |
|
| LastEvaluationPoint | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"DepartmentNo": 1,
"ParentDeptNo": 2,
"ParentDeptmentNo": "sample string 3",
"DepartmentName": "sample string 4",
"sectorNo": 5,
"sectorName": "sample string 6",
"EmployeeCountAtDepartment": 7,
"EmployeeCountAtSector": 8,
"LastEvaluationPoint": 9.0
},
{
"DepartmentNo": 1,
"ParentDeptNo": 2,
"ParentDeptmentNo": "sample string 3",
"DepartmentName": "sample string 4",
"sectorNo": 5,
"sectorName": "sample string 6",
"EmployeeCountAtDepartment": 7,
"EmployeeCountAtSector": 8,
"LastEvaluationPoint": 9.0
}
]
application/xml, text/xml
Sample:
<ArrayOfprDepartmentByEmployeeIdno xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HorizonSSI.HRIntegration.Models">
<prDepartmentByEmployeeIdno>
<DepartmentName>sample string 4</DepartmentName>
<DepartmentNo>1</DepartmentNo>
<EmployeeCountAtDepartment>7</EmployeeCountAtDepartment>
<EmployeeCountAtSector>8</EmployeeCountAtSector>
<LastEvaluationPoint>9</LastEvaluationPoint>
<ParentDeptNo>2</ParentDeptNo>
<ParentDeptmentNo>sample string 3</ParentDeptmentNo>
<sectorName>sample string 6</sectorName>
<sectorNo>5</sectorNo>
</prDepartmentByEmployeeIdno>
<prDepartmentByEmployeeIdno>
<DepartmentName>sample string 4</DepartmentName>
<DepartmentNo>1</DepartmentNo>
<EmployeeCountAtDepartment>7</EmployeeCountAtDepartment>
<EmployeeCountAtSector>8</EmployeeCountAtSector>
<LastEvaluationPoint>9</LastEvaluationPoint>
<ParentDeptNo>2</ParentDeptNo>
<ParentDeptmentNo>sample string 3</ParentDeptmentNo>
<sectorName>sample string 6</sectorName>
<sectorNo>5</sectorNo>
</prDepartmentByEmployeeIdno>
</ArrayOfprDepartmentByEmployeeIdno>