Community
Showing results for 
Search instead for 
Do you mean 
Reply

GET all opportunities, complete with Products ?

Highlighted
New Member
Posts: 1
Country: Canada

GET all opportunities, complete with Products ?

Greetings to all, noob question here ;-)

 

I am rather new to OData and HTTP, but managed to get JSON output for GET /api/opportunities as well as GET /api/opportunities/{id}/products for a specific Opportunity ID.

 

However, I want to obtain a single listing of Opportunities with full Products (description, price...). I suspect I need to use the $expand keyword, but cannot seem to figure out the proper way of writing up the URL request/syntax. 

 

Has anyone succeeded in doing so ?

 

Thanks in advance !