HomeRecipesAPI ReferenceChangelogDiscussions
Log In
Discussions

Discussions

Ask a Question
Back to All

Getting user/employee payrate lists and values

We’re trying to create a process to update each Corrigo user’s pay rate list with their rate from ADP.
Right now I’m just trying to retrieve that information.

  1. I can get the necessary info from ADP.
  2. I can get a list of users with the Employee Entity.
  3. I can get a list of Pay Rates for each LaborCodeID assigned to them with the UserPayRate Entity.
  4. And I can get a list of dollar values (for each of those user payrates I assume) with the UserPayRateMoneyValue Entity.
    However, I can’t seem to figure out how to relate those money values to a specific payrate and/or user.

The API reference says the Employee Entity returns data that includes a PayRates element reference that I assume is a list of payrates and their associated money value ids, but when I query the Employee Entity it does not return a PayRates element.

Am I correct in assuming the connection information for payrate values to payrates for employees is in the Employee.PayRates data element?
Why am I not getting that element in my API call? I first assumed it was because the user ID associated with the API Integration did not have it, so I added “Admin – All Scope”, “Admin – Users”, “Permissions – All Users”, and “Manage Users” to the wSDK role, which is assigned to that user. That did not seem to help.