marketo op insert activities

Insert Marketo Custom Activities

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.

Parameters

This operation does not have any configurable parameters

Request

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"
    }
  ]
}

Response

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"
    }
  ]
}
In this topic
In this topic
Contact Us