Employee Detail

These endpoints let you manage detailed information about employees in the system. It allows you to retrieve and update comprehensive employee profiles, including personal, employment, and other related details.

Get Historical Employee Details

get

Return the historical employee details.

Authorizations
AuthorizationstringRequired

Bearer authentication header of the form Bearer <token>.

Query parameters
pageintegerOptional

Page number

Default: 0Example: 0
sizeinteger · min: 1 · max: 50Optional

Page size

Default: 10Example: 10
querystringOptional

Search Query

Supported KeysSupported OperatorsNotes
id:Equal operator
Support multiple values with each value separated by the ; delimiter
employee.id:Equal operator
Support multiple values with each value separated by the ; delimiter
effectiveDate<Less than or equal to

Use yyyy-MM-dd format, e.g. effectiveDate<2025-01-31
Example: {"summary":"Search Employee Details by Multiple IDs","value":"id:e18f5618-bc6c-11e6-80f5-76304dec7eb1;f38f5618-bc6c-11e6-80f5-76304dec7ec6"}
Responses
chevron-right
200

OK

application/json
totalPagesintegerRequired

Total number of pages available

lastbooleanRequired

Indicates whether this is the last page

totalElementsintegerRequired

Total number of elements across all pages

numberOfElementsintegerRequired

Number of elements in the current page

firstbooleanRequired

Indicates whether this is the first page

sizeintegerRequired

Size of the page (number of elements per page)

numberintegerRequired

Current page number (zero-indexed)

get
/core/v1/employee-details

Get Employee Detail

get

The id field in the response refers to the employee's ID, not the employee detail's actual ID.

Authorizations
AuthorizationstringRequired

Bearer authentication header of the form Bearer <token>.

Path parameters
employeeIdstringRequiredExample: 0ab1c2d3-e4f5-6789-0123-456789abcdef
Responses
chevron-right
200

OK

application/json
idstringOptional
maritalStatusstring · enumOptionalPossible values:
foreignLabourbooleanOptional
namestringOptional
dateOfBirthstring · dateOptional

YYYY-MM-DD

genderstring · enumOptionalPossible values:
bloodTypestring · enumOptionalPossible values:
effectiveDatestring · dateOptional

YYYY-MM-DD

createdBystringOptional
createdDatenumberOptional
updatedBystringOptional
updatedDatenumberOptional
get
/core/v1/employees/{employeeId}/employee-details

Update Employee Detail

put

The id field in the response refers to the employee's ID, not the employee detail's actual ID.

Authorizations
AuthorizationstringRequired

Bearer authentication header of the form Bearer <token>.

Path parameters
employeeIdstringRequiredExample: 0ab1c2d3-e4f5-6789-0123-456789abcdef
Body
bloodTypestring · enumOptionalPossible values:
citizenshipIdstringRequired

Country ID

dateOfBirthstring · dateOptional

YYYY-MM-DD

Default: 1970-01-01
foreignLabourbooleanOptionalDefault: false
genderstring · enumOptionalPossible values:
maritalStatusstring · enumRequiredPossible values:
namestring · min: 1 · max: 255Required
placeOfBirthIdstringOptional

City ID

religionIdstringRequired
Responses
chevron-right
200

OK

application/json
idstringOptional
maritalStatusstring · enumOptionalPossible values:
foreignLabourbooleanOptional
namestringOptional
dateOfBirthstring · dateOptional

YYYY-MM-DD

genderstring · enumOptionalPossible values:
bloodTypestring · enumOptionalPossible values:
effectiveDatestring · dateOptional

YYYY-MM-DD

createdBystringOptional
createdDatenumberOptional
updatedBystringOptional
updatedDatenumberOptional
put
/core/v1/employees/{employeeId}/employee-details

Last updated