How do you add the From and To into the Metadata for Engagements?
Closed this issue · 1 comments
jhuynh613 commented
In the example:
api.Engagement.Create(new EngagementHubSpotModel()
{
Engagement = new EngagementHubSpotEngagementModel()
{
Type = "EMAIL",
},
Metadata = new
{
**from{ email = "someemial@test.com" },
to { email = "toemail@email.com" },**
subject = "Can someone help me out.",
html = "This is the html body"
},
Associations = new EngagementHubSpotAssociationsModel()
{
ContactIds = new List<long>() { 1111 }
}
});
jhuynh613 commented
OH never mind.. figured it out. Great API.