InsertEngagement
Allows the insertion of engagements into HubSpot. Currently there is no good means of retrieving existing engagements via the HubSpot API.
Input
Name | Type | Description |
EngagementType | String | The type of engagement to create.
使用できる値は次のとおりです。NOTE, EMAIL, TASK, MEETING |
EngagementTime | String | A datetime indicating when the engagement took place. |
EngagementIsActive | String | A boolean indicating if the engagement is active. |
AssociatedContacts | String | A comma separated list of contact ids to associate with the engagement. |
AssociatedCompanies | String | A comma separated list of company ids to associate with the engagement. |
AssociatedDeals | String | A comma separated list of deal ids to associate with the engagement. |
AssociatedOwners | String | A comma separated list of owner ids to associate with the engagement. |
NoteBody | String | The body of a note engagement. Only used when EngagementType = NOTE. |
FromEmail | String | The from email in the engagement. Only used when EngagementType = EMAIL. |
FromFirstName | String | The first name the email was from in the engagement. Only used when EngagementType = EMAIL. |
FromLastName | String | The last name the email was from in the engagement. Only used when EngagementType = EMAIL. |
ToEmail | String | A comma separated list of emails the message was sent to. Only used when EngagementType = EMAIL. |
EmailCC | String | A comma separated list of cc'd email addresses. Only used when EngagementType = EMAIL. |
EmailBCC | String | A comma separated list of bcc'd email addresses. Only used when EngagementType = EMAIL. |
EmailSubject | String | The subject of the email. Only used when EngagementType = EMAIL. |
EmailHtml | String | Html content consisting of the body of the email. Only used when EngagementType = EMAIL. |
EmailText | String | Plain text conttent consisting of the body of the email. Only used when EngagementType = EMAIL. |
TaskBody | String | The body of the task. Only used when EngagementType = TASK. |
TaskStatus | String | The status of the task. Only used when EngagementType = TASK. |
TaskForObjectType | String | The object type the task is for. For instance, CONTACT. Only used when EngagementType = TASK. |
MeetingBody | String | A body outlining the details of the meeting. Only used when EngagementType = MEETING. |
MeetingStartTime | String | The start date time for the meeting. Only used when EngagementType = MEETING. |
MeetingEndTime | String | The end date time for the meeting. Only used when EngagementType = MEETING. |
MeetingTitle | String | The title of the meeting. Only used when EngagementType = MEETING. |
Result Set Columns
Name | Type | Description |
Id | String | The id of the engagement. |