Terminate Employees ​
Endpoint ​
POST /unified/hris/employees/terminate
Integrations supported
- HiBob
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 APIsThe employee id
Required in
- HiBob
This represents the termination date
Required in
- HiBob
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
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
This represents the employee number
Supported in
- HiBob
This represents the company
Supported in
- HiBob
The unique identifier for companies
This represents the first name of the employee
Supported in
- HiBob
This represents the middle name of the employee
This represents the last name of the employee
Supported in
- HiBob
This represents the name of the employee
Supported in
- HiBob
This represents the username
This represents the groups
Supported in
- HiBob
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
The email address
The type of email address
Whether the email address is primary
The phones of the user
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
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
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
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
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
This represent ethnicity
This represents marital status
This represents date of birth
This represents the start date
Supported in
- HiBob
This represents the employment status. If no clear mapping is available, then the raw value is returned.
active
inactive
pending
This represents the termination date
Supported in
- HiBob
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
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
Raw data returned from the remote API call.