What is the right Uri syntax for multilevel navigation in ODATA? -
And products from categories from
I'm confused about Yuri's correct form, from Navigation to customer to navigation for the product.
In the beginning, I gave myswive / customer (1) / product (10) / categories, but he gave me an error.
Then I tried MySave / Customer (1) / Products / Categories which were working correctly. I saw many examples on the Internet as Yuri, which I initially tried to do but it does not work for me.
Can anyone explain about this?
The correct type of URI depends on the multiplicity of the navigation property. If a customer can do many products then the first form is correct. If a customer can make the maximum product then the second form is correct.
Perhaps the multiplication set in this navigation property is incorrect in your service.
Comments
Post a Comment