Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 82002

How can I get the account primary contact in expand?

$
0
0

https://xxxxxxxx.api.crm.dynamics.com/api/data/v9.2/accounts(a415b010-3663-eb11-bb23-000d3a5913d3)?$select=name&$expand=primarycontactid($select=fullname,emailaddress1)

the full name, email have values.

but when get the same data in multiple level expand,

https://xxxxxxxxxxx.api.crm.dynamics.com/api/data/v9.2/oci_outcomechains(4A5AE6D9-B471-EB11-A812-000D3A374259)?$select=oci_name,oci_id,oci_oc_description&$expand=oci_OutcomeChain_Opportunity_Relationship($select=name,opportunityid,createdon),oci_OutcomeChain_Account_Relationship($select=name,address1_city,telephone1,_primarycontactid_value;$expand=primarycontactid($select=fullname,emailaddress1))


Viewing all articles
Browse latest Browse all 82002

Latest Images

Trending Articles



Latest Images