| Property | Required | Details | Location |
|---|---|---|---|
uuid |
Must be a String |
URL | |
employee_id_string |
Must be a String |
JSON | |
given_name |
Must be a String |
JSON | |
middle_name |
Must be a String |
JSON | |
family_name |
Must be a String |
JSON | |
preferred_name |
Must be a String |
JSON | |
date_of_birth |
Must be a Date |
JSON | |
is_employed |
The Employee's current employment status. Must be one of: '0': Not employed '1': Employed |
JSON | |
start_date |
Must be a Date |
JSON | |
end_date |
Must be a Date |
JSON | |
gender_code |
Must be one of: '0': None '1': Male '2': Female '9': None specified |
JSON | |
primary_language |
Must be a String |
JSON | |
marital_status |
Must be a String Examples: - Domestic Partner - Divorced - Legally Separated - Married - Separated - Unmarried - Unreported - Widowed |
JSON | |
form_of_address |
Salutation. Must be a String Examples: - Mr - Mrs - Miss - Dr |
JSON | |
former_employee_id_string |
To link to a previous Employee record when an existing Employee moves to a new role. Must be a String |
JSON | |
date_of_death |
Must be a Date |
JSON | |
is_veteran |
Must be one of: '0': 'No' '1': 'Yes' |
JSON | |
is_disabled |
Must be one of: '0': 'No' '1': 'Yes' |
JSON | |
is_tobacco_user |
Must be one of: '0': 'No' '1': 'Yes' |
JSON | |
race |
Must be a String |
JSON | |
ethnicity |
Must be a String |
JSON | |
religion |
Must be a String |
JSON | |
mobility_comments |
To indicate whether the Employee is willing and able to relocate. Must be a String |
JSON | |
status |
Will default to 'active' if not set, and will automatically update based on other conditions unless overridden. Must be one of: |
JSON |
PUT /hr_api/v1/employees/:uuid
{
"employee_id_string": "123456"
}
200
{
"message": "Employee updated successfully",
"employee": {
"employee_id_string": "updated example employee id string",
"former_employee_id_string": null,
"uuid": "737c1dd0-4134-4743-849d-8e38d0e11644",
"is_employed": null,
"start_date": null,
"end_date": null,
"date_of_birth": "1976-01-05T00:00:00.000+00:00",
"date_of_death": null,
"gender_code": 1,
"is_veteran": null,
"is_disabled": null,
"is_tobacco_user": null,
"race": null,
"ethnicity": null,
"primary_language": null,
"religion": null,
"marital_status": null,
"mobility_keyword_id": null,
"mobility_comments": null,
"person_info": {
"uuid": "20317796-8abd-4f89-97bb-2b378e7c4ec4"
},
"status": "active",
"formatted_name": "John Smith",
"given_name": "John",
"family_name": "Smith",
"form_of_address": "Mr",
"middle_name": null,
"preferred_name": null
}
}