nerdexam
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)
  • A
    9% (3)
  • B
    3% (1)
  • C
    6% (2)
  • D
    82% (27)

Community Discussion

No community discussion yet for this question.

Full 70-516 Practice