Get pay schedule assignments for a company
GET {{baseUrl}}/v1/companies/:company_id/pay_schedules/assignments
This endpoint returns the current pay schedule assignment for a company, with pay schedule and employee/department mappings depending on the pay schedule type.
scope: pay_schedules:read
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
X-Gusto-API-Version | string | Determines the date-based API version associated with your API call. If none is provided, your application's minimum API version is used. | |
Accept | string |
RESPONSES
status: OK
{"type":"by_employee","employees":{"employee_uuid":"f0238368-f2cf-43e2-9a07-b0265f2cec69","pay_schedule_uuid":"c277ac52-9871-4a96-a1e6-0c449684602a"}}