Loading…
Loading…
HRIS API · write, waits for approval · 100% field coverage
Your agent can update employee in OneLogin through Apideck's HRIS API, the same call it makes for every HRIS app. It changes data in the customer's OneLogin account, so it stops with the exact request until a person approves it. Apideck adds the customer's OneLogin credentials, so no token ever reaches the agent.
PATCH https://unify.apideck.com/hris/employees/{id}
Headers: x-apideck-service-id: onelogin, plus your app id and the customer's consumer id. Apideck MCP tool: hris-employees-update. Agent operation id: unified.hris.employeesUpdate.
| Parameter | In | Description |
|---|---|---|
| id · required | path | ID of the record you are acting upon. |
| Field | Type | Description |
|---|---|---|
| id | string | A unique identifier for an object. |
| first_name | string | The first name of the person. |
| last_name | string | The last name of the person. |
| middle_name | string | Middle name of the person. |
| display_name | string | The name used to display the employee, often a combination of their first and last names. |
| preferred_name | string | The name the employee prefers to be addressed by, which may be different from their legal name. |
| initials | string | The initials of the person, usually derived from their first, middle, and last names. |
| salutation | string | A formal salutation for the person. For example, 'Mr', 'Mrs' |
| title | string | The job title of the person. |
| marital_status | string | The marital status of the employee. |
| partner | object | |
| division | string | The division the person is currently in. Usually a collection of departments or teams or regions. |
| division_id | string | Unique identifier of the division this employee belongs to. |
| department | string | The department the person is currently in. [Deprecated](https://developers.apideck.com/changelog) in favor of the dedica |
| department_id | string | Unique identifier of the department ID this employee belongs to. |
| department_name | string | Name of the department this employee belongs to. |
| team | object | The team the person is currently in. |
| company_id | string | The unique identifier of the company. |
| company_name | string | The name of the company. |
| employment_start_date | string | A Start Date is the date that the employee started working at the company |
| employment_end_date | string | An End Date is the date that the employee ended working at the company |
| leaving_reason | string | The reason because the employment ended. |
| employee_number | string | An Employee Number, Employee ID or Employee Code, is a unique number that has been assigned to each individual staff mem |
| employment_status | string | The employment status of the employee, indicating whether they are currently employed, inactive, terminated, or in anoth |
| employment_role | object | |
| ethnicity | string | The ethnicity of the employee |
| manager | object | |
| direct_reports | array | Direct reports is an array of ids that reflect the individuals in an organizational hierarchy who are directly supervise |
| social_security_number | string | A unique identifier assigned by the government. This field is considered sensitive information and may be subject to spe |
| birthday | string | The date of birth of the person. |
| deceased_on | string | The date the person deceased. |
| country_of_birth | string | Country code according to ISO 3166-1 alpha-2. |
| description | string | A description of the object. |
| gender | string | The gender represents the gender identity of a person. |
| pronouns | string | The preferred pronouns of the person. |
| preferred_language | string | language code according to ISO 639-1. For the United States - EN |
| languages | array | |
| nationalities | array | |
| photo_url | string | The URL of the photo of a person. |
| timezone | string | The time zone related to the resource. The value is a string containing a standard time zone identifier, e.g. Europe/Lon |
| source | string | When the employee is imported as a new hire, this field indicates what system (e.g. the name of the ATS) this employee w |
| source_id | string | Unique identifier of the employee in the system this employee was imported from (e.g. the ID in the ATS). |
| record_url | string | |
| jobs | array | |
| compensations | array | |
| works_remote | boolean | Indicates if the employee works from a remote location. |
| addresses | array | |
| phone_numbers | array | |
| emails | array | |
| custom_fields | array | |
| social_links | array | |
| bank_accounts | array | |
| tax_code | string | |
| tax_id | string | |
| dietary_preference | string | Indicate the employee's dietary preference. |
| food_allergies | array | Indicate the employee's food allergies. |
| probation_period | object | |
| tags | array | |
| row_version | string | A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is m |
| deleted | boolean | Flag to indicate if the object is deleted. |
The same call works for each of these; only the service id changes.
BambooHRCatalystOneGustoHibob (Legacy)HumaansJumpCloudLoket.nlOfficientPersonioRemoteSage HR