Version: 17.07
Supported Since: 17.07
Insert Marketo Custom Activities connector operation allows insertion of custom activities associated to given lead records. Requires provisioning of custom activity types to utilize.
This operation requires Read-Write Activity Metadata permission from Marketo API. |
This operation expects the request message to contain the custom activity information as a JSON payload of the following format.
{
"input": [
{
"activityDate": "string",
"activityTypeId": 0,
"apiName": "string",
"attributes": [
{
"apiName": "string",
"name": "string",
"value": {}
}
],
"errors": [
{
"code": 0,
"message": "string"
}
],
"id": 0,
"leadId": 0,
"marketoGUID": "string",
"primaryAttributeValue": "string",
"status": "created"
}
]
}
If this operation was invoked successfully, it will provide a response message with a JSON payload of the following format.
{
"errors": [
{
"code": 0,
"message": "string"
}
],
"moreResult": false,
"nextPageToken": "string",
"requestId": "string",
"result": [
{
"activityDate": "string",
"activityTypeId": 0,
"apiName": "string",
"attributes": [
{
"apiName": "string",
"name": "string",
"value": {}
}
],
"errors": [
{
"code": 0,
"message": "string"
}
],
"id": 0,
"leadId": 0,
"marketoGUID": "string",
"primaryAttributeValue": "string",
"status": "created"
}
],
"success": false,
"warnings": [
{
"code": 0,
"message": "string"
}
]
}