
Entity - Phone call
I have phone call id GUID with me, I want to retrieve a value of 'Call To' which is Party List field. I tried using REST Builder which is not showing Call To field in the select list. Anyone know how to get Call to information using rest api CRM 365
*This post is locked for comments
I have the same question (0)You need to create get the ActivityParty Relationship between Phone Call and Activity Party where the Participation Type is the To Recipient. Try to get the correct query in Advanced Find (Fetch Xml), and then using the same logic in your CRM Result Builder.
Maybe something like this will work out for what you are looking for:
req.open("GET", Xrm.Page.context.getClientUrl() + "/api/data/v8.1/activityparties?$expand=activityid_phonecall($select=activityid, //add required fields)
&$filter=_activityid_value eq 12345678-1234-1234-1234-123456789012 and participationtypemask eq 2", true);
Hope this helps.