Microsoft
70-516 · Question #152
What can you add to the end of the URI to retrieve only a list of Order entities for the Customer entity whose CustomerID is `BONAP'?
The correct answer is D. /Customers(`BONAP')/Orders. See the full explanation below for the reasoning.
Question
What can you add to the end of the URI to retrieve only a list of Order entities for the Customer entity whose CustomerID is `BONAP'?
Options
- A/Customers(`BONAP')?$expand=Orders
- B/Customers?$filter=CustomerID eq `BONAP'&$expand=Orders
- C/Customers/Orders?$filter=CustomerID eq `BONAP'
- D/Customers(`BONAP')/Orders
How the community answered
(33 responses)- A9% (3)
- B3% (1)
- C6% (2)
- D82% (27)
Community Discussion
No community discussion yet for this question.