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

Fetch the contact relationship of an employee through REST API

Received Response
117
Views
1
Comments
edited Jul 3, 2023 3:26PM in HCM REST APIs 1 comment

Summary:

We need to fetch the emergency contact of an employee through REST endpoint. I am not able to figure out how to get hcmContactsUniqID of an employee. It does not support person number or person id as parameter as well.

/hcmRestApi/resources/11.13.18.05/hcmContacts/{hcmContactsUniqID}

The above endpoint gives all hcm contacts, however I am unable to get it for a specific employee. Is there a direct REST API available or any workaround to get this data?

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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