For smooth integration and data retrieval in the ever-changing field of workforce management, utilizing APIs (Application Programming Interfaces) is essential. The procedure for obtaining the employee list through the Kronos/UKG Dimensions API is as follows. To accomplish this, you must create a bearer token and use it for authentication in all ensuing requests. Following the “Workforce Ready” Rest API Reference Guide’s step-by-step instructions.

CloudApper-Solution-Community-for-UKG

AI Platform

UKG Technology Partner

Get expert help getting the most out of UKG.

(https://secure.workforceready.com.au/ta/docs/rest/public/#)

Obtain Necessary Credentials:

Obtain the necessary API access credentials first. These consist of the company URLs, CID, API Key, username, password, and short name of the company. Before moving forward, make sure you have these details available.

CloudApper-Solution-Community-for-UKG

AI Platform

UKG Technology Partner

Need something UKG doesn't do out of the box? We build it.

Access the Workforce Ready Rest API Reference Guide:

Navigate to the “Workforce Ready” Rest API Reference Guide provided to you. Identify the relevant section under Resources > V1 > Login, where you will find details about generating a token.

CloudApper-Solution-Community-for-UKG

AI Platform

UKG Technology Partner

Get hands-on help customizing and extending UKG.

Authentication Setup:

  1. Open Postman and create a new request named “Token.”
  2. Set the request method to POST and use the URL “https://secure.workforceready.com.au/ta/rest/v1/login” (replace “secure.workforceready.com.au” with your company URL).
  3. In the Headers section, include the API Key and Content-Type.
  4. In the Body section, select the raw format and provide the following details:
  5. Click “Send” to receive a response containing the bearer token, time-to-live (ttl), and units.The ttl indicates the duration for which the token remains valid.

Retrieve Employee Details:

  1. In Postman, create a new request named “Get Employee.”
  2. Set the request method to GET and use the URL “https://secure.workforceready.com.au/ta/rest/v1/employees/” (replace secure.workforceready.com.au with your company URL).
  3. In the Headers section, include the API Key and Content-Type.
  4. For Authentication, add the “Authorization” header with the value “Bearer {{TOKEN}}” (replace {{TOKEN}} with the token obtained in the previous step).
  5. Click “Send” to receive a response containing details of all employees.

CloudApper-Solution-Community-for-UKG

AI Platform

UKG Technology Partner

Custom UKG solutions, built around exactly what you need.

By following these steps, you can successfully unlock the potential of the Kronos/UKG Dimensions API to retrieve a detailed list of employees. Ensuring proper authentication through the inclusion of the bearer token in the Authorization header for each request is key to a seamless and secure API interaction. Additionally, explore other links within the API for accessing additional information, such as pay details or employee demographics, further enhancing your workforce management capabilities.