JUMP TOGreenshades APIWorkspacesGet all authorized workspacesgetDepartmentsGet all departments by workspace Id.getCreate a new department.postGet a department by its code.getModify an existing department.putRemove an existing department.deleteEmployee ClassesGet all employee clases by workspace Id.getCreate a new employee class.postGet an employee class by its code.getModify an existing employee class.putRemove an existing employee class.deletePositionsGet all positions by workspace Id.getCreate a new position.postGet a position by its code.getModify an existing position.putRemove an existing position.deleteGet all worker compensation code mappingsgetWork LocationsGet all work locations by workspace Id.getCreate a new work location.postGet a work location by its id.getModify an existing work location.putRemove an existing work location.deleteEmployees: BasicCreate a new employeepostGet all employees by workspace Id.getGet an employee by Id.getModify an existing employee.putGet an employee's contacts.getGet an employee's dependents.getEmployee BenefitsGet an employee's benefit electionsgetEmployees: Custom FieldsCreate a new custom field.postGet all custom fields by workspace Id.getGet a custom field by its Id.getModify an existing custom field.putRemove an existing custom field.deleteAppend or update an employee's custom field values.patchGet all custom fields for a given employee.getEmployees: Payroll SettingsGet an employee's direct deposit settings.getUpdate an employee's direct deposit settings. Overwrites any existing settings. Provide an empty list of accounts to clear all accounts.putDelete an employee's direct deposit settings. Clear all accounts.deleteGet an employee's assigned earning codes.getGet setup information about a specific employee payroll taxgetSave setup information about a specific employee payroll taxputGet an employee's assigned payroll pay schedule, if any.getSet an employee's assigned payroll pay schedule.putRemove an employee's payroll pay schedule assignment.deleteEmployee SettlementsCreates new employee settlements.postPayroll: SetupGet all earnings by workspace Id.getCreate a new earning.postGet an earning by its code.getModify an existing earning.putRemove an existing earning.deleteGet all pay schedules by workspace Id.getGet a pay schedule by its id.getGet all employees assigned to the given pay schedule.getGet information about taxesgetPayroll: Pay RunsGet all pay runs by workspace Id.getGet a pay run by its id.getCancel a pay run.deleteGet information about all employees included in a pay run.getAdd an employee to a pay run.postGet information about an employee included in a pay run.getModify information about an employee included in a pay run.putRemove an employee from a pay run.deleteAdd employees to a pay run.postRemove employees from a pay run.postGet all pay run earnings in a given pay run.getCreate new pay run earnings.postUpdate existing pay run earnings.putGet a pay run earning by its id.getRemove an existing pay run earning.deletePayroll: ReportsBuild a cost report based on a single pay rungetBuild a cost report based on a date rangegetLogsGet all requests within date range.getGet the request given the IdgetWeb HooksCreate a webhook event subscription.postGet all webhook event subscriptions by workspace Id.getGet one webhook event subscriptions by its idgetUpdate a webhook event subscription.putRemove a webhook event subscription.deleteTest a webhook subscription eventpostCreate new pay run earnings.post https://api.greenshadesonline.com/payroll/payruns/{payRunId}/earningsUse this endpoint to append new earnings to a pay run.