Hi Team,
We have a requirement to derive the region2 code based on Primary Location retrieved from the Job Requisition REST API (not from the Location table/resource). However, we’re unable to find a reliable REST API linkage to map the returned GeographyId (or Primary Location) to a location/region identifier.
We are using the below API to retrieve the Primary Location:
https://<host>:<port>/hcmRestApi/resources/latest/recruitingHierarchyLocations?onlyData=true&finder=findByGeographyNodeIds;Ids="123456",InactiveNodes=true
If anyone has encountered a similar scenario, your guidance to achieve this would be appreciated—could you please advise on the recommended API/endpoints to:
- Link GeographyId to a Location / Region object
- Derive region2 from Job Requisition Primary Location or GeographyId
Thank you!!