Returns an array of Worker objects for a specific company
Paychex.Workers.list('XXXXX').then(function(workers){ console.log(workers); });
Optional query parameters
Paychex.Workers.list('XXXXX', {familyName : 'Jones'}).then(function(workers){ console.log(workers); });
Get a worker by workerId Returns an instance of a Worker
Paychex.Workers.get('XXXXXX').then(function(worker){ console.log(worker); });
Get a worker by companyId and employeeId Returns an instance of a Worker
Paychex.Workers.getByEmployeeId('companyId', 'employeeId').then(function(worker){ console.log(worker); });
Update a worker Returns an instance of a Worker
Paychex.Workers.update('XXXXXX', {employmentType : 'FULL_TIME'}).then(function(worker){ console.log(worker); });
There was an error while loading. Please reload this page.