Query child ressource
Content
Hello,
I want to retrieve Inventory On Hand data using inventoryOnhandBalances REST API and filter the result for an inventory project.
Project is in "inventoryTrackingAttributes" child object.
So, "expand=inventoryTrackingAttributes" is used, and "inventoryTrackingAttributes.InventoryProject" condition is added in query parameter, like below:
https://<POD>/fscmRestApi/resources/latest/inventoryOnhandBalances?expand=inventoryTrackingAttributes&q=OrganizationCode='****'; AND inventoryTrackingAttributes.InventoryProject='123456'
Status returned by API is 500 (Internal error). What's wrong in URL?
REST Framework version used is 2.
Thanks
Samuel
Version
20D0