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

Worker API GET Call response with Assignment number as a parameter

For GET call in worker API, when we try to query it with the assignment number in the query parameter
(q=workRelationships.assignments.AssignmentNumber='E0000A-2'), it should give the response only for this particular entry ('E0000A-2'). But we are able to see other entries like 'E0000A-3','E0000A' also.

URL:
/hcmRestApi/resources/11.13.18.05/workers?q=workRelationships.assignments.AssignmentNumber='E0000A-2'&expand=workRelationships.assignments

In case if an employee has multiple assignments,we need the response of only 'E0000A-2'. How do query that in the header. Because, currently if query it only with 'E0000A-2' it brings up all the assignments in the response.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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