For more information, please refer to this announcement explaining best practices for getting answers to questions.
Fusion HCM REST API: How to Use OrderBy on an Attribute From a Child Resource?
Summary:
When I was trying to sort the assignments under the workRelationship API it throws an error:
URL request parameter orderBy with value workRelationships.StartDate:asc is not valid.
Content (required):
Is there a query to return employees assignment ordered by StartDate of assignments in descending order?
When I was trying to sort the assignments under the workRelationship API it throws an error:
URL request parameter orderBy with value workRelationships.StartDate:asc is not valid.
/hcmRestApi/resources/11.13.18.05/workers?q=PersonNumber=<data>&expand=workRelationships&effectiveDate=4712-12-31&onlyData=true&orderBy=workRelationships.StartDate:asc
Version (include the version you are using, if applicable):