You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

REST API - Correct locations endpoint

Summary:

I am using GET /hcmRestApi/resources/11.13.18.05/locationsV2 to retrieve all locations. However, this endpoint does not return the same results as HR_LOCATIONS_ALL - it returns a higher number of records than those available in the view.

I also tested GET /hcmRestApi/resources/11.13.18.05/locations, which appears to return results consistent with HR_LOCATIONS_ALL.

Could you please confirm which API endpoint is the correct one to use for retrieving all locations?

Thanks,

Sasmita


Content (please ensure you mask any confidential information):


Version (include the version you are using, if applicable):



Code Snippet (add any code snippets that support your topic, if applicable):

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!