Skip to content

Instantly share code, notes, and snippets.

@AshV
Last active December 24, 2018 10:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AshV/25248b1c4ad7db19567eec756ba0d7c7 to your computer and use it in GitHub Desktop.
Save AshV/25248b1c4ad7db19567eec756ba0d7c7 to your computer and use it in GitHub Desktop.
Email with CRM records available or without(directly using email Id) | Microsoft Dynamics 365 Sample
{
"regardingobjectid_contact@odata.bind": "/contacts(<regarding contact record guid>)",
"subject": "Email Subject",
"description": "Email Description",
"email_activity_parties": [
{
"partyid_systemuser@odata.bind": "/systemusers(<from system user record guid>)",
"participationtypemask": 1
},
{
"partyid_contact@odata.bind": "/contacts(<to contact record guid>)",
"participationtypemask": 2
},
{
"addressused": "<Cc email id>",
"participationtypemask": 3
},
{
"addressused": "<Bcc email id>",
"participationtypemask": 4
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment