Mismatch in the Activity types received from Rest API

Anonymous
Not applicable

Mismatch in the Activity types received from Rest API

Hi,

Trying to retrieve the Activity types using the service /rest/v1/activities/types.json

In the response found that i received only 53 activity types (Attached the response - ActivityTypesResponse.json)

When seen in the Marketo login could see more activity types (near to 70).

To give an example - "Add to Segment" is not being returned (Attached the screenshot showing one of the missing activity highlighted - MissingActivity.png).

Can you please help to find the reason for the mismatch

Endpoint: https://607-VUD-713.mktorest.com/rest

Identity: https://607-VUD-713.mktorest.com/identity

Thanks,

Kiran

4 REPLIES 4
Anonymous
Not applicable

Re: Mismatch in the Activity types received from Rest API

"Clicked Link on web page" in the UI is "Click Link" returned from the API:

{

      "id": 3,

      "name": "Click Link",

      "description": "User clicks link on a page",

      "primaryAttribute": {

        "name": "Link ID",

        "dataType": "integer"

      },

      "attributes": [

        {

          "name": "Client IP Address",

          "dataType": "string"

        },

        {

          "name": "Query Parameters",

          "dataType": "string"

        },

        {

          "name": "Referrer URL",

          "dataType": "string"

        },

        {

          "name": "User Agent",

          "dataType": "string"

        },

        {

          "name": "Webpage ID",

          "dataType": "integer"

        }

      ]

    }

What other activity types are you not seeing?

Anonymous
Not applicable

Re: Mismatch in the Activity types received from Rest API

Thanks Jason for your prompt response.

My bad.. I gave a wrong activity type which is in the response.

"Add to Segment" is missing.  Did edit the discussion as well stating that "Add to Segment" is missing.

Thanks,

Kiran

Anonymous
Not applicable

Re: Mismatch in the Activity types received from Rest API

I imagine the API would report that as a "Change Segment" event, probably from NULL to a new segment:

{

      "id": 108,

      "name": "Change Segment",

      "description": "Change segment (within a segmentation) for a lead",

      "primaryAttribute": {

        "name": "Segmentation ID",

        "dataType": "integer"

      },

      "attributes": [

        {

          "name": "New Segment ID",

          "dataType": "integer"

        }

      ]

    }

Anonymous
Not applicable

Re: Mismatch in the Activity types received from Rest API

Jason,

This is our requirement.

We will list out all the available Activity types in our application (Activity types are retrieved using the REST API provided above) and user can get the leads based by choosing an activity type.

Now the issue is we are not able to retrieve all the activity types. Finding the mismatch between the activity types returned from the API and the ones displayed in the Marketo.

Thanks,

Kiran