web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Answered

Unable to expand rest API get for email_activity_parties

(0) ShareShare
ReportReport
Posted on by 5

We are executing the following REST API query

terra.crm6.dynamics.com/.../emails(f0f3f8c3-dcae-ec11-983f-002248936aa6)

The issue we have is that the nested expand returns no data as below:

{
    "@odata.context""">terra.crm6.dynamics.com/.../$metadata,
    "@odata.etag""W/\"5364918\"",
    "subject""EMAIL A",
    "activityid""f0f3f8c3-dcae-ec11-983f-002248936aa6",
    "email_activity_parties": [
        {
            "@odata.etag""W/\"4911349\"",
            "addressused""brian.t.langdon@gmail.com",
            "participationtypemask"1,
            "activitypartyid""f2f3f8c3-dcae-ec11-983f-002248936aa6",
            "partyid_contact"null,
            "partyid_systemuser"null,
            "activityid_email"null
        },
        {
            "@odata.etag""W/\"4911350\"",
            "addressused""paul.marsh@terra.com",
            "participationtypemask"2,
            "activitypartyid""f3f3f8c3-dcae-ec11-983f-002248936aa6",
            "partyid_contact"null,
            "partyid_systemuser"null,
            "activityid_email"null
        },
    ]
}
Does anybody have any idea why we cannot expand partyid_contact, partyid_systemuser etc?
I have the same question (0)
  • Verified answer
    Community Member Profile Picture
    on at

    Hi Paul i3cloud,

    Based on the doc, there is no 'partyid_contact' and 'partyid_systemuser' property. Instead, it has a property named '_partyid_value' and it could have 5 types(Queue, User, Knowledge Article, Account and Contact ).

    You could distinguish its type by this property '_partyid_value@Microsoft.Dynamics.CRM.lookuplogicalname'.

    Below is my test:

    pastedimage1649917562462v1.png

  • Paul i3cloud Profile Picture
    5 on at

    Hi Steve - Ah yes you are correct that works perfectly for me - thanks so much!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Martin Dráb Profile Picture

Martin Dráb 60 Most Valuable Professional

#2
#ManoVerse Profile Picture

#ManoVerse 51

#3
Satyam Prakash Profile Picture

Satyam Prakash 42

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans