# update prehire v2 (recommend)

update the value of prehire object
**Notice**：The interface will return data according to the permission range of "Pending Staff" owned by the application. Please apply for the "Pending Staff" permission range in "Developer Background - Rights Management - Data Permissions - Feishu Personnel (Enterprise Edition) Data Permission Range" in advance.

## Request

Facts | &nbsp;
---|---
HTTP URL | https://open.feishu.cn/open-apis/corehr/v2/pre_hires/:pre_hire_id
HTTP Method | PATCH
Rate Limit | [1000 per minute & 50 per second](https://open.feishu.cn/document/ukTMukTMukTM/uUzN04SN3QjL1cDN)
Supported app types | Custom App
Required scopes<br>**To use this API, you must have at least 1 of the listed scopes.** | Update pre-onboarding employee information(corehr:pre_hire:update)

### Request header

Parameter | Type | Required | Description
---|---|---|---
Authorization | string | Yes | `tenant_access_token`<br>**Value format**: "Bearer `access_token`"<br>**Example value**: "Bearer t-7f1bcd13fc57d46bac21793a18e560"<br>[How to choose and get access token](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-choose-which-type-of-token-to-use)
Content-Type | string | Yes | **Fixed value**: "application/json; charset=utf-8"

### Path parameters

Parameter | Type | Description
---|---|---
pre_hire_id | string | prehireID<br>**Example value**: "7345005664477775411"

### Request body

Parameter | Type | Required | Description
---|---|---|---
basic_info_update | basic_info_update | No | update personal info
names | name_for_update\[\] | No | name,this value is a list and will be updated in full.If the unpassed fields originally have values, they will be cleared synchronously.
full_name | string | No | full name<br>**Example value**: "yiyi Li"
first_name | string | No | first name<br>**Example value**: "yiyi"
middle_name | string | No | middle name<br>**Example value**: "yiyi"
name_primary | string | No | last name<br>**Example value**: "Li"
local_first_name | string | No | local first name<br>**Example value**: "yiyi"
local_middle_name | string | No | local middle name<br>**Example value**: "yiyi"
local_primary | string | No | local last name<br>**Example value**: "Li"
custom_local_name | string | No | custom local name<br>**Example value**: "yiyi Li"
custom_western_name | string | No | custom west<br>**Example value**: "YiyiLi"
country_region | string | Yes | country / region<br>**Example value**: "6862995757234914824"
name_type | string | Yes | Name type, enum value<br>- legal_name<br>- preferred_name<br>- former_name<br>- additional_name<br>**Example value**: "legal_name"
additional_name | string | No | alias<br>**Example value**: "别名"
phones | phone_for_update\[\] | No | Phone, this value is a list and will be updated in full.If the unpassed fields originally have values, they will be cleared synchronously.
international_area_code | string | Yes | Country code, enum value<br>**Example value**: "86_china"
phone_number | string | Yes | telephone number<br>**Example value**: "010-12345678"
device_type | string | Yes | Device type, enum value<br>- mobile_phone<br>- landline<br>- fax<br>**Example value**: "mobile_phone"
phone_usage | string | Yes | Phone usage, enumeration value<br>- work<br>- home<br>- emergency_contact<br>- company<br>**Example value**: "work"
is_primary | boolean | Yes | Primary phone. If there are multiple phones, only one phone's "is_primary" can be true.<br>**Example value**: true
is_public | boolean | Yes | public phone number<br>**Example value**: true
emails | email_for_update\[\] | No | Mailbox, this value is a list and will be updated in full.If the unpassed fields originally have values, they will be cleared synchronously.
email | string | Yes | email address<br>**Example value**: "1234567@bytedance.com"
is_primary | boolean | Yes | Is it the primary mailbox? If there are multiple mailboxes, only one mailbox can have "is_primary" set to true.<br>**Example value**: true
is_public | boolean | Yes | Is it a public email address?<br>**Example value**: true
email_usage | string | Yes | Email usage, the enumeration value can be obtained through [Enum constant](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/feishu-people-enum-constant)<br>**Example value**: "work"
nationality_v2_id | string | No | nationality<br>**Example value**: "6862995757234914824"
additional_nationality_id_list | string\[\] | No | Other Nationalities<br>**Example value**: ["6862995757234914824"]
resident_tax_list | resident_tax_for_update\[\] | No | Tax identity information, the value is a list, will be updated in full
tax_country_region | string | No | Country/Region, it can be obtained through the [Query Country/Region Information](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/basic_info-country_region/search) interface<br>**Example value**: "6862995757234914824"
resident_status | string | No | residency<br>**Example value**: "tax_residence"
tax_address | address_for_update | No | Tax address
country_region_id | string | Yes | Country/Region, it can be obtained through the [Query Country/Region Information](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/basic_info-country_region/search) interface<br>**Example value**: "6862995757234914824"
region_id | string | No | main administrative region, it can be obtained through the [Search principal subdivision (province) information](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/basic_info-country_region_subdivision/search)interface<br>**Example value**: "6863326815667095047"
local_address_line1 | string | No | Address line 1 (non-Latin native scripts)<br>**Example value**: "丹佛测试地址-纽埃时区"
local_address_line2 | string | No | Address line 2 (non-Latin native scripts)<br>**Example value**: "PoewH"
local_address_line3 | string | No | Address line 3 (non-Latin native scripts)<br>**Example value**: "PoewH"
local_address_line4 | string | No | Address line 4 (non-Latin native scripts)<br>**Example value**: "jmwJc"
local_address_line5 | string | No | Address line 5 (non-Latin native scripts)<br>**Example value**: "jmwJc"
local_address_line6 | string | No | Address line 6 (non-Latin native scripts)<br>**Example value**: "jmwJc"
local_address_line7 | string | No | Address line 7 (non-Latin native scripts)<br>**Example value**: "jmwJc"
local_address_line8 | string | No | Address line 8 (non-Latin native scripts)<br>**Example value**: "rafSu"
local_address_line9 | string | No | Address line 9 (non-Latin native scripts)<br>**Example value**: "McPRG"
postal_code | string | No | Postal code<br>**Example value**: "611530"
address_types | string\[\] | Yes | Address type, enumeration value can query the [Get Field Details] interface to obtain, query according to the following parameters: - object_api_name = "address" - custom_api_name = "address_type"<br>**Example value**: ["home_address"]<br>**Data validation rules**:<br>- Length range: `1` ～ `1000`
is_primary | boolean | Yes | Whether primary address<br>**Example value**: true
is_public | boolean | Yes | Whether public address<br>**Example value**: true
city_id_v2 | string | No | City, you can get details through the interface [Query city information] (/ssl: ttdoc/uAjLw4CM/ukTMukTMukTM/corehr-v2/basic_info -city/search)<br>**Example value**: "6863333254578046471"
district_id_v2 | string | No | District/county, you can get details through the interface [Query District/County Information] (/ssl: ttdoc/uAjLw4CM/ukTMukTMukTM/corehr-v2/basic_info -district/search)<br>**Example value**: "6863333516579440141"
resident_status_specification | string | No | Resident tax status description<br>**Example value**: "xxx"
year_resident_tax | string | No | annual<br>**Example value**: "2006-01-01"
custom_fields | object_field_data\[\] | No | -
field_name | string | Yes | -<br>**Example value**: "name"
value | string | Yes | -<br>**Example value**: "Sandy"
born_country_region | string | No | Country of birth<br>**Example value**: "6862995757234914824"
is_disabled | boolean | No | Whether disabled<br>**Example value**: true
disable_card_number | string | No | Disability certificate number<br>**Example value**: "6862995757234914824"
is_old_alone | boolean | No | Whether lonely<br>**Example value**: true
is_martyr_family | boolean | No | Whether martyred<br>**Example value**: true
martyr_card_number | string | No | Martyred certificate number<br>**Example value**: "6862995757234914824"
dependent_list | dependent_for_update\[\] | No | family member
relationship | string | Yes | relationship<br>**Example value**: "parent"
gender | string | No | Gender<br>**Example value**: "male"
date_of_birth | string | No | birthday<br>**Example value**: "2020-01-01"
national_ids | national_id_for_update\[\] | No | national ids<br>**Data validation rules**:<br>- Length range: `1` ～ `1000`
country_region_id | string | Yes | Country/Region, it can be obtained through the [Query Country/Region Information](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/basic_info-country_region/search) interface<br>**Example value**: "6862995757234914824"
national_id_type_id | string | Yes | National id type id<br>**Example value**: "6863330041896371725"
national_id_number | string | Yes | National id number<br>**Example value**: "1231131333"
issue_date | string | No | Issue date<br>**Example value**: "2020-04-01"
expiration_date | string | No | Expiration date<br>**Example value**: "2020-05-21"
issued_by | string | No | Issued by<br>**Example value**: "北京市公安局"
custom_fields | object_field_data\[\] | No | -
field_name | string | Yes | -<br>**Example value**: "name"
value | string | Yes | -<br>**Example value**: "Sandy"
spouses_working_status | string | No | Spouses working status<br>**Example value**: "working"
is_this_person_covered_by_health_insurance | boolean | No | Whether covered by health insurance<br>**Example value**: true
is_this_person_allowed_for_tax_deduction | boolean | No | Whether allowed for tax deduction<br>**Example value**: false
dependent_name | string | No | Dependent name<br>**Example value**: "王冰"
employer | string | No | Employer<br>**Example value**: "海淀区交警大队"
job | string | No | Job<br>**Example value**: "保安"
phone | phone_for_update | No | Phone
international_area_code | string | Yes | Area code<br>**Example value**: "86_china"
phone_number | string | Yes | Phone number<br>**Example value**: "010-12345678"
device_type | string | Yes | Device type<br>**Example value**: "mobile_phone"
phone_usage | string | Yes | Phone usage<br>**Example value**: "home"
is_primary | boolean | Yes | Whether primary phone<br>**Example value**: true
is_public | boolean | Yes | Whether public phone<br>**Example value**: true
address | address_for_update | No | address
country_region_id | string | Yes | Country/Region, it can be obtained through the [Query Country/Region Information](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/basic_info-country_region/search) interface<br>**Example value**: "6862995757234914824"
region_id | string | No | main administrative region, it can be obtained through the [Search principal subdivision (province) information](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/basic_info-country_region_subdivision/search)interface<br>**Example value**: "6863326815667095047"
local_address_line1 | string | No | Address line 1 (non-Latin native scripts)<br>**Example value**: "丹佛测试地址-纽埃时区"
local_address_line2 | string | No | Address line 2 (non-Latin native scripts)<br>**Example value**: "PoewH"
local_address_line3 | string | No | Address line 3 (non-Latin native scripts)<br>**Example value**: "PoewH"
local_address_line4 | string | No | Address line 4 (non-Latin native scripts)<br>**Example value**: "jmwJc"
local_address_line5 | string | No | Address line 5 (non-Latin native scripts)<br>**Example value**: "jmwJc"
local_address_line6 | string | No | Address line 6 (non-Latin native scripts)<br>**Example value**: "jmwJc"
local_address_line7 | string | No | Address line 7 (non-Latin native scripts)<br>**Example value**: "jmwJc"
local_address_line8 | string | No | Address line 8 (non-Latin native scripts)<br>**Example value**: "rafSu"
local_address_line9 | string | No | Address line 9 (non-Latin native scripts)<br>**Example value**: "McPRG"
postal_code | string | No | Postal code<br>**Example value**: "611530"
address_types | string\[\] | Yes | Address type, enumeration value can query the [Get Field Details] interface to obtain, query according to the following parameters: - object_api_name = "address" - custom_api_name = "address_type"<br>**Example value**: ["home_address"]<br>**Data validation rules**:<br>- Length range: `1` ～ `1000`
is_primary | boolean | Yes | main address<br>**Example value**: true
is_public | boolean | Yes | public address<br>**Example value**: true
city_id_v2 | string | No | city<br>**Example value**: "6863333254578046471"
district_id_v2 | string | No | District/County<br>**Example value**: "6863333516579440141"
custom_fields | object_field_data\[\] | No | -
field_name | string | Yes | -<br>**Example value**: "name"
value | string | Yes | -<br>**Example value**: "Sandy"
religion | string | No | Religion<br>**Example value**: "6862995757234914824"
bank_account_list | bank_account_for_update\[\] | No | Bank account list
bank_name | string | No | Bank name<br>**Example value**: "中国农业银行"
branch_name | string | No | Branch name<br>**Example value**: "中国农业银行支行"
bank_account_number | string | Yes | Bank account number<br>**Example value**: "6231200000001223"
account_holder | string | Yes | Account holder<br>**Example value**: "孟十五"
country_region_id | string | No | Country region id<br>**Example value**: "6862995745889322510"
bank_account_usages | string\[\] | No | Bank account usage<br>**Example value**: ["payment"]<br>**Data validation rules**:<br>- Length range: `0` ～ `100`
bank_account_type | string | No | Bank account type<br>**Example value**: "checking"
custom_fields | object_field_data\[\] | No | -
field_name | string | Yes | -<br>**Example value**: "name"
value | string | Yes | -<br>**Example value**: "Sandy"
national_id_list | national_id_for_update\[\] | No | national id list
country_region_id | string | Yes | Country/Region, it can be obtained through the [Query Country/Region Information](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/basic_info-country_region/search) interface<br>**Example value**: "6862995757234914824"
national_id_type_id | string | Yes | national id type id<br>**Example value**: "6863330041896371725"
national_id_number | string | Yes | national id number<br>**Example value**: "1231131333"
issue_date | string | No | issue date<br>**Example value**: "2020-04-01"
expiration_date | string | No | expiration date<br>**Example value**: "2020-05-21"
issued_by | string | No | issued by<br>**Example value**: "北京市公安局"
custom_fields | object_field_data\[\] | No | -
field_name | string | Yes | -<br>**Example value**: "name"
value | string | Yes | -<br>**Example value**: "Sandy"
personal_profile_list | personal_profile_for_update\[\] | No | Personal profile list
personal_profile_type | string | No | Personal profile type<br>**Example value**: "1"
files | file\[\] | No | Files<br>**Data validation rules**:<br>- Length range: `0` ～ `1000`
id | string | No | File ID<br>**Example value**: "150018109586e8ea745e47ae8feb3722dbe1d03a181336393633393133303431393831343930373235150200"
emergency_contact_list | emergency_contact_for_update\[\] | No | Emergency contact list
legal_name | string | No | legal name<br>**Example value**: "王冰"
relationship | string | No | Relationship<br>**Example value**: "x"
phones | phone_for_update\[\] | No | Phone<br>**Data validation rules**:<br>- Length range: `0` ～ `1000`
international_area_code | string | Yes | Area code<br>**Example value**: "86_china"
phone_number | string | Yes | Phone number<br>**Example value**: "010-12345678"
device_type | string | Yes | Device type<br>**Example value**: "mobile_phone"
phone_usage | string | Yes | Phone usage<br>**Example value**: "home"
is_primary | boolean | Yes | Primary phone number. If there are multiple phones, only one phone's "is_primary" can be true.<br>**Example value**: true
is_public | boolean | Yes | Whether public phone<br>**Example value**: true
address | address_for_update | No | Address
country_region_id | string | Yes | Country/Region, it can be obtained through the [Query Country/Region Information](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/basic_info-country_region/search) interface<br>**Example value**: "6862995757234914824"
region_id | string | No | main administrative region, it can be obtained through the [Search principal subdivision (province) information](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/basic_info-country_region_subdivision/search)interface<br>**Example value**: "6863326815667095047"
local_address_line1 | string | No | Address line 1 (non-Latin native scripts)<br>**Example value**: "丹佛测试地址-纽埃时区"
local_address_line2 | string | No | Address line 2 (non-Latin native scripts)<br>**Example value**: "PoewH"
local_address_line3 | string | No | Address line 3 (non-Latin native scripts)<br>**Example value**: "PoewH"
local_address_line4 | string | No | Address line 4 (non-Latin native scripts)<br>**Example value**: "jmwJc"
local_address_line5 | string | No | Address line 5 (non-Latin native scripts)<br>**Example value**: "jmwJc"
local_address_line6 | string | No | Address line 6 (non-Latin native scripts)<br>**Example value**: "jmwJc"
local_address_line7 | string | No | Address line 7 (non-Latin native scripts)<br>**Example value**: "jmwJc"
local_address_line8 | string | No | Address line 8 (non-Latin native scripts)<br>**Example value**: "rafSu"
local_address_line9 | string | No | Address line 9 (non-Latin native scripts)<br>**Example value**: "McPRG"
postal_code | string | No | Postal code<br>**Example value**: "611530"
address_types | string\[\] | Yes | Address type, the enumeration value can be queried by the [Get Field Details](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom_field/get_by_param)interface, and can be queried according to the following parameters:<br>- object_api_name: address<br>- custom_api_name: address_type<br>**Example value**: ["home_address"]<br>**Data validation rules**:<br>- Length range: `1` ～ `1000`
is_primary | boolean | Yes | Whether primary address<br>**Example value**: true
is_public | boolean | Yes | Whether public address<br>**Example value**: true
city_id_v2 | string | No | city<br>**Example value**: "6863333254578046471"
district_id_v2 | string | No | District/County<br>**Example value**: "6863333516579440141"
email | email_for_update | No | Email
email | string | Yes | Email address<br>**Example value**: "1234567@bytedance.com"
is_primary | boolean | Yes | Whether primary email<br>**Example value**: true
is_public | boolean | Yes | Whether public email<br>**Example value**: true
email_usage | string | Yes | Email usage, the enumeration value can be queried by the [Get Field Details](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom_field/get_by_param)interface, and can be queried according to the following parameters:<br>- object_api_name: email<br>- custom_api_name: email_usage<br>**Example value**: "work"
is_primary | boolean | No | Primary contact, if there are multiple contacts, only one contact's is_primary is true<br>**Example value**: true
custom_fields | object_field_data\[\] | No | -
field_name | string | Yes | -<br>**Example value**: "name"
value | string | Yes | -<br>**Example value**: "Sandy"
address_list | address_for_update\[\] | No | Address list
country_region_id | string | Yes | Country/Region, it can be obtained through the [Query Country/Region Information](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/basic_info-country_region/search) interface<br>**Example value**: "6862995757234914824"
region_id | string | No | main administrative region, it can be obtained through the [Search principal subdivision (province) information](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/basic_info-country_region_subdivision/search)interface<br>**Example value**: "6863326815667095047"
local_address_line1 | string | No | Address line 1 (non-Latin native scripts)<br>**Example value**: "丹佛测试地址-纽埃时区"
local_address_line2 | string | No | Address line 2 (non-Latin native scripts)<br>**Example value**: "PoewH"
local_address_line3 | string | No | Address line 3 (non-Latin native scripts)<br>**Example value**: "PoewH"
local_address_line4 | string | No | Address line 4 (non-Latin native scripts)<br>**Example value**: "jmwJc"
local_address_line5 | string | No | Address line 5 (non-Latin native scripts)<br>**Example value**: "jmwJc"
local_address_line6 | string | No | Address line 6 (non-Latin native scripts)<br>**Example value**: "jmwJc"
local_address_line7 | string | No | Address line 7 (non-Latin native scripts)<br>**Example value**: "jmwJc"
local_address_line8 | string | No | Address line 8 (non-Latin native scripts)<br>**Example value**: "rafSu"
local_address_line9 | string | No | Address line 9 (non-Latin native scripts)<br>**Example value**: "McPRG"
postal_code | string | No | Postal code<br>**Example value**: "611530"
address_types | string\[\] | Yes | Address type, the enumeration value can be queried by the [Get Field Details](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom_field/get_by_param)interface, and can be queried according to the following parameters:<br>- object_api_name: address<br>- custom_api_name: address_type<br>**Example value**: ["home_address"]<br>**Data validation rules**:<br>- Length range: `1` ～ `1000`
is_primary | boolean | Yes | Whether primary address<br>**Example value**: true
is_public | boolean | Yes | Whether public address<br>**Example value**: true
city_id_v2 | string | No | city<br>**Example value**: "6863333254578046471"
district_id_v2 | string | No | District/County<br>**Example value**: "6863333516579440141"
marital_status | string | No | Marital status, the enumeration value can be queried by the [Get Field Details](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom_field/get_by_param)interface, and can be queried according to the following parameters:<br>- object_api_name: person<br>- custom_api_name: marital_status<br>**Example value**: "6862995757234914824"
ethnicity_race | string | No | Ethnicity race, the enumeration value can be queried by the [Get Field Details](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom_field/get_by_param)interface, and can be queried according to the following parameters:<br>- object_api_name: person<br>- custom_api_name: ethnicity_race<br>**Example value**: "6862995757234914824"
custom_fields | object_field_data\[\] | No | Custom fields
field_name | string | Yes | Field name<br>**Example value**: "name"
value | string | Yes | Field value, it is a string after json escape, the field format is different depending on the metadata definition (123, 123.23, true, [\"id1\",\"id2\], 2006-01-02 15:04:05])<br>**Example value**: "Sandy"
native_region | string | No | Native region, it can be obtained through the [Search principal subdivision (province) information](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/basic_info-country_region_subdivision/search)interface<br>**Example value**: "6862995757234914824"
hukou_type | string | No | Hukou type, the enumeration value can be queried by the [Get Field Details](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom_field/get_by_param)interface, and can be queried according to the following parameters:<br>- object_api_name: person_info_chn<br>- custom_api_name: hukou_type<br>**Example value**: "6862995757234914824"
hukou_location | string | No | Hukou location<br>**Example value**: "6862995757234914824"
gender_id | string | No | Gender, enumeration value can be queried [Get Field Details] (/ssl: ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom_field/get_by_param) interface to obtain, query according to the following parameters:<br>- object_api_name: dependent<br>- custom_api_name: gender<br>**Example value**: "Male"
date_of_birth | string | No | birthday<br>**Example value**: "2011-99-99"
date_entered_workforce | string | No | Attendance date<br>**Example value**: "2100-09-09"
expected_graduate_date | string | No | Expected graduation date<br>**Example value**: "2023-01-10"
citizenship_status_id_list | string\[\] | No | citizenship<br>**Example value**: ["6862995757234914824"]
work_experience | work_experience_for_update\[\] | No | work history
company_name | string | No | Company name<br>**Example value**: "cheetah"
start_time | string | No | start time<br>**Example value**: "2015-02-01"
end_time | string | No | end time<br>**Example value**: "2017-02-01"
job_title | string | No | position<br>**Example value**: "Product Manager"
description | string | No | Job Description<br>**Example value**: "App"
department | string | No | department<br>**Example value**: "Department name"
education_info | education_info_for_update\[\] | No | Educational experience
school_name | string | No | School name<br>**Example value**: "Chang'an University"
education | string | No | Education, enumeration values can be obtained from the document [Introduction to enumeration constants] (/ssl: ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/feishu-people-enum-constant) Education (level_of_education) enumeration definition<br>**Example value**: "phd"
start_time | string | No | start time<br>**Example value**: "2017-04-01"
end_time | string | No | end time<br>**Example value**: "2018-04-01"
field_of_study | string | No | professional<br>**Example value**: "Medical Imaging Technology"
offer_info_update | offer_info_update | No | Email usage, the enumeration value can be obtained through the document [Feishu Personnel Enumeration Constants] Email Usage (email_usage) enumeration definition
onboarding_date | string | No | Update prehire information<br>**Example value**: "2022-10-08"
ats_application_id | string | No | Recruitment Application ID<br>**Example value**: "7140946969586010375"
onboarding_location_id | string | No | Job location ID, detailed information can be obtained through [Batch Query Location](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/location/list)<br>**Example value**: "6977976687350924832"
onboarding_address_id | string | No | Entry address ID, detailed information can be obtained through the [Batch Query Address] interface<br>**Example value**: "6977976687350924832"
office_location_id | string | No | Office location ID, detailed information can be obtained through [Batch Query Location](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/location/list)<br>**Example value**: "6977976687350924833"
office_address_id | string | No | Office address ID, detailed information can be obtained through the [Batch Query Address]<br>**Example value**: "6977976687350924832"
employment_type | string | No | Employment type, obtain the enumeration apiName through [Enum constant](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/feishu-people-enum-constant)<br>- employee<br>- contingent_worker<br>**Example value**: "employee"
onboarding_method | string | No | Onboarding method, obtain the enumeration apiName through[Enum constant](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/feishu-people-enum-constant)<br>- onsite<br>- remote<br>**Example value**: "onsite"
work_emails | email_for_update\[\] | No | work email
email | string | Yes | email address<br>**Example value**: "1234567@bytedance.com"
is_primary | boolean | Yes | Is it the primary mailbox? If there are multiple mailboxes, only one mailbox can have "is_primary" set to true.<br>**Example value**: true
is_public | boolean | Yes | Is it a public email address?<br>**Example value**: true
email_usage | string | Yes | Email usage, the enumeration value can be obtained through [Enum constant](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/feishu-people-enum-constant)<br>**Example value**: "work"
cost_center_rates | job_data_cost_center\[\] | No | Cost center allocation information only supports commercial tenants<br>- To be deprecated, it is recommended to use cost_allocation
cost_center_id | string | No | The cost center ID can be obtained through the [Inquire about cost center information](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/cost_center/search) interface<br>**Example value**: "6950635856373745165"
rate | int | No | Apportionment ratio<br>**Example value**: 100
new_rate | number(float) | No | -<br>**Example value**: 50.2
custom_fields | object_field_data\[\] | No | Custom fields
field_name | string | Yes | Field name<br>**Example value**: "name"
value | string | Yes | Field value, which is an escaped string of a string list. For details, please refer to the request body example.<br>**Example value**: "[\"Sandy\"]"
position_id | string | No | Position id<br>**Example value**: "697797668735092768"
probation_period | int | No | Probation period<br>**Example value**: 697797668735092768
probation_start_date | string | No | Probation start date<br>**Example value**: "xxx"
probation_end_date | string | No | Probation end date<br>**Example value**: "xxx"
contract_start_date | string | No | Contract start date<br>**Example value**: "xxx"
contract_end_date | string | No | Contract end date<br>**Example value**: "xxx"
contract_type | string | No | Contract type, the enumeration value can be queried by the [Get Field Details](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom_field/get_by_param)interface, and can be queried according to the following parameters:<br>- object_api_name: pre_hire<br>- custom_api_name: contract_type<br>**Example value**: "xxx"
duration_type_id | string | No | Duration type, the enumeration value can be queried by the [Get Field Details](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom_field/get_by_param)interface, and can be queried according to the following parameters:<br>- object_api_name: pre_hire<br>- custom_api_name: duration_type<br>**Example value**: "xxx"
signing_type_id | string | No | Signing type, the enumeration value can be queried by the [Get Field Details](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom_field/get_by_param)interface, and can be queried according to the following parameters:<br>- object_api_name: pre_hire<br>- custom_api_name: signing_type<br>**Example value**: "xxx"
worker_id | string | No | Worker id<br>**Example value**: "xxx"
check_in_time | string | No | Check in time<br>**Example value**: "xxx"
check_in_method | string | No | Check in method, the enumeration value can be queried by the [Get Field Details](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom_field/get_by_param)interface, and can be queried according to the following parameters:<br>- object_api_name: pre_hire<br>- custom_api_name: onboarding_method<br>**Example value**: "xxx"
company | string | No | Company, it can be obtained through the [Get company list](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/company/list)interface<br>**Example value**: "xxx"
work_shift | string | No | Work shift, the enumeration value can be queried by the [Get Field Details](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom_field/get_by_param)interface, and can be queried according to the following parameters:<br>- object_api_name: pre_hire<br>- custom_api_name: work_shift<br>**Example value**: "xxx"
recruitment_type_id | string | No | Recruitment type id, the enumeration value can be queried by the [Get Field Details](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom_field/get_by_param)interface, and can be queried according to the following parameters:<br>- object_api_name: pre_hire<br>- custom_api_name: recruitment_type<br>**Example value**: "xxx"
compensation_type | string | No | Pay group id, the enumeration value can be queried by the [Get Field Details](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom_field/get_by_param)interface, and can be queried according to the following parameters:<br>- object_api_name: pre_hire<br>- custom_api_name: compensation_type<br>**Example value**: "xxx"
pay_group_id | string | No | Pay group id<br>**Example value**: "xxx"
offer_hr_id | string | No | Offer HR ID, it can be obtained through the [Batch access to employee information through employee ID](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/employee/batch_get)interface<br>**Example value**: "xxx"
job_id | string | No | Job ID, it can be obtained through the [Get the list of job profile](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/job/list)interface<br>**Example value**: "xxx"
job_family_id | string | No | Job Family ID, it can be obtained through the [Get the list of job sequence](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/job_family/list)interface<br>**Example value**: "xxx"
job_level_id | string | No | Job Level ID, it can be obtained through the [Get the list of job level](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/job_level/list)interface<br>**Example value**: "xxx"
job_grade_id | string | No | Job Grade ID, it can be obtained through the [Get the job grade](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/job_grade/query)interface<br>**Example value**: "xxx"
employee_type_id | string | No | Employee type id,<br>**Example value**: "xxx"
employee_subtype_id | string | No | personnel subtype<br>**Example value**: "XXX"
direct_leader_id | string | No | Direct leader id<br>**Example value**: "xxx"
dotted_line_manager_id | string | No | Dotted-line manager, you can get details through the [Search Employee Information] (https://open.feishu.cn/document/server-docs/corehr-v1/employee/search) interface<br>- Function grey release, if you need it, please contact [Technical Support] (https://applink.feishu.cn/TLJpeNdW)<br>**Example value**: "XXX"
department_id | string | No | Department id<br>**Example value**: "xxx"
social_security_city | string | No | Social security city<br>**Example value**: "xxx"
work_location_id | string | No | Work location id<br>**Example value**: "xxx"
working_calendar | string | No | Working calendar<br>**Example value**: "xxx"
working_hours_type | string | No | Working hours type<br>**Example value**: "xxx"
seniority_date | string | No | Tenure commencement date<br>**Example value**: "2022-10-08"
seniority_adjust_information_list | prehire_seniority_adjust_information_update\[\] | No | Tenure adjustment information<br>- Function grey release, if you need it, please contact [Technical Support] (https://applink.feishu.cn/TLJpeNdW)
seniority_adjustment | number(float) | No | Adjustment value<br>- precision: two decimal places<br>- Unit: year<br>Automatic calculation logic: If this value is null and the start and end dates of the tenure adjustment are not null, the adjustment value will be automatically calculated<br>**Example value**: 0.5<br>**Data validation rules**:<br>- Value range: `0` ～ `100`
seniority_adjustment_type | string | Yes | Adjustment type<br>- You can query through the [[Get Field Details]] (/ssl: ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom_field/get_by_param) interface, the query parameters are as follows:<br>- object_api_name: seniority_adjust_information<br>- custom_api_name: seniority_adjustment_type<br>**Example value**: "increase"<br>**Optional values are**:<br>- decrease：reduce<br>- increase：increase
reasons_for_seniority_adjustment | string | No | Tenure adjustment reasons<br>**Example value**: "Factory shutdown needs to subtract half a year of work"
start_date | string | No | Start Date<br>- Format: yyyy-mm-dd<br>**Example value**: "2024-05-19"
end_date | string | No | end date<br>- Format: yyyy-mm-dd<br>**Example value**: "2024-11-18"
custom_fields | object_field_data\[\] | No | -
field_name | string | Yes | -<br>**Example value**: "name"
value | string | Yes | -<br>**Example value**: "Sandy"
notice_period_probation_voluntary | notice_period_detail | No | Notice period within probation period (voluntary separation)<br>- Function grey release, if you need it, please contact [Technical Support] (https://applink.feishu.cn/TLJpeNdW)<br>**Example value**: xxx
wk_id | string | No | ID<br>**Example value**: "4698019107896524633"
value | int | No | numerical value<br>**Example value**: 1<br>**Data validation rules**:<br>- Value range: `1` ～ `65535`
value_unit | string | No | unit<br>**Example value**: "月"
notice_period_probation_involuntary | notice_period_detail | No | Notice period within probation period (passive separation)<br>- Function grey release, if you need it, please contact [Technical Support] (https://applink.feishu.cn/TLJpeNdW)<br>**Example value**: xxx
wk_id | string | No | ID<br>**Example value**: "4698019107896524633"
value | int | No | numerical value<br>**Example value**: 1<br>**Data validation rules**:<br>- Value range: `1` ～ `65535`
value_unit | string | No | unit<br>**Example value**: "月"
notice_period_positive_voluntary | notice_period_detail | No | Notification period after regularization (voluntary resignation)<br>- Function grey release, if you need it, please contact [Technical Support] (https://applink.feishu.cn/TLJpeNdW)<br>**Example value**: xxx
wk_id | string | No | ID<br>**Example value**: "4698019107896524633"
value | int | No | numerical value<br>**Example value**: 1<br>**Data validation rules**:<br>- Value range: `1` ～ `65535`
value_unit | string | No | unit<br>**Example value**: "月"
notice_period_positive_involuntary | notice_period_detail | No | Post-regularization notice period (passive resignation)<br>- Function grey release, if you need it, please contact [Technical Support] (https://applink.feishu.cn/TLJpeNdW)<br>**Example value**: xxx
wk_id | string | No | ID<br>**Example value**: "4698019107896524633"
value | int | No | numerical value<br>**Example value**: 1<br>**Data validation rules**:<br>- Value range: `1` ～ `65535`
value_unit | string | No | unit<br>**Example value**: "月"
condition_worker | boolean | No | Is it an external person?<br>**Example value**: true
company_sponsored_visa | boolean | No | A company visa is required.<br>**Example value**: true
weekly_working_hours_v2 | number(float) | No | Weekly working hours (in hours)<br>**Example value**: 8.5
work_station | string | No | Workstation<br>**Example value**: "5-1-2"
service_company | string | No | The company you work for can query through the [batch query company] (/ssl: ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/company/list) interface<br>**Example value**: "6738317738688661772"
non_compete_covenant | boolean | No | Does it include a non-compete clause?<br>**Example value**: true
pathway | string | No | -<br>**Example value**: "7460865381179115052"
default_cost_center | prehire_default_cost_center_update | No | Default cost center<br>- Function grey release, if you need it, please contact [Technical Support](https://applink.feishu.cn/TLJpeNdW)
cost_center_id | string | Yes | The cost center ID can be obtained through the [Inquire about cost center information](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/cost_center/search) interface<br>**Example value**: "6950635856373745165"
is_herit | boolean | Yes | Whether to inherit the default business of the position/department<br>**Example value**: false
cost_allocation | cost_allocation | No | Cost allocation<br>- Function grey release, if you need it, please contact [Technical Support](https://applink.feishu.cn/TLJpeNdW)
effective_time | string | No | -<br>**Example value**: "2025-01-01"
expiration_time | string | No | -<br>**Example value**: "2025-02-01"
cost_center_rates | job_data_cost_center\[\] | No | -<br>**Data validation rules**:<br>- Length range: `0` ～ `50`
cost_center_id | string | No | The cost center ID can be obtained through the [Inquire about cost center information](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/cost_center/search) interface<br>**Example value**: "6950635856373745165"
rate | int | No | -<br>**Example value**: 100
new_rate | number(float) | No | -<br>**Example value**: 50.2
reuse_feishu_account | string | No | Whether to reuse Lark account, support value are "resue" and "not_reuse". If the field value is "reuse"，reused Lark account is required.<br>- Function grey release, if you need it, please contact [Technical Support](https://applink.feishu.cn/TLJpeNdW)<br>**Example value**: "reuse"
reused_feishu_account_id | string | No | Reused Lark account, only supports Lark Union ID, it can be obtained through the [Search Employee Information](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/directory-v1/employee/search) interface.<br>- Function grey release, if you need it, please contact [Technical Support](https://applink.feishu.cn/TLJpeNdW)<br>**Example value**: "on_773dd2c4d14c5c980a4d89a2da5c86d3"
standard_update_fields | string\[\] | No | Specify the system fields that need to be updated. It only supports drilling down to one level. The format is as follows:<br>- basic_info_update field: basic_info_update.names (overwrite and update the entire name); basic_info_update.emails (update the entire mailbox)<br>- offer_info_update field: offer_info_update.onboarding_method<br>Note that if a system field to be updated is specified but the corresponding value is not passed in the structure, the value of the field will be cleared.<br>**Example value**: ["basic_info_update.names"]
custom_update_fields | string\[\] | No | Specify the custom field on the PreHire object that needs to be updated, in the following format:<br>- custom_field1__c<br>Note that if a custom field to be updated is specified but the corresponding value is not passed in the structure, the value of the field will be cleared.<br>**Example value**: ["custom_field1__c"]
person_custom_update_fields | string\[\] | No | Specify the custom field on the Person object that needs to be updated, in the following format: - custom_field1__c<br>**Example value**: ["custom_field1__c"]

### Request body example
```json
{
    "basic_info_update": {
        "names": [
            {
                "full_name": "yiyi Li",
                "first_name": "yiyi",
                "middle_name": "yiyi",
                "name_primary": "Li",
                "local_first_name": "yiyi",
                "local_middle_name": "yiyi",
                "local_primary": "Li",
                "custom_local_name": "yiyi Li",
                "custom_western_name": "YiyiLi",
                "country_region": "6862995757234914824",
                "name_type": "legal_name",
                "additional_name": "别名"
            }
        ],
        "phones": [
            {
                "international_area_code": "86_china",
                "phone_number": "010-12345678",
                "device_type": "mobile_phone",
                "phone_usage": "work",
                "is_primary": true,
                "is_public": true
            }
        ],
        "emails": [
            {
                "email": "1234567@bytedance.com",
                "is_primary": true,
                "is_public": true,
                "email_usage": "work"
            }
        ],
        "nationality_v2_id": "6862995757234914824",
        "additional_nationality_id_list": [
            "6862995757234914824"
        ],
        "resident_tax_list": [
            {
                "tax_country_region": "6862995757234914824",
                "resident_status": "tax_residence",
                "tax_address": {
                    "country_region_id": "6862995757234914824",
                    "region_id": "6863326815667095047",
                    "local_address_line1": "丹佛测试地址-纽埃时区",
                    "local_address_line2": "PoewH",
                    "local_address_line3": "PoewH",
                    "local_address_line4": "jmwJc",
                    "local_address_line5": "jmwJc",
                    "local_address_line6": "jmwJc",
                    "local_address_line7": "jmwJc",
                    "local_address_line8": "rafSu",
                    "local_address_line9": "McPRG",
                    "postal_code": "611530",
                    "address_types": [
                        "home_address"
                    ],
                    "is_primary": true,
                    "is_public": true,
                    "city_id_v2": "6863333254578046471",
                    "district_id_v2": "6863333516579440141"
                },
                "resident_status_specification": "xxx",
                "year_resident_tax": "2006-01-01",
                "custom_fields": [
                    {
                        "field_name": "name",
                        "value": "Sandy"
                    }
                ]
            }
        ],
        "born_country_region": "6862995757234914824",
        "is_disabled": true,
        "disable_card_number": "6862995757234914824",
        "is_old_alone": true,
        "is_martyr_family": true,
        "martyr_card_number": "6862995757234914824",
        "dependent_list": [
            {
                "relationship": "parent",
                "gender": "male",
                "date_of_birth": "2020-01-01",
                "national_ids": [
                    {
                        "country_region_id": "6862995757234914824",
                        "national_id_type_id": "6863330041896371725",
                        "national_id_number": "1231131333",
                        "issue_date": "2020-04-01",
                        "expiration_date": "2020-05-21",
                        "issued_by": "北京市公安局",
                        "custom_fields": [
                            {
                                "field_name": "name",
                                "value": "Sandy"
                            }
                        ]
                    }
                ],
                "spouses_working_status": "working",
                "is_this_person_covered_by_health_insurance": true,
                "is_this_person_allowed_for_tax_deduction": false,
                "dependent_name": "王冰",
                "employer": "海淀区交警大队",
                "job": "保安",
                "phone": {
                    "international_area_code": "86_china",
                    "phone_number": "010-12345678",
                    "device_type": "mobile_phone",
                    "phone_usage": "home",
                    "is_primary": true,
                    "is_public": true
                },
                "address": {
                    "country_region_id": "6862995757234914824",
                    "region_id": "6863326815667095047",
                    "local_address_line1": "丹佛测试地址-纽埃时区",
                    "local_address_line2": "PoewH",
                    "local_address_line3": "PoewH",
                    "local_address_line4": "jmwJc",
                    "local_address_line5": "jmwJc",
                    "local_address_line6": "jmwJc",
                    "local_address_line7": "jmwJc",
                    "local_address_line8": "rafSu",
                    "local_address_line9": "McPRG",
                    "postal_code": "611530",
                    "address_types": [
                        "home_address"
                    ],
                    "is_primary": true,
                    "is_public": true,
                    "city_id_v2": "6863333254578046471",
                    "district_id_v2": "6863333516579440141"
                },
                "custom_fields": [
                    {
                        "field_name": "name",
                        "value": "Sandy"
                    }
                ]
            }
        ],
        "religion": "6862995757234914824",
        "bank_account_list": [
            {
                "bank_name": "中国农业银行",
                "branch_name": "中国农业银行支行",
                "bank_account_number": "6231200000001223",
                "account_holder": "孟十五",
                "country_region_id": "6862995745889322510",
                "bank_account_usages": [
                    "payment"
                ],
                "bank_account_type": "checking",
                "custom_fields": [
                    {
                        "field_name": "name",
                        "value": "Sandy"
                    }
                ]
            }
        ],
        "national_id_list": [
            {
                "country_region_id": "6862995757234914824",
                "national_id_type_id": "6863330041896371725",
                "national_id_number": "1231131333",
                "issue_date": "2020-04-01",
                "expiration_date": "2020-05-21",
                "issued_by": "北京市公安局",
                "custom_fields": [
                    {
                        "field_name": "name",
                        "value": "Sandy"
                    }
                ]
            }
        ],
        "personal_profile_list": [
            {
                "personal_profile_type": "1",
                "files": [
                    {
                        "id": "150018109586e8ea745e47ae8feb3722dbe1d03a181336393633393133303431393831343930373235150200"
                    }
                ]
            }
        ],
        "emergency_contact_list": [
            {
                "legal_name": "王冰",
                "relationship": "x",
                "phones": [
                    {
                        "international_area_code": "86_china",
                        "phone_number": "010-12345678",
                        "device_type": "mobile_phone",
                        "phone_usage": "home",
                        "is_primary": true,
                        "is_public": true
                    }
                ],
                "address": {
                    "country_region_id": "6862995757234914824",
                    "region_id": "6863326815667095047",
                    "local_address_line1": "丹佛测试地址-纽埃时区",
                    "local_address_line2": "PoewH",
                    "local_address_line3": "PoewH",
                    "local_address_line4": "jmwJc",
                    "local_address_line5": "jmwJc",
                    "local_address_line6": "jmwJc",
                    "local_address_line7": "jmwJc",
                    "local_address_line8": "rafSu",
                    "local_address_line9": "McPRG",
                    "postal_code": "611530",
                    "address_types": [
                        "home_address"
                    ],
                    "is_primary": true,
                    "is_public": true,
                    "city_id_v2": "6863333254578046471",
                    "district_id_v2": "6863333516579440141"
                },
                "email": {
                    "email": "1234567@bytedance.com",
                    "is_primary": true,
                    "is_public": true,
                    "email_usage": "work"
                },
                "is_primary": true,
                "custom_fields": [
                    {
                        "field_name": "name",
                        "value": "Sandy"
                    }
                ]
            }
        ],
        "address_list": [
            {
                "country_region_id": "6862995757234914824",
                "region_id": "6863326815667095047",
                "local_address_line1": "丹佛测试地址-纽埃时区",
                "local_address_line2": "PoewH",
                "local_address_line3": "PoewH",
                "local_address_line4": "jmwJc",
                "local_address_line5": "jmwJc",
                "local_address_line6": "jmwJc",
                "local_address_line7": "jmwJc",
                "local_address_line8": "rafSu",
                "local_address_line9": "McPRG",
                "postal_code": "611530",
                "address_types": [
                    "home_address"
                ],
                "is_primary": true,
                "is_public": true,
                "city_id_v2": "6863333254578046471",
                "district_id_v2": "6863333516579440141"
            }
        ],
        "marital_status": "6862995757234914824",
        "ethnicity_race": "6862995757234914824",
        "custom_fields": [
            {
                "field_name": "name",
                "value": "Sandy"
            }
        ],
        "native_region": "6862995757234914824",
        "hukou_type": "6862995757234914824",
        "hukou_location": "6862995757234914824",
        "gender_id": "Male",
        "date_of_birth": "2011-99-99",
        "date_entered_workforce": "2100-09-09",
        "expected_graduate_date": "2023-01-10",
        "citizenship_status_id_list": [
            "6862995757234914824"
        ],
        "work_experience": [
            {
                "company_name": "cheetah",
                "start_time": "2015-02-01",
                "end_time": "2017-02-01",
                "job_title": "Product Manager",
                "description": "App",
                "department": "Department name"
            }
        ],
        "education_info": [
            {
                "school_name": "Chang'an University",
                "education": "phd",
                "start_time": "2017-04-01",
                "end_time": "2018-04-01",
                "field_of_study": "Medical Imaging Technology"
            }
        ]
    },
    "offer_info_update": {
        "onboarding_date": "2022-10-08",
        "ats_application_id": "7140946969586010375",
        "onboarding_location_id": "6977976687350924832",
        "onboarding_address_id": "6977976687350924832",
        "office_location_id": "6977976687350924833",
        "office_address_id": "6977976687350924832",
        "employment_type": "employee",
        "onboarding_method": "onsite",
        "work_emails": [
            {
                "email": "1234567@bytedance.com",
                "is_primary": true,
                "is_public": true,
                "email_usage": "work"
            }
        ],
        "cost_center_rates": [
            {
                "cost_center_id": "6950635856373745165",
                "rate": 100,
                "new_rate": 50.2
            }
        ],
        "custom_fields": [
            {
                "field_name": "name",
                "value": "[\"Sandy\"]"
            }
        ],
        "position_id": "697797668735092768",
        "probation_period": 697797668735092768,
        "probation_start_date": "xxx",
        "probation_end_date": "xxx",
        "contract_start_date": "xxx",
        "contract_end_date": "xxx",
        "contract_type": "xxx",
        "duration_type_id": "xxx",
        "signing_type_id": "xxx",
        "worker_id": "xxx",
        "check_in_time": "xxx",
        "check_in_method": "xxx",
        "company": "xxx",
        "work_shift": "xxx",
        "recruitment_type_id": "xxx",
        "compensation_type": "xxx",
        "pay_group_id": "xxx",
        "offer_hr_id": "xxx",
        "job_id": "xxx",
        "job_family_id": "xxx",
        "job_level_id": "xxx",
        "job_grade_id": "xxx",
        "employee_type_id": "xxx",
        "employee_subtype_id": "XXX",
        "direct_leader_id": "xxx",
        "dotted_line_manager_id": "XXX",
        "department_id": "xxx",
        "social_security_city": "xxx",
        "work_location_id": "xxx",
        "working_calendar": "xxx",
        "working_hours_type": "xxx",
        "seniority_date": "2022-10-08",
        "seniority_adjust_information_list": [
            {
                "seniority_adjustment": 0.5,
                "seniority_adjustment_type": "increase",
                "reasons_for_seniority_adjustment": "Factory shutdown needs to subtract half a year of work",
                "start_date": "2024-05-19",
                "end_date": "2024-11-18",
                "custom_fields": [
                    {
                        "field_name": "name",
                        "value": "Sandy"
                    }
                ]
            }
        ],
        "notice_period_probation_voluntary": {
            "wk_id": "4698019107896524633",
            "value": 1,
            "value_unit": "月"
        },
        "notice_period_probation_involuntary": {
            "wk_id": "4698019107896524633",
            "value": 1,
            "value_unit": "月"
        },
        "notice_period_positive_voluntary": {
            "wk_id": "4698019107896524633",
            "value": 1,
            "value_unit": "月"
        },
        "notice_period_positive_involuntary": {
            "wk_id": "4698019107896524633",
            "value": 1,
            "value_unit": "月"
        },
        "condition_worker": true,
        "company_sponsored_visa": true,
        "weekly_working_hours_v2": 8.5,
        "work_station": "5-1-2",
        "service_company": "6738317738688661772",
        "non_compete_covenant": true,
        "pathway": "7460865381179115052",
        "default_cost_center": {
            "cost_center_id": "6950635856373745165",
            "is_herit": false
        },
        "cost_allocation": {
            "effective_time": "2025-01-01",
            "expiration_time": "2025-02-01",
            "cost_center_rates": [
                {
                    "cost_center_id": "6950635856373745165",
                    "rate": 100,
                    "new_rate": 50.2
                }
            ]
        },
        "reuse_feishu_account": "reuse",
        "reused_feishu_account_id": "on_773dd2c4d14c5c980a4d89a2da5c86d3"
    },
    "standard_update_fields": [
        "basic_info_update.names"
    ],
    "custom_update_fields": [
        "custom_field1__c"
    ],
    "person_custom_update_fields": [
        "custom_field1__c"
    ]
}
```

## Response

### Response body

Parameter | Type | Description
---|---|---
code | int | Error codes, fail if not zero
msg | string | Error descriptions
data | \- | \-
pre_hire_id | string | prehire id

### Response body example
```json
{
    "code": 0,
    "msg": "success",
    "data": {
        "pre_hire_id": "7345005664477775407"
    }
}
```

### Error code

HTTP status code | Error code | Description | Troubleshooting suggestions
---|---|---|---
500 | 1161000 | Server system error | Contact RD
400 | 1161001 | invalid job_level_id | please check job_level_id
400 | 1161002 | invalid job_family_id | please check job_family_id
400 | 1161003 | invalid job_id | please check job_id
400 | 1161004 | invalid offer_hr_id | please check offer_hr_id
400 | 1161005 | invalid direct_leader_id | please check direct_leader_id
400 | 1161006 | invalid onboarding_location_id | please check onboarding_location_id
400 | 1161007 | invalid office_location_id | please check office_location_id
400 | 1161008 | invalid recruitment_type_id | please check recruitment_type_id
400 | 1161009 | invalid employee_type_id | please check employee_type_id
400 | 1161010 | invalid employment_type_id | please check employment_type_id
400 | 1161011 | invalid duration_type_id | please check duration_type_id
400 | 1161012 | invalid singing_type_id | please check singing_type_id
400 | 1161013 | invalid social_security_city_id | please check social_security_city_id
400 | 1161014 | invalid company | please check company
400 | 1161015 | invalid department_id | please check department_id
400 | 1161016 | duplicate personal_id_number | please check personal_id_number
400 | 1161018 | invalid contract_type | please check contract_type
400 | 1167037 | duplicate phone number | please check phone
400 | 1161019 | Duplicate cost center | please check cost center business line
400 | 1161020 | The cost center ratios must >= 0 and < 100 | The cost center ratios must >=0 and <= 100
400 | 1161021 | Incomplete cost center data | please complete cost center data
400 | 1161022 | No cost centers found | please confirm the cost center exist
400 | 1161023 | The total allocation proportion of all cost centers must be 100% | The total allocation proportion of all cost centers must be 100%
400 | 1161024 | Cost center is deactivated | Cost center is deactivated
400 | 1161025 | Cost center  will be disabled | Cost center  will be disabled
400 | 1161026 | Email is duplicate with an active individual in the system | please check email
400 | 1161027 | Email is duplicate with a Pre-hire in the system | please check email
400 | 1161028 | Phone is duplicate with an active individual in the system | please check phone
400 | 1161029 | Phone is duplicate with a Pre-hire in the system | please check phone
400 | 1161030 | offer_id does not exist, please try again | please check offer_id
400 | 1161031 | \"ID number\" is duplicate with a Pre-hire in the system | please check ID number
400 | 1161032 | Please fill in a valid international area code | please check international area code
400 | 1161033 | Please fill in a valid mobile number | please check mobile number
400 | 1161034 | Incorrect work email format. Please fill in a valid email address. | please check work email
400 | 1161035 | Incorrect work email domain. | please check work email
400 | 1161036 | Work email is duplicate with an active individual in the system. | please check work email
400 | 1161037 | Work email is duplicate with a pre-hire in the system. | please check work email
400 | 1161038 | Work email is duplicate with an offboarded individual in the system. | please check work email
400 | 1161039 | Incorrect purpose of location. Please fill in the information again. | please check the purpose of the selected location
400 | 1161040 | Incorrect purpose of Onboarding address. Please fill in the information again. | please check the purpose of the selected onboarding address
400 | 1161041 | Incorrect purpose of Onboarding location. Please fill in the information again. | please check the purpose of the selected onboarding location
400 | 1161042 | Incorrect purpose of Office address. Please fill in the information again. | please check the purpose of the selected office address
400 | 1161043 | Incorrect purpose of Office location. Please fill in the information again. | please check the purpose of the selected office location
400 | 1161044 | Incorrect purpose of Work location. Please fill in the information again. | please check the purpose of the selected work location
400 | 1161045 | Incorrect purpose of Social security city(China only). Please fill in the information again. | please check the purpose of the selected social security city(China only)
400 | 1161046 | Incorrect purpose of Social Security City. Please fill in the information again. | please check the purpose of the selected social security city
400 | 1161047 | Incorrect purpose of Provident Fund City. Please fill in the information again. | please check the purpose of the selected provident fund city
400 | 1161048 | employee number is duplicated. | please check employee number
400 | 1161049 | employee number format is not match. | please check employee number
400 | 1161050 | Unable to fill in staff ID as the auto coding rule has been enabled. | please check auto number rule
400 | 1161051 | No hierarchical relationship exists between the entered Onboarding address and Onboarding location. Please confirm the information in "Org Management - Location" and fill in the information again. | No hierarchical relationship exists between the entered Onboarding address and Onboarding location. Please confirm the information in "Org Management - Location" and fill in the information again.
400 | 1161052 | No hierarchical relationship exists between the entered Office address and Office location. Please confirm the information in "Org Management - Location" and fill in the information again. | No hierarchical relationship exists between the entered Office address and Office location. Please confirm the information in "Org Management - Location" and fill in the information again.
400 | 1161053 | No hierarchical relationship exists between the entered Office address and Work location. Please confirm the information in "Org Management - Location" and fill in the information again. | No hierarchical relationship exists between the entered Office address and Work location. Please confirm the information in "Org Management - Location" and fill in the information again.
400 | 1161054 | No hierarchical relationship exists between the entered Office location and Work location. Please confirm the information in "Org Management - Location" and fill in the information again. | No hierarchical relationship exists between the entered Office location and Work location. Please confirm the information in "Org Management - Location" and fill in the information again.
400 | 1161055 | No hierarchical relationship exists between the entered Office address, Office location, and Work location. Please confirm the information in "Org Management - Location" and fill in the information again. | No hierarchical relationship exists between the entered Office address, Office location, and Work location. Please confirm the information in "Org Management - Location" and fill in the information again.
400 | 1161056 | The department uses the job, the job is required | The department uses the job, the job is required
400 | 1161057 | The department does not use the job, the job must be empty | The department does not use the job, the job must be empty
400 | 1161063 | workforce has exceed | workforce has exceed
400 | 1161064 | According to auto number rules, this individual cannot generate Employee ID. Please go to "Feishu People-Settings-HR Settings-Auto Number Settings" to modify the rules. | According to auto number rules, this individual cannot generate Employee ID. Please go to "Feishu People-Settings-HR Settings-Auto Number Settings" to modify the rules.
400 | 1161065 | Employee ID generation failed, please try again later or contact customer service. | Employee ID generation failed, please try again later or contact customer service.
400 | 1161066 | The company or workforce type  is empty. Unable to generate staff ID according to the automatic coding rules. | The company or workforce type  is empty. Unable to generate staff ID according to the automatic coding rules.
400 | 1161068 | The Job is invalid. | The Job is invalid.
400 | 1161069 | The Job family is invalid. | The Job family is invalid.
400 | 1161070 | The Job level is invalid. | The Job level is invalid.
400 | 1161071 | The job and job family doesn't match. | The job and job family doesn't match.
400 | 1161072 | The job and job level doesn't match. | The job and job level doesn't match.
400 | 1161073 | The job doesn't match job family or job level. | The job doesn't match job family or job level.
400 | 1161074 | The job family and level doesn't match. | The job family and level doesn't match.
400 | 1161075 | The 'Contract end date' calculated based on the 'Contract start date' and 'Contract term' is inconsistent with the value entered. Please check. | The 'Contract end date' calculated based on the 'Contract start date' and 'Contract term' is inconsistent with the value entered. Please check.
400 | 1161076 | The additionalNationalities contains main nationality | The additionalNationalities contains main nationality
400 | 1161077 | The additionalNationalities duplicate | The additionalNationalities duplicate
400 | 1161078 | The citizenshipStatus duplicate | The citizenshipStatus duplicate
400 | 1161079 | invalid additional_nationality_id | invalid additional_nationality_id
400 | 1161080 | invalid citizenship_status_id | invalid citizenship_status_id
400 | 1161092 | Exception information check failed | Abnormal information check fail
400 | 1161097 | Permission denied, please contact the administrator | Permission denied, please contact the administrator
400 | 1161108 | The prehire has completed onboard,can't update. | The prehire has completed onboard,can't update.
400 | 1161109 | The job level and job grade doesn't match. | Please fill in a valid job_grade_id
400 | 1161112 | The department uses the position, the position is required. | The department uses the position, the position is required.
400 | 1161113 | There is information that does not match the selected position in "Department, Direct leader, Dotted-line leader, Job, Job family, Job level, Job grade, Work location, Working hours, Employee type", please select again. | There is information that does not match the selected position in \"Department, Direct leader, Dotted-line leader, Job, Job family, Job level, Job grade, Work location, Working hours, Employee type\", please select again.
400 | 1161114 | The position doesn't exist on and after the onboarding date. | The position doesn't exist on and after the onboarding date.
400 | 1161115 | The position contains disabled versions on and after the onboarding date. | The position contains disabled versions on and after the onboarding date.
400 | 1161116 | Update prehire lock conflict. | Update prehire lock conflict.
400 | 1161142 | Notice period is invalid | Notice period is invalid
400 | 1161143 | Notice period is invalid with not editable condition | Notice period is invalid with not editable condition
400 | 1161144 | Notice period rule not match | Notice period rule not match
400 | 1161145 | You have filled in the default cost center (manual selection), "Whether to inherit the default cost center of the position/department" must be empty or "No" | You have filled in the default cost center (manual selection), "Whether to inherit the default cost center of the position/department" must be empty or "No"
400 | 1161146 | Whether to inherit the default cost center of the position/department is filled in as No, please add the default cost center (manual selection) | Whether to inherit the default cost center of the position/department is filled in as No, please add the default cost center (manual selection)
400 | 1161147 | The onboarding date is missing and the effective date of the default cost center cannot be supplemented | The onboarding date is missing and the effective date of the default cost center cannot be supplemented
400 | 1161148 | The default cost center of the department/position is empty and cannot be inherited | The default cost center of the department/position is empty and cannot be inherited
400 | 1161149 | The cost center and allocation ratio for cost allocation must be filled in completely | The cost center and allocation ratio for cost allocation must be filled in completely

