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

How do I limit workers API call to only return workrelationship and assignment for an employee?

Received Response
25
Views
2
Comments
edited Mar 29, 2024 8:12AM in HCM REST APIs 2 comments

Summary:

Our call is returning multiple results for a specific employee, as they were a "pending" worker which is inactive, and an employee which is active.

How do I limit workers API call in postman to only return AssignmentType = E and/or AssignmentStatusType = ACTIVE?

We have tried to add q=PersonNumber=###### AND workRelationships.assignments.AssignmentType='E' but it still returns multiple rows.

Content (please ensure you mask any confidential information):


Version (include the version you are using, if applicable):


Code Snippet (add any code snippets that support your topic, if applicable):

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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