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?
  • Paul i3cloud Profile Picture
    5 on at
    RE: Unable to expand rest API get for email_activity_parties

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

  • Verified answer
    Community Member Profile Picture
    on at
    RE: Unable to expand rest API get for email_activity_parties

    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

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

Ramesh Kumar – Community Spotlight

We are honored to recognize Ramesh Kumar as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

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

#1
Adis Profile Picture

Adis 136 Super User 2025 Season 1

#2
Sohail Ahmed Profile Picture

Sohail Ahmed 81

#3
Jonas "Jones" Melgaard Profile Picture

Jonas "Jones" Melgaard 77 Super User 2025 Season 1

Product updates

Dynamics 365 release plans