GET /api/employee_information
List Employee Information
Employee master data: names, identity numbers, dates, job, status flags, contact details and organisation hierarchy. Returns one page of rows; follow nextLink until it is absent to read every row.
Headers
| Header | Value | Notes |
|---|---|---|
| Authentication | Whatever your API gateway requires (see Authentication). | |
Query parameters
All optional.
| Name | Type | Description |
|---|---|---|
$filter | string | Filter expression. Operators eq ne gt ge lt le, combined with and, or, not and parentheses. Strings in single quotes. Example: employee_number eq 'ZZT00611'. |
$select | string | Comma-separated fields to return. Omit for all fields. |
$orderby | string | Sort order: field names, each optionally followed by asc or desc. |
$first | integer | Page size. Default 100, maximum 1000. |
$after | string | Continuation token. Do not build it: follow nextLink from the previous page. |
curl -G "$BASE_URL/api/employee_information" \
--data-urlencode "\$filter=employee_display_number eq 'ZZT-E2E-1'"{
"value": [
{
"employee_number": "<8-digit employee number>",
"employee_display_number": "ZZT-E2E-1",
"calling_name": "Eve",
"preferred_name": null,
"first_name": "Eve",
"middle_initials": null,
"surname": "Endtoend",
"title_salutation": null,
"maiden_name": null,
"initials": null,
"names_by_initials": null,
"full_name": null,
"other_names": null,
"nic_number": null,
"epf_number": null,
"birth_date": null,
"age": null,
"gender": null,
"blood_group": null,
"marital_status": null,
"married_date": null,
"nationality": null,
"religion": null,
"joined_date": null,
"joined_date_to_group": null,
"confirmation_date": null,
"confirmation_status": "Not Confirmed",
"retire_date": null,
"resign_date": null,
"designation_code": null,
"designation": null,
"corporate_title_code": null,
"corporate_title": null,
"job_profile": null,
"salary_grade": null,
"personal_grade": null,
"cost_centre": null,
"employment_type": null,
"contract_start_date": null,
"contract_end_date": null,
"hr_status": "Inactive",
"payroll_status": "Inactive",
"attendance_status": "Inactive",
"barcode_number": null,
"location": null,
"house_number": null,
"street_1": null,
"street_2": null,
"city": "Roundtrip",
"postal_code": null,
"telephone_number": null,
"mobile_number": null,
"email_address": null,
"official_telephone_number": null,
"official_email_address": null,
"passport_number": null,
"electorate": null,
"province": null,
"country": null,
"staff_category_code": null,
"staff_category": null,
"employee_category_code": null,
"employee_category": null,
"employee_group": null,
"work_group": null,
"company": null,
"business_unit": null,
"division": null,
"department": null,
"business_function": null,
"section": null,
"sub_department": null,
"sub_sub_department": null,
"unit": null,
"sub_unit": null,
"additional_hierarchy_level": null,
"hierarchy_code": "<string>",
"supervisor_number": null,
"supervisor_name": null
}
]
}Response fields (79)
| Field | Type | Description |
|---|---|---|
employee_number | string (max 10) | Internal PeoplesHR employee number (the system key). |
employee_display_number | string (max 25) | Employee number as shown to users (the external identifier). Not guaranteed unique across employees. |
calling_name | string (max 50) | Calling name (same value as first_name). |
preferred_name | string (max 200) | Preferred (nick) name. |
first_name | string (max 50) | First (calling) name. |
middle_initials | string (max 50) | Middle initials. |
surname | string (max 50) | Surname / last name. |
title_salutation | string (max 200) | Title or salutation (a PeoplesHR salutation name). |
maiden_name | string (max 70) | Maiden name. |
initials | string (max 250) | Name with initials. |
names_by_initials | string (max 200) | Names denoted by the initials. |
full_name | string (max 200) | Full name. |
other_names | string (max 200) | Other names. |
nic_number | string (max 30) | National identity card number. |
epf_number | string (max 25) | EPF / provident fund number. |
birth_date | date (YYYY-MM-DD) | Date of birth. |
age | integer | Age in whole years today, derived from birth_date. |
gender | string (max 200) | Gender (a PeoplesHR gender name). |
blood_group | string (max 200) | Blood group (a PeoplesHR blood-group name). |
marital_status | string (max 200) | Marital status (a PeoplesHR marital-status name). |
married_date | date (YYYY-MM-DD) | Date of marriage. |
nationality | string (max 200) | Nationality (a PeoplesHR nationality name). |
religion | string (max 200) | Religion (a PeoplesHR religion name). |
joined_date | date (YYYY-MM-DD) | Date joined the company. |
joined_date_to_group | date (YYYY-MM-DD) | Date joined the group. |
confirmation_date | date (YYYY-MM-DD) | Date the employee was confirmed. |
confirmation_status | string (max 20) | Confirmation status. One of: Confirmed, Not Confirmed. |
retire_date | date (YYYY-MM-DD) | Retirement date. |
resign_date | date (YYYY-MM-DD) | Resignation date. |
designation_code | string | Designation code. |
designation | string (max 200) | Designation (a PeoplesHR designation name). |
corporate_title_code | string | Corporate title code. |
corporate_title | string (max 200) | Corporate title (a PeoplesHR corporate-title name). |
job_profile | string | Job profile (function role of the designation). |
salary_grade | string (max 200) | Salary grade (a PeoplesHR salary-grade name). |
personal_grade | string (max 100) | Personal grade. Always null in the current release (the view returns NULL for this field). |
cost_centre | string (max 200) | Cost centre (a PeoplesHR cost-centre name). |
employment_type | string (max 200) | Employment type (a PeoplesHR employment-type description). |
contract_start_date | date (YYYY-MM-DD) | Contract start date. |
contract_end_date | date (YYYY-MM-DD) | Contract end date. |
hr_status | string (max 10) | Whether the employee is active in HR. One of: Active, Inactive. |
payroll_status | string (max 10) | Whether the employee is active in payroll. One of: Active, Inactive. |
attendance_status | string (max 10) | Whether the employee is active in attendance. One of: Active, Inactive. |
barcode_number | string (max 20) | Barcode / attendance card number. |
location | string (max 200) | Work location (a PeoplesHR location name). |
house_number | string (max 90) | Permanent address, line 1. |
street_1 | string (max 90) | Permanent address, line 2. |
street_2 | string (max 90) | Permanent address, line 3. |
city | string (max 90) | Permanent address, city. |
postal_code | string (max 20) | Permanent address, postal code. |
telephone_number | string (max 30) | Personal telephone number. |
mobile_number | string (max 20) | Personal mobile number. |
email_address | string (max 100) | Personal email address. |
official_telephone_number | string (max 20) | Office telephone number. |
official_email_address | string (max 100) | Office email address. |
passport_number | string (max 20) | Passport number. |
electorate | string (max 200) | Electorate of the permanent address (a PeoplesHR electorate name). |
province | string (max 200) | Province of the permanent address (a PeoplesHR province name). |
country | string (max 200) | Country of the permanent address (a PeoplesHR country name). |
staff_category_code | string | Staff category code. |
staff_category | string (max 200) | Staff category (a PeoplesHR staff-category name). |
employee_category_code | string | Employee category code. |
employee_category | string (max 200) | Employee category (a PeoplesHR category name). |
employee_group | string (max 200) | Employee group (a PeoplesHR group name). |
work_group | string | Scheduling (work) group. |
company | string (max 200) | Organisation hierarchy: company (hierarchy level 3). |
business_unit | string (max 200) | Organisation hierarchy: business unit / sector (level 2). |
division | string (max 200) | Organisation hierarchy: division (level 4). |
department | string (max 200) | Organisation hierarchy: department (level 5). |
business_function | string (max 100) | Business function. Always null in the current release (the view returns NULL for this field). |
section | string (max 100) | Section. Always null in the current release (the view returns NULL for this field). |
sub_department | string (max 200) | Organisation hierarchy: sub department (level 6). |
sub_sub_department | string (max 200) | Organisation hierarchy: level 7. |
unit | string (max 200) | Organisation hierarchy: level 8. |
sub_unit | string (max 200) | Organisation hierarchy: level 9. |
additional_hierarchy_level | string (max 200) | Organisation hierarchy: level 10. |
hierarchy_code | string | Code of the deepest hierarchy node the employee is assigned to. |
supervisor_number | string (max 25) | Display number of the primary supervisor. |
supervisor_name | string | Display name of the primary supervisor. |