Activity¶
Type: object
Properties¶
| Property | Type | Required | Description | Constraints |
|---|---|---|---|---|
activityDate |
string (date-time) | Yes | Datetime of the activity | |
activityTypeId |
integer (int32) | Yes | Id of the activity type | |
attributes |
array |
Yes | List of secondary attributes | |
campaignId |
integer (int64) | No | Id of the associated Smart Campaign, if applicable | |
id |
integer (int64) | Yes | Integer id of the activity. This value could exceed Int.MAX. For instances which have been migrated to Activity Service, this field may not be present, and should not be treated as unique. | |
leadId |
integer (int64) | Yes | Id of the lead associated to the activity | |
marketoGUID |
string | No | Unique id of the activity (128 character string) | |
primaryAttributeValue |
string | No | Value of the primary attribute | |
primaryAttributeValueId |
integer (int64) | No | Id of the primary attribute field |
Generated example¶
{
"activityDate": "2026-01-15T10:30:00Z",
"activityTypeId": 123,
"attributes": [
{
"apiName": "Example name",
"name": "Example name",
"value": {}
}
],
"campaignId": 123,
"id": 123,
"leadId": 123,
"marketoGUID": "123",
"primaryAttributeValue": "string",
"primaryAttributeValueId": 123
}
Referenced models¶
Source¶
Generated from swagger-mapi.json.