SOLVED

Re: How can we log custom activity data against lead with REST API?

Go to solution
Anonymous
Not applicable

How can we log custom activity data against lead with REST API?

We have created custom activity with Marketo web portal, and able to create leads with REST API. So now how we can log custom activity data using Marketo REST API. Custom activity structure is as-

{

    "id": 100001,

    "name": "TEST_ACTIVITY",

    "apiName": "test_api_c",

    "description": "",

    "primaryAttribute": {

        "name": "event_id",

        "apiName": "event_id",

        "dataType": "string"

    },

    "attributes": [ {

            "name": "email",

            "apiName": "email",

            "dataType": "email"

        },

        {

            "name": "event_data",

            "apiName": "event_data",

            "dataType": "string"

        } ]

}

1 ACCEPTED SOLUTION

Accepted Solutions
Anonymous
Not applicable

Re: How can we log custom activity data against lead with REST API?

Sanford, Thanks for your reply. But, can you please elaborate more on this and provide a reference link for this.

View solution in original post

7 REPLIES 7
Josh_Hill13
Level 10 - Champion Alumni

Re: How can we log custom activity data against lead with REST API?

Is that not aligned with developers.marketo.com?

Anonymous
Not applicable

Re: How can we log custom activity data against lead with REST API?

What mean by that?

SanfordWhiteman
Level 10 - Community Moderator

Re: How can we log custom activity data against lead with REST API?

Josh means that the request payload for logging CAs is documented on the Developer site. You can also search past Community posts if you're confused.

Anonymous
Not applicable

Re: How can we log custom activity data against lead with REST API?

Sanford, Thanks for your reply. But, can you please elaborate more on this and provide a reference link for this.

SanfordWhiteman
Level 10 - Community Moderator

Re: How can we log custom activity data against lead with REST API?

Same place as everything else...

Anonymous
Not applicable

Re: How can we log custom activity data against lead with REST API?

Thanks we got the solution.

SanfordWhiteman
Level 10 - Community Moderator

Re: How can we log custom activity data against lead with REST API?

Did the documentation I pointed to not contain the solution?