GuidesAPI ReferenceChangelogAPI PolicyAPI StatusGusto Security
API Reference
v2023-09-01 is in the deprecation process and all prior versions have been deprecated. Click this banner to review our version upgrade guide.

Preview pay schedule assignments for a company

This endpoint returns the employee changes, including pay period and transition pay periods, for changing the pay schedule.

scope: pay_schedules:write

Path Params
string
required

The UUID of the company

Body Params
string | null
required

The pay schedule assignment type.

string

Pay schedule for hourly employees.

string

Pay schedule for salaried employees.

string

Default pay schedule for employees.

boolean

Indicates whether the request provides pay schedule assignments for a partial list of employees or departments of the company. By default, this is set to false.

employees
array of objects

List of employees and their pay schedules.

employees
departments
array of objects

List of departments and their pay schedules.

departments
Headers
string
Defaults to 2024-03-01

Determines the date-based API version associated with your API call. If none is provided, your application's minimum API version is used.

Responses

Response body
object
string | null

The pay schedule assignment type.

single hourly_salaried by_employee by_department

employee_changes
array of objects

A list of pay schedule changes including pay period and transition pay period.

employee_changes
object
string

The UUID of the employee.

string

The employee's first name.

string

The employee's last name.

string

New pay schedule frequency and name.

first_pay_period
object

Pay schedule assignment first pay period information.

transition_pay_period
object

Pay schedule assignment transition pay period information.

404

Not Found

The requested resource does not exist. Make sure the provided UUID is valid.

invalid_attribute_value, or the request fails due to an invalid_operation. See the Errors Categories guide for more details.

Language
Credentials