odata
odata copied to clipboard
Are nested queries supported?
I am not able to make nested queries work (esp $expand and $filter)? Not sure if I am not doing it right or the operations are not supported yet?
GET SERVICE/Shipments?$expand=itinerary($expand=origin) This only expands itinerary and does not expand origin entity in it. I have 4-5 levels of nested entities and would like to expand all of them and also apply filters on it. I was wondering how would I achieve that
Also, are 'any', 'all' operators supported? GET SERVICE/Shipments?$filter=events/any(t:t/status eq 'completed') This gives a parsing exception "string matching regex '\(\s*' expected but 't' found"
Can anyone please help?