How to publish the nested data list for one object in published ODATA services

0
Hi community,    I am trying to implement to send nested data from mendix to other consuming applications, for that I am using "Published ODATA services". So, I can be able to send the data as a single entity. But I need to send data with associated list items as well. Even I have built an association between main entity and child entity, but in response I am able to see single entity response. Is there any chance that I can send data with associated list of objects?   Please give me your valuable inputs and suggestions for this issue.   Thank you, Gnanadeep
asked
2 answers
2

Clients can request associated data using $expand. You can read more about that in 

https://docs.mendix.com/refguide/supported-odata-operations/#retrieving-associated-objects

answered
1

we can achieve this in OData v3 using below query.

I have associate from history to Invite so able to get invite object reference.

https://abc-test.mendixcloud.com/odata/CustomerAccount/v1/Historys?$expand=History_Invite

 

 image.png

answered