Retrieve Employees, Managers and Custom Fields from UKG Ready

Trying to Export All Changed Employees from UKG Ready. I'm able to create the UKG Ready connection and works, but accessing Employees API fails.
We have only one Company and that is applied in the connection; however, the export also has required company field.
I get this error:
Status: undefined
Message: {"errors":[{"code":10000,"message":"Company not found."}],"user_messages":[{"severity":"ERROR","text":"Company not found.","details":{"code":10000}}]}

Dana,

I wanted to confirm whether you followed the steps outlined in the following documentation to obtain your Company ID:
How to Get Company ID and Company Name in UKG Ready

The error you're encountering suggests that the Company ID (CID) included in the API request may be incorrect, or that the API key being used does not have access to the specified company. To ensure everything is set up correctly, please double-check both the CID and the API key configuration.

Retrieving Your API Key

  1. Log in to your UKG Ready account.
  2. Navigate to: Company SettingsGlobal SetupCompany SetupLogin ConfigAPI Keys.
  3. Click Generate to create a new key.
  4. Copy and securely store the API Key.

According to UKG Ready's API documentation for the Changed Employees endpoint, the CID is included in the request URL. However, this relies on having the correct configuration in place.

Please validate that you are populating the correct CID number on the connector screen

Let us know if you continue to see issues after verifying the above.

Hi Yes, I have the CID, etc. inserted. It's weird.

I have Postman working - the API Key, the Secret and Client ID are set in the iClient.
I really have no clue why it keeps stating that Company doesn't exist. It could be because I'm using the short name. In Postman I have to include %7C preceding the short name with is "|" URL Encoded. A "!" or "|" needs to precede the "short company name" if used. Please refer to: Developer Hub

Extract from documentation below-
"" Operations

API operations act on resources, which are business entities that are stored or computed. Each operation consists of an HTTP method plus a URL. A complete list of operations is available in the API reference documentation.

Syntax and URL form

The API's syntax is elegant in its simplicity:

HTTP method + URL

GET /v2/companies/12345/employees/210 returns data associated with person number 210 for company 12345

Our URLs are likewise constructed according to a consistent format:

https://{POD}/ta/rest/{major version}/{resource}/{resource_id}[/{subresource}]

note: The individual Company Resource within the URL is referenced by default using the numeric identifier of a company within the system. For ease of use the APIs also allow the use of the company shortname, when used with this identifier the shortname must be preceeded by either a | or ! ""

However, I know the CID was working as I was able to create the iClient. If I try to put in the "|" or "%7C" preceding the company short name, I get this different error

Dana,
If it is working in Postman you should be able to access that same call via IO.
Can you please try changing the view in your flow to the HTTP view and then you can copy the URL you are using in Postman into IO and test it that way. You can also add any other headers or such that you may have been using in Postman (if any)

In the HTTP view you have explicit control over the API and can input whatever you need. The Simple view is a way we try to make it easier to work with a systems API by turning the API options into dropdown menus, but we never lock you into only using what is in those drop downs.

1 Like

Hi Kelly, yes, this was the solution and had done this, but I had an incorrect relative URL which when I fixed it, worked right away.

Thank you for you help.