on 01-07-2019 9:25 PM
Hello i'm looking for some info about how can i get a structure and inside it a internal table? like:
Field1
Field2
Field3
Internaltable (Field1 Field2)
something like the above example
If one or more answers have answered your question please click on "✓ Accept"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
OData V4 in addition allows collections of complex values, see the example service TripPin example service. Here AddressInfo is a collection of structured values.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi Naoto,
You will need to define your Parent entity with Navigation Properties & Association between the Parent Entity to Child Entity in the service.
Then you can implement either the get_Expanded_Entity method of the class or individual Get_entity & Get_EntitySet Method of Parent and Child entity.
Then you can use the $expand request as mentioned by Andre above to get the data in a single request.
Thanks,
Vaibhav Maheshwari
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Not sure what exactly you are looking for.
But OData offers to get a hierachial response using the query option $expand.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
75 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.