Update a shift input
Updates a shift input by ID. Shift inputs are used to add additional information to shifts about the work performed or the conditions under which the work was performed.
Helpful resources
Required Scopes
- shift-inputs.read-write
Request
Path Parameters
ID of the resource to patch
- application/json
Body
The creator id associated with the shift input.
Name of the shift unit.
Prompt for the shift unit.
Type of shift unit.
Two letter string designating country code which the shift input is associated.
Responses​
- 200
- 400
- 401
- 403
- 404
Successful response
- application/json
- Schema
- Example (from schema)
Schema
Matches one or more of these formats:
- Format 1
Matches one or more of these formats:
- Format 1id stringrequired
Identifier field
created_at stringrequiredRecord creation date
updated_at stringrequiredRecord update date
active booleanWhether the user is able to access company resources, typically when they are in actively engaged with the company and not after off-boarding.
username stringThe unique identifier across Rippling used by the User for direct authentication into their associated company. Globally unique.
name object
The user's name.formatted stringThe user's full name.
given_name stringThe given legal name of the user, or first name in most Western languages.
middle_name stringThe middle name(s) of the user.
family_name stringThe legal family name of the user, or last name in most Western languages.
preferred_given_name stringThe preferred given name, or first name in most Western languages, by the user.
preferred_family_name stringThe preferred family name, or last name in most Western languages, by the user.
display_name stringThe display name of the user using either the concatenated preferred given and family name or username depending on availability.
emails object[]
The user's email addresses.Array [value stringA valid email address.
type stringThe classification of the email.
Possible values: [HOME,WORK,OTHER]display stringThe display value of the email address.
]phone_numbers object[]
The user's phone numbers.Array [value stringThe canonical global phone number pursuant to RFC3966.
type stringThe classification of the phone number, pursuant to SCIM RFC 7643 4.1.2.
Possible values: [HOME,WORK,MOBILE,FAX,OTHER]display stringThe display value of the phone number.
]addresses object[]
The user's addresses.Array [type stringThe classification of the address.
Possible values: [HOME,WORK,OTHER]formatted stringThe formatted mailing address.
street_address stringThe full street address component, which may include house number, street name, P.O. box, and multi-line extended street address information, pursuant to SCIM RFC 7643 4.1.2..
locality stringThe city or locality component.
region stringThe state or region component, pursuant to SCIM RFC 7643 4.1.2.
postal_code stringThe zip code or postal code component, pursuant to SCIM RFC 7643 4.1.2.
country stringThe country component, pursuant to SCIM RFC 7643 4.1.2.
Possible values: [AF,AX,AL,DZ,AS,AD,AO,AI,AQ,AG,AR,AM,AW,AU,AT,AZ,BS,BH,BD,BB,BY,BE,BZ,BJ,BM,BT,BO,BQ,BA,BW,BV,BR,IO,BN,BG,BF,BI,CV,KH,CM,CA,KY,CF,TD,CL,CN,CX,CC,CO,KM,CG,CD,CK,CR,CI,HR,CW,CY,CZ,DK,DJ,DM,DO,EC,EG,SV,GQ,ER,EE,SZ,ET,FK,FO,FJ,FI,FR,GF,PF,TF,GA,GM,GE,DE,GH,GI,GR,GL,GD,GP,GU,GT,GG,GN,GW,GY,HT,HM,VA,HN,HK,HU,IS,IN,ID,IQ,IR,IE,IM,IL,IT,JM,JP,JE,JO,KZ,KE,KI,KR,XK,KW,KG,LA,LV,LB,LS,LR,LY,LI,LT,LU,MO,MG,MW,MY,MV,ML,MT,MH,MQ,MR,MU,YT,MX,FM,MD,MC,MN,ME,MS,MA,MZ,MM,NA,NR,NP,NL,AN,NC,NZ,NI,NE,NG,NU,NF,MK,MP,NO,OM,PK,PW,PS,PA,PG,PY,PE,PH,PN,PL,PT,PR,QA,RO,RU,RW,RE,BL,SH,KN,LC,MF,PM,VC,WS,SM,ST,SA,SN,RS,SC,SL,SG,SX,SY,SK,SI,SB,SO,ZA,GS,SS,ES,LK,SD,SR,SJ,SE,CH,TW,TJ,TZ,TH,TL,TG,TK,TO,TT,TN,TR,TM,TC,TV,UG,UA,AE,GB,US,UM,UY,UZ,VU,VE,VN,VG,VI,WF,EH,YE,ZM,ZW]]photos object[]
The user's photos.Array [value stringThe URL of the photo.
type stringThe classification of the photo.
Possible values: [PHOTO,THUMBNAIL]]preferred_language stringThe User's preferred written or spoken language in the same format of the HTTP Accept-Language header, pursuant to Section 5.3.5 of RFC7231.
locale stringThe User's default location for purposes of localization of currency, date time format, or numerical representations pursuant to RFC5646.
timezone stringThe User's current time zone in IANA database Olson format
number stringThe permanent profile number of the user.
- Format 2value objectnullablePossible values: [null]
- Format 1
Matches one or more of these formats:
- Format 1
- Format 2value objectnullablePossible values: [null]
- Format 1
Matches one or more of these formats:
- Format 1
Matches one or more of these formats:
- Format 1
- Format 2value objectnullablePossible values: [null]
- Format 1
Matches one or more of these formats:
- Format 1
Matches one or more of these formats:
- Format 1
- Format 2value objectnullablePossible values: [null]
- Format 1
id stringrequiredIdentifier field
created_at stringrequiredRecord creation date
updated_at stringrequiredRecord update date
parent_legal_entity_id stringThe company's ultimate holding entity.
parent_legal_entity objectnullable
The company's ultimate holding entity.legal_entities_id string[]requiredA list of the company's entities.
legal_entities object[]nullablerequiredA list of the company's entities.
Expandable field
physical_address object
The physical address of the holding entity.type stringThe classification of the address.
Possible values: [HOME,WORK,OTHER]formatted stringThe formatted mailing address.
street_address stringThe full street address component, which may include house number, street name, P.O. box, and multi-line extended street address information, pursuant to SCIM RFC 7643 4.1.2..
locality stringThe city or locality component.
region stringThe state or region component, pursuant to SCIM RFC 7643 4.1.2.
postal_code stringThe zip code or postal code component, pursuant to SCIM RFC 7643 4.1.2.
country stringThe country component, pursuant to SCIM RFC 7643 4.1.2.
Possible values: [AF,AX,AL,DZ,AS,AD,AO,AI,AQ,AG,AR,AM,AW,AU,AT,AZ,BS,BH,BD,BB,BY,BE,BZ,BJ,BM,BT,BO,BQ,BA,BW,BV,BR,IO,BN,BG,BF,BI,CV,KH,CM,CA,KY,CF,TD,CL,CN,CX,CC,CO,KM,CG,CD,CK,CR,CI,HR,CW,CY,CZ,DK,DJ,DM,DO,EC,EG,SV,GQ,ER,EE,SZ,ET,FK,FO,FJ,FI,FR,GF,PF,TF,GA,GM,GE,DE,GH,GI,GR,GL,GD,GP,GU,GT,GG,GN,GW,GY,HT,HM,VA,HN,HK,HU,IS,IN,ID,IQ,IR,IE,IM,IL,IT,JM,JP,JE,JO,KZ,KE,KI,KR,XK,KW,KG,LA,LV,LB,LS,LR,LY,LI,LT,LU,MO,MG,MW,MY,MV,ML,MT,MH,MQ,MR,MU,YT,MX,FM,MD,MC,MN,ME,MS,MA,MZ,MM,NA,NR,NP,NL,AN,NC,NZ,NI,NE,NG,NU,NF,MK,MP,NO,OM,PK,PW,PS,PA,PG,PY,PE,PH,PN,PL,PT,PR,QA,RO,RU,RW,RE,BL,SH,KN,LC,MF,PM,VC,WS,SM,ST,SA,SN,RS,SC,SL,SG,SX,SY,SK,SI,SB,SO,ZA,GS,SS,ES,LK,SD,SR,SJ,SE,CH,TW,TJ,TZ,TH,TL,TG,TK,TO,TT,TN,TR,TM,TC,TV,UG,UA,AE,GB,US,UM,UY,UZ,VU,VE,VN,VG,VI,WF,EH,YE,ZM,ZW]primary_email stringThe email address used when registering this company.
legal_name stringThe legal name of the company.
doing_business_as_name stringThe doing business as name for the company.
phone stringThe phone number for the company.
name stringrequiredThe name of the company.
- Format 2value objectnullablePossible values: [null]
- Format 1
id stringrequiredIdentifier field
created_at stringrequiredRecord creation date
updated_at stringrequiredRecord update date
tax_identifier stringThe tax identifier for the legal entity.
country object
The country the legal entity is based in.code stringrequiredThe code of the country.
Possible values: [AF,AX,AL,DZ,AS,AD,AO,AI,AQ,AG,AR,AM,AW,AU,AT,AZ,BS,BH,BD,BB,BY,BE,BZ,BJ,BM,BT,BO,BQ,BA,BW,BV,BR,IO,BN,BG,BF,BI,CV,KH,CM,CA,KY,CF,TD,CL,CN,CX,CC,CO,KM,CG,CD,CK,CR,CI,HR,CW,CY,CZ,DK,DJ,DM,DO,EC,EG,SV,GQ,ER,EE,SZ,ET,FK,FO,FJ,FI,FR,GF,PF,TF,GA,GM,GE,DE,GH,GI,GR,GL,GD,GP,GU,GT,GG,GN,GW,GY,HT,HM,VA,HN,HK,HU,IS,IN,ID,IQ,IR,IE,IM,IL,IT,JM,JP,JE,JO,KZ,KE,KI,KR,XK,KW,KG,LA,LV,LB,LS,LR,LY,LI,LT,LU,MO,MG,MW,MY,MV,ML,MT,MH,MQ,MR,MU,YT,MX,FM,MD,MC,MN,ME,MS,MA,MZ,MM,NA,NR,NP,NL,AN,NC,NZ,NI,NE,NG,NU,NF,MK,MP,NO,OM,PK,PW,PS,PA,PG,PY,PE,PH,PN,PL,PT,PR,QA,RO,RU,RW,RE,BL,SH,KN,LC,MF,PM,VC,WS,SM,ST,SA,SN,RS,SC,SL,SG,SX,SY,SK,SI,SB,SO,ZA,GS,SS,ES,LK,SD,SR,SJ,SE,CH,TW,TJ,TZ,TH,TL,TG,TK,TO,TT,TN,TR,TM,TC,TV,UG,UA,AE,GB,US,UM,UY,UZ,VU,VE,VN,VG,VI,WF,EH,YE,ZM,ZW]legal_name stringThe legal name of the legal entity.
entity_level stringThe legal entity's level in a hierarchy. *
PARENT: The legal entity is considered the ultimate holding entity. *SUBSIDIARY: The legal entity is considered a subsidiary, fully or partially held by another. *BRANCH: The legal entity is considered a branch, associated with a parent legal entity.Possible values: [PARENT,SUBSIDIARY,BRANCH]registration_date stringThe registration date of the entity.
mailing_address object
The mailing address of the legal entity.type stringThe classification of the address.
Possible values: [HOME,WORK,OTHER]formatted stringThe formatted mailing address.
street_address stringThe full street address component, which may include house number, street name, P.O. box, and multi-line extended street address information, pursuant to SCIM RFC 7643 4.1.2..
locality stringThe city or locality component.
region stringThe state or region component, pursuant to SCIM RFC 7643 4.1.2.
postal_code stringThe zip code or postal code component, pursuant to SCIM RFC 7643 4.1.2.
country stringThe country component, pursuant to SCIM RFC 7643 4.1.2.
Possible values: [AF,AX,AL,DZ,AS,AD,AO,AI,AQ,AG,AR,AM,AW,AU,AT,AZ,BS,BH,BD,BB,BY,BE,BZ,BJ,BM,BT,BO,BQ,BA,BW,BV,BR,IO,BN,BG,BF,BI,CV,KH,CM,CA,KY,CF,TD,CL,CN,CX,CC,CO,KM,CG,CD,CK,CR,CI,HR,CW,CY,CZ,DK,DJ,DM,DO,EC,EG,SV,GQ,ER,EE,SZ,ET,FK,FO,FJ,FI,FR,GF,PF,TF,GA,GM,GE,DE,GH,GI,GR,GL,GD,GP,GU,GT,GG,GN,GW,GY,HT,HM,VA,HN,HK,HU,IS,IN,ID,IQ,IR,IE,IM,IL,IT,JM,JP,JE,JO,KZ,KE,KI,KR,XK,KW,KG,LA,LV,LB,LS,LR,LY,LI,LT,LU,MO,MG,MW,MY,MV,ML,MT,MH,MQ,MR,MU,YT,MX,FM,MD,MC,MN,ME,MS,MA,MZ,MM,NA,NR,NP,NL,AN,NC,NZ,NI,NE,NG,NU,NF,MK,MP,NO,OM,PK,PW,PS,PA,PG,PY,PE,PH,PN,PL,PT,PR,QA,RO,RU,RW,RE,BL,SH,KN,LC,MF,PM,VC,WS,SM,ST,SA,SN,RS,SC,SL,SG,SX,SY,SK,SI,SB,SO,ZA,GS,SS,ES,LK,SD,SR,SJ,SE,CH,TW,TJ,TZ,TH,TL,TG,TK,TO,TT,TN,TR,TM,TC,TV,UG,UA,AE,GB,US,UM,UY,UZ,VU,VE,VN,VG,VI,WF,EH,YE,ZM,ZW]physical_address object
The physical address of the legal entity, if it differs from the mailing address.type stringThe classification of the address.
Possible values: [HOME,WORK,OTHER]formatted stringThe formatted mailing address.
street_address stringThe full street address component, which may include house number, street name, P.O. box, and multi-line extended street address information, pursuant to SCIM RFC 7643 4.1.2..
locality stringThe city or locality component.
region stringThe state or region component, pursuant to SCIM RFC 7643 4.1.2.
postal_code stringThe zip code or postal code component, pursuant to SCIM RFC 7643 4.1.2.
country stringThe country component, pursuant to SCIM RFC 7643 4.1.2.
Possible values: [AF,AX,AL,DZ,AS,AD,AO,AI,AQ,AG,AR,AM,AW,AU,AT,AZ,BS,BH,BD,BB,BY,BE,BZ,BJ,BM,BT,BO,BQ,BA,BW,BV,BR,IO,BN,BG,BF,BI,CV,KH,CM,CA,KY,CF,TD,CL,CN,CX,CC,CO,KM,CG,CD,CK,CR,CI,HR,CW,CY,CZ,DK,DJ,DM,DO,EC,EG,SV,GQ,ER,EE,SZ,ET,FK,FO,FJ,FI,FR,GF,PF,TF,GA,GM,GE,DE,GH,GI,GR,GL,GD,GP,GU,GT,GG,GN,GW,GY,HT,HM,VA,HN,HK,HU,IS,IN,ID,IQ,IR,IE,IM,IL,IT,JM,JP,JE,JO,KZ,KE,KI,KR,XK,KW,KG,LA,LV,LB,LS,LR,LY,LI,LT,LU,MO,MG,MW,MY,MV,ML,MT,MH,MQ,MR,MU,YT,MX,FM,MD,MC,MN,ME,MS,MA,MZ,MM,NA,NR,NP,NL,AN,NC,NZ,NI,NE,NG,NU,NF,MK,MP,NO,OM,PK,PW,PS,PA,PG,PY,PE,PH,PN,PL,PT,PR,QA,RO,RU,RW,RE,BL,SH,KN,LC,MF,PM,VC,WS,SM,ST,SA,SN,RS,SC,SL,SG,SX,SY,SK,SI,SB,SO,ZA,GS,SS,ES,LK,SD,SR,SJ,SE,CH,TW,TJ,TZ,TH,TL,TG,TK,TO,TT,TN,TR,TM,TC,TV,UG,UA,AE,GB,US,UM,UY,UZ,VU,VE,VN,VG,VI,WF,EH,YE,ZM,ZW]parent_id stringThe parent legal entity.
parent objectnullable
The parent legal entity.management_type stringThe legal entity management type in the case of an employer of record (EOR) or professional employment organization (PEO). *
PEO: The legal entity is considered a Professional Employment Organization (PEO). *EOR: The legal entity is considered an Employer of Record (EOR).Possible values: [PEO,EOR,COR]company_id stringThe company or organization associated with the legal entity
company objectnullable
The company or organization associated with the legal entity - Format 2value objectnullablePossible values: [null]
- Format 1
Matches one or more of these formats:
- Format 1id stringrequired
Identifier field
created_at stringrequiredRecord creation date
updated_at stringrequiredRecord update date
label stringrequiredThe display label of the employment type.
name stringThe name of the employment type for non-custom employment types.
type stringThe classification of the worker by the company. *
CONTRACTOR: Contractors are self-employed workers who provide services on a short-term or per-project basis and are not eligible for tax-withholding or benefits. *EMPLOYEE: Employees are hired and managed by an employer, work under the employer's direct supervision and control, and are protected by law for wages and employment rights.Possible values: [CONTRACTOR,EMPLOYEE]compensation_time_period stringThe compensation period for the employment type. *
SALARIED: Employees that are paid a fixed amount per year. *HOURLY: Employees that are paid a wage per hour worked.Possible values: [HOURLY,SALARIED]amount_worked stringThe amount worked for the employment type. *
FULL-TIME: Full-time is at least 30 hours per week. Full-time workers will typically be eligible for benefits. *PART-TIME: Part-time is less than 30 hours per week. These workers may be eligible for benefits, depending on company settings and hours worked. *TEMPORARY: These workers are hired on a temporary basis. You can specify how each worker with this employment type will be paid individually.Possible values: [PART-TIME,FULL-TIME,TEMPORARY] - Format 2value objectnullablePossible values: [null]
- Format 1
Matches one or more of these formats:
- Format 1
Matches one or more of these formats:
- Format 1
- Format 2value objectnullablePossible values: [null]
- Format 1
id stringrequiredIdentifier field
created_at stringrequiredRecord creation date
updated_at stringrequiredRecord update date
worker_id stringThe worker's ID.
worker objectnullable
The worker's details.annual_compensation object
The worker's annual compensation. This calculation assumes 40-hour work weeks for workers with an hourly wage.currency_type stringThe currency type, ex: USD, EUR, etc.
value numberThe decimal amount for the currency.
annual_salary_equivalent object
The worker's annual salary equivalent, for insurance purposes. It will be equal to the worker's annual compensation, except for owners that are receiving no cashcompensation.currency_type stringThe currency type, ex: USD, EUR, etc.
value numberThe decimal amount for the currency.
hourly_wage object
The worker's hourly wage. This calculation assumes 40-hour work weeks for workers with fixed compensation.currency_type stringThe currency type, ex: USD, EUR, etc.
value numberThe decimal amount for the currency.
monthly_compensation object
The worker's monthly compensation. This calculation assumes 40-hour work weeks for workers with an hourly wage.currency_type stringThe currency type, ex: USD, EUR, etc.
value numberThe decimal amount for the currency.
on_target_commission object
The worker's on-target commission.currency_type stringThe currency type, ex: USD, EUR, etc.
value numberThe decimal amount for the currency.
relocation_reimbursement object
The worker's hourly wage. This calculation assumes 40-hour work weeks for workers with fixed compensation.currency_type stringThe currency type, ex: USD, EUR, etc.
value numberThe decimal amount for the currency.
signing_bonus object
The worker's signing bonus.currency_type stringThe currency type, ex: USD, EUR, etc.
value numberThe decimal amount for the currency.
target_annual_bonus object
The worker's target annual bonus amount.currency_type stringThe currency type, ex: USD, EUR, etc.
value numberThe decimal amount for the currency.
weekly_compensation object
The worker's weekly compensation. This calculation assumes 40-hour work weeks for workers with an hourly wage.currency_type stringThe currency type, ex: USD, EUR, etc.
value numberThe decimal amount for the currency.
target_annual_bonus_percent numberThe worker's target annual bonus as a percent of annual compensation.
bonus_schedule stringThe worker's bonus schedule.
payment_type stringThe payment type for an worker's compensation.
payment_terms stringThe payment terms for an worker's compensation.
salary_effective_date stringSalary effective date
- Format 2value objectnullablePossible values: [null]
- Format 1
Matches one or more of these formats:
- Format 1
Matches one or more of these formats:
- Format 1
- Format 2value objectnullablePossible values: [null]
- Format 1
id stringrequiredIdentifier field
created_at stringrequiredRecord creation date
updated_at stringrequiredRecord update date
name stringrequiredThe name of the department.
parent_id stringThe parent department.
parent objectnullable
The parent department.reference_code stringReference code of the department.
department_hierarchy_id string[]The identifier of departments in the department hierarchy ordered from parent department to child department.
department_hierarchy object[]nullableList of departments in the department hierarchy. Refer department_hierarchy_ids for department hierarchy order.
Expandable field
- Format 2value objectnullablePossible values: [null]
- Format 1
Matches one or more of these formats:
- Format 1
- Format 2value objectnullablePossible values: [null]
- Format 1
Matches one or more of these formats:
- Format 1
Matches one or more of these formats:
- Format 1
- Format 2value objectnullablePossible values: [null]
- Format 1
Matches one or more of these formats:
- Format 1id stringrequired
Identifier field
created_at stringrequiredRecord creation date
updated_at stringrequiredRecord update date
name stringrequiredThe name of the track. Must be unique within the company or organization.
is_default booleanWhether this is the company's default track.
order integerThe one-based horizontal display order of the track.
start_global_level integerThe highest global level occupied by this track. Empty tracks return null.
- Format 2value objectnullablePossible values: [null]
- Format 1
id stringrequiredIdentifier field
created_at stringrequiredRecord creation date
updated_at stringrequiredRecord update date
name stringrequiredThe name of the level. Must be unique within the company or organization.
parent_id stringThe parent level.
parent objectnullable
The parent level.global_level integerGlobal level is used to track the seniority of levels. The higher up a level is placed on the page, the more senior and higher-ranked the level. Global level is used in workflows, policies, and reports that use the level attribute (e.g., you can use Level Lookup to set up a workflow that notifies the nearest person in an worker's management chain at or above the specified level).
description stringThe description of the level.
scope_of_responsibilities stringThe scope of responsibilities for the level.
experience_requirements stringThe experience requirements for the level.
rank integerThe rank of the level within its track.
track_id stringThe track associated with the level. Required during creation. Include global_level when changing it.
track objectnullable
The track associated with the level, if it's not a global level. - Format 2value objectnullablePossible values: [null]
- Format 1
Matches one or more of these formats:
- Format 1id stringrequired
Identifier field
created_at stringrequiredRecord creation date
updated_at stringrequiredRecord update date
name stringDisplayed name of the job function
- Format 2value objectnullablePossible values: [null]
- Format 1
Matches one or more of these formats:
- Format 1
Matches one or more of these formats:
- Format 1
- Format 2value objectnullablePossible values: [null]
- Format 1
id stringrequiredIdentifier field
created_at stringrequiredRecord creation date
updated_at stringrequiredRecord update date
name stringrequiredName used to identify business partner group
domain stringType of business partner group
Possible values: [HR,IT,FINANCE,RECRUITING,OTHER]default_business_partner_id stringId of Optional default business partner worker to whom all employees will be mapped if not explicitly mapped to a business partner in the group.
default_business_partner objectnullable
Optional default business partner worker to whom all employees will be mapped if not explicitly mapped to a business partner in the group. - Format 2value objectnullablePossible values: [null]
- Format 1
Matches one or more of these formats:
- Format 1
- Format 2value objectnullablePossible values: [null]
- Format 1
Matches one or more of these formats:
- Format 1id stringrequired
Identifier field
created_at stringrequiredRecord creation date
updated_at stringrequiredRecord update date
display_name stringThe group's display name.
name stringThe group's name.
app_owner_id stringThe id of the group's app owner.
group_type stringThe group type
sub_group_type stringThe sub group type
read_only booleanWhether the group is read only.
description stringThe group's description.
parent stringThe group's parent.
mutually_exclusive_key stringThe group's mutually exclusive key
cumulatively_exhaustive_default booleanWhether the group is the cumulatively exhaustive default
include_terminated booleanWhether the group include terminated roles
allow_non_employees booleanWhether the group allows non employees
can_override_role_states booleanWhether the group can override role states
priority integerThe group's priority when calculating mutual exclusivity
is_invisible booleanWhether the group is invisible
ignore_prov_group_matching booleanWhether to ignore provisioning group matching when determining group membership
- Format 2value objectnullablePossible values: [null]
- Format 1
id stringrequiredIdentifier field
created_at stringrequiredRecord creation date
updated_at stringrequiredRecord update date
user_id stringThe worker's associated user.
user objectnullable
The worker's associated user.is_manager booleanWhether the worker is a manager
manager_id stringThe worker's manager.
manager objectnullable
The worker's manager.legal_entity_id stringThe worker's associated legal entity.
legal_entity objectnullable
The worker's associated legal entity.country stringThe worker's country.
Possible values: [AF,AX,AL,DZ,AS,AD,AO,AI,AQ,AG,AR,AM,AW,AU,AT,AZ,BS,BH,BD,BB,BY,BE,BZ,BJ,BM,BT,BO,BQ,BA,BW,BV,BR,IO,BN,BG,BF,BI,CV,KH,CM,CA,KY,CF,TD,CL,CN,CX,CC,CO,KM,CG,CD,CK,CR,CI,HR,CW,CY,CZ,DK,DJ,DM,DO,EC,EG,SV,GQ,ER,EE,SZ,ET,FK,FO,FJ,FI,FR,GF,PF,TF,GA,GM,GE,DE,GH,GI,GR,GL,GD,GP,GU,GT,GG,GN,GW,GY,HT,HM,VA,HN,HK,HU,IS,IN,ID,IQ,IR,IE,IM,IL,IT,JM,JP,JE,JO,KZ,KE,KI,KR,XK,KW,KG,LA,LV,LB,LS,LR,LY,LI,LT,LU,MO,MG,MW,MY,MV,ML,MT,MH,MQ,MR,MU,YT,MX,FM,MD,MC,MN,ME,MS,MA,MZ,MM,NA,NR,NP,NL,AN,NC,NZ,NI,NE,NG,NU,NF,MK,MP,NO,OM,PK,PW,PS,PA,PG,PY,PE,PH,PN,PL,PT,PR,QA,RO,RU,RW,RE,BL,SH,KN,LC,MF,PM,VC,WS,SM,ST,SA,SN,RS,SC,SL,SG,SX,SY,SK,SI,SB,SO,ZA,GS,SS,ES,LK,SD,SR,SJ,SE,CH,TW,TJ,TZ,TH,TL,TG,TK,TO,TT,TN,TR,TM,TC,TV,UG,UA,AE,GB,US,UM,UY,UZ,VU,VE,VN,VG,VI,WF,EH,YE,ZM,ZW]start_date stringThe start date of the worker.
end_date stringThe end date of the worker.
number integerThe worker's number within the organization.
work_email stringThe worker's associated work email address.
personal_email stringThe worker's associated personal email address.
status stringThe worker's status within the organization.
Possible values: [INIT,HIRED,ACCEPTED,ACTIVE,TERMINATED]location object
The location that the worker is mapped to for tax purposes. In the case that a worker is remote, the location's type is remote.type stringrequiredThe type of location.
Possible values: [REMOTE,WORK]work_location_id stringrequiredThe work location, if the worker isn't remote.
employment_type_id stringThe worker's employment type.
employment_type objectnullable
The worker's employment type.gender stringThe gender of the worker, if specified.
Possible values: [MALE,FEMALE,NONBINARY,UNDETERMINED,DIVERSE,DOES_NOT_APPLY,PREFER_NOT_TO_SAY]date_of_birth stringThe worker's date of birth.
race stringThe identified race of the worker, if specified.
Possible values: [BLACK,BROWN,CHINESE,EURASIAN,INDIAN,INDIGENOUS,MALAY,WHITE,YELLOW,NOT_INFORMED,OTHER]ethnicity stringThe identified ethnicity of the worker, if specified.
Possible values: [HISPANIC_OR_LATINO,WHITE,BLACK_OR_AFRICAN_AMERICAN,NATIVE_HAWAIIAN_OR_OTHER_PACIFIC_ISLANDER,ASIAN,AMERICAN_INDIAN_OR_ALASKA_NATIVE,TWO_OR_MORE_RACES,MIDDLE_EASTERN_OR_NORTH_AFRICAN,DECLINE_TO_SELF_IDENTIFY,AFRICAN,COLOURED,INDIAN,OTHER,PREFER_NOT_TO_SAY]citizenship stringThe countries that the worker has citizenship in.
Possible values: [AF,AX,AL,DZ,AS,AD,AO,AI,AQ,AG,AR,AM,AW,AU,AT,AZ,BS,BH,BD,BB,BY,BE,BZ,BJ,BM,BT,BO,BQ,BA,BW,BV,BR,IO,BN,BG,BF,BI,CV,KH,CM,CA,KY,CF,TD,CL,CN,CX,CC,CO,KM,CG,CD,CK,CR,CI,HR,CW,CY,CZ,DK,DJ,DM,DO,EC,EG,SV,GQ,ER,EE,SZ,ET,FK,FO,FJ,FI,FR,GF,PF,TF,GA,GM,GE,DE,GH,GI,GR,GL,GD,GP,GU,GT,GG,GN,GW,GY,HT,HM,VA,HN,HK,HU,IS,IN,ID,IQ,IR,IE,IM,IL,IT,JM,JP,JE,JO,KZ,KE,KI,KR,XK,KW,KG,LA,LV,LB,LS,LR,LY,LI,LT,LU,MO,MG,MW,MY,MV,ML,MT,MH,MQ,MR,MU,YT,MX,FM,MD,MC,MN,ME,MS,MA,MZ,MM,NA,NR,NP,NL,AN,NC,NZ,NI,NE,NG,NU,NF,MK,MP,NO,OM,PK,PW,PS,PA,PG,PY,PE,PH,PN,PL,PT,PR,QA,RO,RU,RW,RE,BL,SH,KN,LC,MF,PM,VC,WS,SM,ST,SA,SN,RS,SC,SL,SG,SX,SY,SK,SI,SB,SO,ZA,GS,SS,ES,LK,SD,SR,SJ,SE,CH,TW,TJ,TZ,TH,TL,TG,TK,TO,TT,TN,TR,TM,TC,TV,UG,UA,AE,GB,US,UM,UY,UZ,VU,VE,VN,VG,VI,WF,EH,YE,ZM,ZW]compensation_id stringThe compensation package for the worker.
compensation objectnullable
The compensation package for the worker.overtime_exemption stringThe worker's overtime exemption status.
Possible values: [EXEMPT,NON_EXEMPT]department_id stringThe worker's assigned department.
department objectnullable
The worker's assigned department.teams_id string[]The worker's assigned teams.
teams object[]nullable
The worker's assigned teams.Array [id stringrequiredIdentifier field
created_at stringrequiredRecord creation date
updated_at stringrequiredRecord update date
parent_id stringThe parent team
parent objectnullable
The parent teamname stringrequiredThe name of the team.
]title stringThe worker's title.
title_effective_date stringTitle effective date
level_id stringThe level of the worker.
level objectnullable
The level of the worker.job_function_id stringID of the worker's job function.
job_function objectnullable
The worker's job function. When expanded, this field requires `job-functions.read`.termination_details object
The details of the worker's termination, if applicable.type stringThe termination type indicates whether the termination was voluntary or involuntary.
Possible values: [VOLUNTARY,INVOLUNTARY,RETIREMENT,DEATH,ABANDONMENT,OFFER_DECLINED,RESCIND,RENEGE]reason stringThis is a description that will be custom to each Rippling company.
pay_schedule_id stringThe ID of the pay schedule currently associated with the worker.
work_schedule object
The worker's scheduled working hours for each day of the week.property name* object
The scheduled working hours for a day of the week.hours numberThe number of scheduled working hours for the day.
compensation_grade object
The compensation grade assigned to the worker, if any.id stringThe compensation grade's unique identifier.
label stringThe compensation grade's label.
original_start_date stringThe worker's earliest start date across their employment history, excluding INIT roles.
custom_fields object[]nullable
Custom field values defined on the Employee object for this workerArray [property name* object]country_fields object
Country level fields for the worker.us object
Country-wise regional fields for USAssn stringSocial Security Number (SSN) for US employees.
ca object
Country-wise regional fields for Canadasin stringSocial Insurance Number (SIN) for Canada employees.
nz object
Country-wise regional fields for New Zealandird_number stringInland Revenue Department (IRD) number for New Zealand employees.
business_partners_id string[]Worker's assigned business partners unique identifiers. Returns an empty list ([]) if the worker has no business partners.
business_partners object[]nullable
Worker's assigned business partners. This field is only populated when explicitly requested via the expand parameter (e.g., ?expand=business_partners). When expanded, returns an empty list ([]) if the worker has no business partners.Array [id stringrequiredIdentifier field
created_at stringrequiredRecord creation date
updated_at stringrequiredRecord update date
business_partner_group_id stringrequiredIdentifier of business partner group the business parter is a part of
business_partner_group objectnullable
Business partner group the business partner is a part ofworker_id stringrequiredIdentifier of worker who is the business partner
worker objectnullable
Worker who is the business partnerclient_group_id stringIdentifier of group of workers associated with the business partner
client_group objectnullable
Group of workers associated with the business partnerclient_group_member_count integerNumber of workers associated with the business partner
] - Format 2value objectnullablePossible values: [null]
- Format 1
__meta object
redacted_fields object[]
The name for the redacted field
The reason for the redaction
Identifier field
Record creation date
Record update date
The creator id associated with the shift input.
creator objectnullable
Name of the shift unit.
Prompt for the shift unit.
Type of shift unit.
Two letter string designating country code which the shift input is associated.
The party that manages this shift input
{
"__meta": {
"redacted_fields": [
{
"name": "date_of_birth",
"reason": "Insufficient entitlements"
}
]
},
"id": "string",
"created_at": "string",
"updated_at": "string",
"creator_id": "string",
"creator": {
"id": "string",
"created_at": "string",
"updated_at": "string",
"user_id": "string",
"user": {
"id": "string",
"created_at": "string",
"updated_at": "string",
"active": false,
"username": "string",
"name": {
"formatted": "string",
"given_name": "string",
"middle_name": "string",
"family_name": "string",
"preferred_given_name": "string",
"preferred_family_name": "string"
},
"display_name": "string",
"emails": [
{
"value": "string",
"type": "HOME",
"display": "string"
}
],
"phone_numbers": [
{
"value": "string",
"type": "HOME",
"display": "string"
}
],
"addresses": [
{
"type": "HOME",
"formatted": "string",
"street_address": "string",
"locality": "string",
"region": "string",
"postal_code": "string",
"country": "AF"
}
],
"photos": [
{
"value": "string",
"type": "PHOTO"
}
],
"preferred_language": "string",
"locale": "string",
"timezone": "string",
"number": "string"
},
"is_manager": false,
"manager_id": "string",
"manager": {},
"legal_entity_id": "string",
"legal_entity": {
"id": "string",
"created_at": "string",
"updated_at": "string",
"tax_identifier": "string",
"country": {
"code": "AF"
},
"legal_name": "string",
"entity_level": "PARENT",
"registration_date": "string",
"mailing_address": {
"type": "HOME",
"formatted": "string",
"street_address": "string",
"locality": "string",
"region": "string",
"postal_code": "string",
"country": "AF"
},
"physical_address": {
"type": "HOME",
"formatted": "string",
"street_address": "string",
"locality": "string",
"region": "string",
"postal_code": "string",
"country": "AF"
},
"parent_id": "string",
"parent": {},
"management_type": "PEO",
"company_id": "string",
"company": {
"id": "string",
"created_at": "string",
"updated_at": "string",
"parent_legal_entity_id": "string",
"parent_legal_entity": {},
"legal_entities_id": [
"string"
],
"legal_entities": [
"string"
],
"physical_address": {
"type": "HOME",
"formatted": "string",
"street_address": "string",
"locality": "string",
"region": "string",
"postal_code": "string",
"country": "AF"
},
"primary_email": "string",
"legal_name": "string",
"doing_business_as_name": "string",
"phone": "string",
"name": "string"
}
},
"country": "AF",
"start_date": "string",
"end_date": "string",
"number": 0,
"work_email": "string",
"personal_email": "string",
"status": "INIT",
"location": {
"type": "REMOTE",
"work_location_id": "string"
},
"employment_type_id": "string",
"employment_type": {
"id": "string",
"created_at": "string",
"updated_at": "string",
"label": "string",
"name": "string",
"type": "CONTRACTOR",
"compensation_time_period": "HOURLY",
"amount_worked": "PART-TIME"
},
"gender": "MALE",
"date_of_birth": "string",
"race": "BLACK",
"ethnicity": "HISPANIC_OR_LATINO",
"citizenship": "AF",
"compensation_id": "string",
"compensation": {
"id": "string",
"created_at": "string",
"updated_at": "string",
"worker_id": "string",
"worker": {},
"annual_compensation": {
"currency_type": "string",
"value": 0
},
"annual_salary_equivalent": {
"currency_type": "string",
"value": 0
},
"hourly_wage": {
"currency_type": "string",
"value": 0
},
"monthly_compensation": {
"currency_type": "string",
"value": 0
},
"on_target_commission": {
"currency_type": "string",
"value": 0
},
"relocation_reimbursement": {
"currency_type": "string",
"value": 0
},
"signing_bonus": {
"currency_type": "string",
"value": 0
},
"target_annual_bonus": {
"currency_type": "string",
"value": 0
},
"weekly_compensation": {
"currency_type": "string",
"value": 0
},
"target_annual_bonus_percent": 0,
"bonus_schedule": "string",
"payment_type": "string",
"payment_terms": "string",
"salary_effective_date": "string"
},
"overtime_exemption": "EXEMPT",
"department_id": "string",
"department": {
"id": "string",
"created_at": "string",
"updated_at": "string",
"name": "string",
"parent_id": "string",
"parent": {},
"reference_code": "string",
"department_hierarchy_id": [
"string"
],
"department_hierarchy": [
"string"
]
},
"teams_id": [
"string"
],
"teams": [
{
"id": "string",
"created_at": "string",
"updated_at": "string",
"parent_id": "string",
"parent": {},
"name": "string"
}
],
"title": "string",
"title_effective_date": "string",
"level_id": "string",
"level": {
"id": "string",
"created_at": "string",
"updated_at": "string",
"name": "string",
"parent_id": "string",
"parent": {},
"global_level": 0,
"description": "string",
"scope_of_responsibilities": "string",
"experience_requirements": "string",
"rank": 0,
"track_id": "string",
"track": {
"id": "string",
"created_at": "string",
"updated_at": "string",
"name": "string",
"is_default": false,
"order": 0,
"start_global_level": 0
}
},
"job_function_id": "string",
"job_function": {
"id": "string",
"created_at": "string",
"updated_at": "string",
"name": "string"
},
"termination_details": {
"type": "VOLUNTARY",
"reason": "string"
},
"pay_schedule_id": "string",
"work_schedule": {
"property name": {
"hours": 0
}
},
"compensation_grade": {
"id": "string",
"label": "string"
},
"original_start_date": "string",
"custom_fields": [
"string"
],
"country_fields": {
"us": {
"ssn": "string"
},
"ca": {
"sin": "string"
},
"nz": {
"ird_number": "string"
}
},
"business_partners_id": [
"string"
],
"business_partners": [
{
"id": "string",
"created_at": "string",
"updated_at": "string",
"business_partner_group_id": "string",
"business_partner_group": {
"id": "string",
"created_at": "string",
"updated_at": "string",
"name": "string",
"domain": "HR",
"default_business_partner_id": "string",
"default_business_partner": {}
},
"worker_id": "string",
"worker": {},
"client_group_id": "string",
"client_group": {
"id": "string",
"created_at": "string",
"updated_at": "string",
"display_name": "string",
"name": "string",
"app_owner_id": "string",
"group_type": "string",
"sub_group_type": "string",
"read_only": false,
"description": "string",
"parent": "string",
"mutually_exclusive_key": "string",
"cumulatively_exhaustive_default": false,
"include_terminated": false,
"allow_non_employees": false,
"can_override_role_states": false,
"priority": 0,
"is_invisible": false,
"ignore_prov_group_matching": false
},
"client_group_member_count": 0
}
]
},
"name": "string",
"prompt": "string",
"type": "string",
"country_code": "string",
"managed_by": "string"
}
The request failed validation. The response body describes the error.
- application/json
- Schema
- Example (from schema)
Schema
A human-readable explanation of why the request failed.
{
"detail": "string"
}
Authentication is required or the supplied credentials are invalid.
- application/json
- Schema
- Example (from schema)
Schema
Matches one or more of these formats:
- Format 1ok booleanrequired
Whether the request succeeded. Always false for an authentication error.
Possible values: [false]error stringrequiredA human-readable explanation of why authentication failed.
- Format 2detail stringrequired
A human-readable explanation of the authentication error.
- Format 1
{
"ok": false,
"error": "Incorrect authentication credentials."
}
{
"detail": "string"
}
The caller is not authorized to perform this action.
- application/json
- Schema
- Example (from schema)
Schema
A human-readable explanation of why the request failed.
{
"detail": "string"
}
The requested resource was not found.
- application/json
- Schema
- Example (from schema)
Schema
A human-readable explanation of why the request failed.
{
"detail": "string"
}