-
Notifications
You must be signed in to change notification settings - Fork 1
Paychex.Companies
Brian Tully edited this page Nov 29, 2017
·
5 revisions
Returns an array of Company objects that your application has been granted with some level of access
Paychex.Companies.list().then(function(companies){
console.log(companies);
});Get a company by companyId
Returns an instance of a Company
Paychex.Companies.get('XXXXXX').then(function(company){
console.log(company);
});Get a company by displayId
Returns an instance of a Company
Paychex.Companies.getByDisplayId('XXXXXX').then(function(company){
console.log(company);
});