How can we log custom activity data against lead with REST API? | Community
Skip to main content
Mar 19, 2018 9:55 AM UTC
Solved

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"

        } ]

}

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Accepted solution
Mar 20, 2018 5:47 AM UTC

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.


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

7 replies

Josh_Hill13
Level 10
Mar 19, 2018 4:55 PM UTC

Is that not aligned with developers.marketo.com?

Translate
Mar 20, 2018 4:47 AM UTC

What mean by that?

Translate
SanfordWhiteman
Level 10
Mar 20, 2018 4:50 AM UTC

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.

Translate