AI Agent for Work Relationship UniqueWorkerID
Summary:
Hi All
I’m working on retrieving work relationship details via the HCM REST API for an AI agent and wanted to see if anyone was successful to retrieve the workersUniqID.
The GET call toretrieve Worker Relationship details is as follows:
/hcmRestApi/resources/11.13.18.05/workers/{workersUniqID}/child/workRelationships/{PeriodOfServiceId}
To fetch the work relationship, we need both the workersUniqID and the PeriodOfServiceId.
When I query via Postman, I’m able to retrieve the PeriodOfServiceId but not the workersUniqID.
From a few documents i have read i see that workersUniqID is a hash key, but I’d like to confirm the correct approach for obtaining it.