Assign pay schedules for a company

POST {{baseUrl}}/v1/companies/:company_id/pay_schedules/assign

This endpoints assigns employees to specified pay schedules based on the pay schedule type.

scope: pay_schedules:write

Request Body

{"type"=>"<string>", "hourly_pay_schedule_uuid"=>"<string>", "salaried_pay_schedule_uuid"=>"<string>", "default_pay_schedule_uuid"=>"<string>", "employees"=>[{"employee_uuid"=>"<string>", "pay_schedule_uuid"=>"<string>"}, {"employee_uuid"=>"<string>", "pay_schedule_uuid"=>"<string>"}], "departments"=>[{"department_uuid"=>"<string>", "pay_schedule_uuid"=>"<string>"}, {"department_uuid"=>"<string>", "pay_schedule_uuid"=>"<string>"}]}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

&quot;&quot;