Use of EmergencyContactFlag variable forFinder "findContactsByWorker"
Summary:
We are working to pull only emergency contacts via HCMContacts REST endpoint, but when variable "EmergencyContactFlag" is added to findContactsByWorker, no values are returned.
Content (required):
Hello,
We are working to pull only emergency contacts via HCMContacts REST endpoint, but when variable "EmergencyContactFlag" is added to findContactsByWorker, no values are returned. I'm hoping someone else has encountered this issue and can point out my mistake.
Other variables, such as ContactType seem to work as expected.
-Example 1: Returns all contacts: Have confirmed one contact has contactRelationship.EmergencyContactFlag =true
/hcmRestApi/resources/11.13.18.05/hcmContacts?finder=findContactsByWorker;RelatedPersonNumber=107149&onlyData=true&expand=contactRelationships,names,phone