0

I am trying to understand OData...

I know the $expand parameter and it is nearly what I need but: The returned, embedded data is highly redundant.

This leads me to the question: How can I get the associated objects as references AND a separate list of the referenced objects in one call?

Or is there something important I did not understand yet?

Aruna Herath
  • 6,241
  • 1
  • 40
  • 59
eventhorizon
  • 2,977
  • 8
  • 33
  • 57
  • It's not clear what you mean by redundant. Please provide some code samples to show your data model and what you've tried so far. – lencharest Apr 05 '16 at 19:15
  • Are you trying to access the associated objects directly? If so, you can access it as a normal property. For example: http://services.odata.org/V4/OData/OData.svc/Products(1)/ProductDetail, ProductDetail is a navigation property of product – zoe Apr 06 '16 at 12:51

0 Answers0