You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@olingo.apache.org by Paul Boldijar <pa...@3sstudio.com> on 2014/11/27 14:16:03 UTC

Nested expand

Hey.

I want to do a query like this one

http://ip/PerformedServices?$expand=MedicationOrder($expand=MedicationOrderPositions($expand=Material($expand=Medication,Unit)))

But using Olingo4,

I've tried with

container.getPerformedServices().expand("MedicationOrder").expand("MedicationOrderPositions").expand("Material").expand("Medication",
"Unit").execute();

But this will take me to a wrong url, which is
- ip/PerformedServices?%24expand=Medication%2CUnit

Any ideeas?

Thanks.