Hi. I'm trying to send an email through web api using the action SendEmailFromTemplate and I need passing data fields to replace in template. I'm sending a json like this:
{
"TemplateId": "0B57FBB1-9C28-E911-A95E-000D3ABA65FD",
"Regarding": {
"accountid": "46d64005-4231-e911-a960-000d3aba6189",
"@odata.type": "Microsoft.Dynamics.CRM.account"
},
"Target": {
"email_activity_parties": [
{
"partyid_systemuser@odata.bind": "/systemusers(4adb50e5-72bd-40a8-8021-d23c6462f32d)",
"participationtypemask": 1
},
{
"participationtypemask": 2,
"partyid_eve_inquilinos_reserva@odata.bind": "/account(293f3a4e-8b30-e911-a95e-000d3aba65fd)"
}
],
"@odata.type": "Microsoft.Dynamics.CRM.email"
}
}
This json works fine and I send an email, but if I want sending data field to replace in template. Where do I have to put the data field in the json? Inside the target section? What format should it take? Is it possible this action?
Thanks
*This post is locked for comments