This project is read-only.

Using retrieveMultiple with Related Entities


If you want to retrieve a list of opportunities where a specific account is the customer, use the opportunity_customer_accounts entity relationship in the context of a specific account:

/AccountSet(guid'[GUID value]')/opportunity_customer_accounts

I suppose the other way would be to use $expand and $filter

Another thing I've noticed is that if you are using retrieve, you can specify & opts.expand but if using retrieveMultiple you can specify opts.odataQuery

Would be good if you could use either method of parameters against both retrieve & retrieveMultiple

$expand argument as per

/AccountSet(guid'[GUID value]')?select=Name,opportunity_customer_accounts&$expand=opportunity_customer_accounts