How to get job family name starting from Worker node?
Summary:
Get job family name starting from Workers REST API Call
Content (please ensure you mask any confidential information):
An external software needs to get job name starting from worker API:
https://xxxxx.fa.ocs.oraclecloud.com/hcmRestApi/resources/latest/workers
?q=PersonNumber=11784
The response returns a link to workRelationships
:
…which returns a link to assignments
:
…which returns the JobId without going any deeper:
At this point I should make a new call to get Jobs info like this:
https://xxxx.fa.ocs.oraclecloud.com:443/hcmRestApi/resources/11.13.18.05/jobs
?q=JobId=300000003759937
Here I can get the job family name but the external software cannot perform this call because it's outside the worker node.
Tagged:
0