We'd love to hear from you! Provide  feedback  to earn a badge today. Take our quick survey
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

Query child ressource

Received Response
8
Views
1
Comments
edited Jan 6, 2021 8:45AM in Inventory Management 1 comment

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

20D

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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