GET Terminated Worker - REST
Summary:
I am trying to rehire an employee.
The process should be a GET request (filtering using person number) to obtain the unique ID.
POST request the work relationships collection.
Content (required):
Problem is that the GET request returns an empty response for the terminated worked.
I have tried setting the effectiveDate query parameter but it does not seem to make any difference.
Version (include the version you are using, if applicable):
Code Snippet (add any code snippets that support your topic, if applicable):
/hcmRestApi/resources/11.13.18.05/workers?fields=PersonNumber&onlyData=true&limit=500&q=PersonNumber=100038&effectiveDate=2023-08-22
Tagged:
0