Create Employees ​
Endpoint ​
POST /unified/hris/employees
Integrations supported
- BambooHR
- Workable
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
Request Body ​
Refer Writing data using Unified APIsThis represents the first name of the employee
Supported in
- BambooHR
- Workable
This represents the last name of the employee
Supported in
- BambooHR
- Workable
This represents the middle name of the employee
Supported in
- BambooHR
The emails of the user
Supported in
- BambooHR
- Workable
The email address
The type of email address
Whether the email address is primary
The phones of the user
Supported in
- BambooHR
- Workable
The phone number
The extension of the phone number
The type of phone number
This represents date of birth
Supported in
- BambooHR
- 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
Supported in
- BambooHR
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
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
- Workable
The state of the employee.
published
draft
Enum support by integration
- Workable
published
draft
Required in
- Workable
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
- Workable
This represents the employee number
Supported in
- Workable
This represents the company
The unique identifier for companies
This represents the first name of the employee
Supported in
- Workable
This represents the middle name of the employee
This represents the last name of the employee
Supported in
- Workable
This represents the name of the employee
Supported in
- Workable
This represents the username
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.
The emails of the user
Supported in
- Workable
The email address
The type of email address
Whether the email address is primary
The phones of the user
Supported in
- 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
- 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
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
- 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
- Workable
This represents the start date
Supported in
- Workable
This represents the employment status. If no clear mapping is available, then the raw value is returned.
active
inactive
pending
Supported in
- Workable
This represents the termination date
Represents the type of termination. If no clear mapping exists, then raw value is returned.
voluntary
dismissed
redundancy
end_of_contract
retirement
mutual
Represents the reason for termination
This represents the avatar
Supported in
- Workable
The employee's tags
The tag's unique identifier
The tag's name
This represents the date when the Employee was created
This represents the date when the Employee was updated
Raw data returned from the remote API call.