Update Employees ​
Endpoint ​
PATCH /unified/hris/employees/{id}
Integrations supported
- BambooHR
- HiBob
- Microsoft Dynamics 365 Business Central
- Workable
Path parameters ​
The ID of the resource.
23423523
Query parameters ​
Refer Specifying query parameters in Truto APIs
The ID of the integrated account to use for the request.
62f44730-dd91-461e-bd6a-aedd9e0ad79d
The format of the response.
unified
will return the response with unified mappings applied.raw
will return the raw response from the remote API.normalized
will apply the unified mappings and return the data in a normalized format.
Defaults to unified
.
unified
raw
normalized
unified
Excludes the remote_data
attribute from the response.
Array of fields to exclude from the response.
truto_exclude_fields[]=id&truto_exclude_fields[]=name
Query parameters to pass to the underlying API without any transformations. Refer this guide to see how to structure the query parameters.
remote_query[foo]=bar
The unique identifier for the specific version of the resource.
Supported in
- Microsoft Dynamics 365 Business Central
Request Body ​
Refer Writing data using Unified APIsThis represents the first name of the employee
Supported in
- BambooHR
- HiBob
- Microsoft Dynamics 365 Business Central
- Workable
This represents the last name of the employee
Supported in
- BambooHR
- HiBob
- Microsoft Dynamics 365 Business Central
- Workable
The emails of the user
Supported in
- BambooHR
- HiBob
- Microsoft Dynamics 365 Business Central
- Workable
The email address
The type of email address
Whether the email address is primary
This represents the middle name of the employee
Supported in
- BambooHR
- Microsoft Dynamics 365 Business Central
The phones of the user
Supported in
- BambooHR
- Microsoft Dynamics 365 Business Central
The phone number
The extension of the phone number
The type of phone number
work
mobile
This represents date of birth
Supported in
- BambooHR
- Microsoft Dynamics 365 Business Central
- Workable
This represents the ssn
Supported in
- BambooHR
This represents gender
Supported in
- BambooHR
- Workable
This represent ethnicity
Supported in
- BambooHR
This represents marital status
Supported in
- BambooHR
- Workable
This represents the home location
Supported in
- BambooHR
- Workable
The unique identifier for locations
This represents the name of the location
The first line of home address
The second line of home address
The city of the home address
The state/province of the home address
The postal code of the home address
The country of the home address
This represents the employee number
Supported in
- BambooHR
Represents a role or employment of the employee in the company
Supported in
- BambooHR
- Workable
The unique identifier for employments
Employee associated with this employment
The unique identifier for employees
Job title of the employee
This represents the pay rate
This represents the pay period
This represents the pay frequency
This represents the pay currency
This represents the pay group
This represents the flsa status
Represents the effective date of the employment
Represents the end date of the employment
This represents the employment type
full_time
part_time
contract
internship
temporary
trainee
volunteer
per_diem
Represents why the employment ended
This represents the date when the employments was created
This represents the date when the employments was updated
This represents the employment status. If no clear mapping is available, then the raw value is returned.
active
inactive
pending
Enum support by integration
- Microsoft Dynamics 365 Business Central
active
inactive
Supported in
- BambooHR
- Microsoft Dynamics 365 Business Central
Represents the type of termination. If no clear mapping exists, then raw value is returned.
voluntary
dismissed
redundancy
end_of_contract
retirement
mutual
Supported in
- BambooHR
Represents the reason for termination
Supported in
- BambooHR
This represents the termination date
Supported in
- BambooHR
- Microsoft Dynamics 365 Business Central
Supported in
- BambooHR
This represents the groups
Supported in
- Workable
The unique identifier for groups
Group's name
Type of the group. Some underlying providers use this to differentiate between in-built and user created groups.
Represents the manager of the employee. Is also an employee.
Supported in
- Workable
The unique identifier for employees
This represents the name of the employee
This represents the start date
Supported in
- Microsoft Dynamics 365 Business Central
- Workable
Supported in
- Microsoft Dynamics 365 Business Central
This represents the work location
Supported in
- Microsoft Dynamics 365 Business Central
The unique identifier for locations
This represents the name of the location
The first line of work address
The second line of work address
The city of the work address
The state/province of the work address
The postal code of the work address
The country of the work address
Any additional data that should be passed as part of the request body. This data is not transformed by Truto and is passed as is to the remote API.
Response Body ​
The unique identifier for employees
Supported in
- HiBob
- Microsoft Dynamics 365 Business Central
- Workable
This represents the employee number
Supported in
- HiBob
- Microsoft Dynamics 365 Business Central
- Workable
This represents the company
Supported in
- HiBob
- Microsoft Dynamics 365 Business Central
The unique identifier for companies
This represents the first name of the employee
Supported in
- HiBob
- Microsoft Dynamics 365 Business Central
- Workable
This represents the middle name of the employee
Supported in
- Microsoft Dynamics 365 Business Central
This represents the last name of the employee
Supported in
- HiBob
- Microsoft Dynamics 365 Business Central
- Workable
This represents the name of the employee
Supported in
- HiBob
- Microsoft Dynamics 365 Business Central
- Workable
This represents the username
This represents the groups
Supported in
- HiBob
- Workable
The unique identifier for groups
Group's name
Type of the group. Some underlying providers use this to differentiate between in-built and user created groups.
The emails of the user
Supported in
- HiBob
- Microsoft Dynamics 365 Business Central
- Workable
The email address
The type of email address
Whether the email address is primary
The phones of the user
Supported in
- Microsoft Dynamics 365 Business Central
- Workable
The phone number
The extension of the phone number
The type of phone number
Represents a role or employment of the employee in the company
Supported in
- HiBob
- Workable
The unique identifier for employments
Employee associated with this employment
The unique identifier for employees
Job title of the employee
This represents the pay rate
This represents the pay period
This represents the pay frequency
This represents the pay currency
This represents the pay group
This represents the flsa status
Represents the effective date of the employment
Represents the end date of the employment
This represents the employment type
full_time
part_time
contract
internship
temporary
trainee
volunteer
per_diem
Represents why the employment ended
This represents the date when the employments was created
This represents the date when the employments was updated
This represents the home location
Supported in
- Workable
The unique identifier for locations
This represents the name of the location
The first line of home address
The second line of home address
The city of the home address
The state/province of the home address
The postal code of the home address
The country of the home address
This represents the work location
Supported in
- HiBob
- Microsoft Dynamics 365 Business Central
The unique identifier for locations
This represents the name of the location
The first line of work address
The second line of work address
The city of the work address
The state/province of the work address
The postal code of the work address
The country of the work address
Represents the manager of the employee. Is also an employee.
Supported in
- HiBob
- Workable
The unique identifier for employees
This represents the name of the employee
This represents the pay group
The unique identifier for pay groups
This represents the ssn
This represents gender
Supported in
- Workable
This represent ethnicity
This represents marital status
Supported in
- Workable
This represents date of birth
Supported in
- Microsoft Dynamics 365 Business Central
- Workable
This represents the start date
Supported in
- HiBob
- Microsoft Dynamics 365 Business Central
- Workable
This represents the employment status. If no clear mapping is available, then the raw value is returned.
active
inactive
pending
Supported in
- Microsoft Dynamics 365 Business Central
- Workable
This represents the termination date
Supported in
- HiBob
- Microsoft Dynamics 365 Business Central
Represents the type of termination. If no clear mapping exists, then raw value is returned.
voluntary
dismissed
redundancy
end_of_contract
retirement
mutual
Supported in
- HiBob
Represents the reason for termination
Supported in
- HiBob
This represents the avatar
Supported in
- HiBob
- Workable
The employee's tags
The tag's unique identifier
The tag's name
This represents the date when the Employee was created
Supported in
- HiBob
This represents the date when the Employee was updated
Supported in
- Microsoft Dynamics 365 Business Central
The unique identifier for the specific version of the resource.
Supported in
- Microsoft Dynamics 365 Business Central
Raw data returned from the remote API call.