Fix Rest API Activity Output for ID #37 (Delete Lead)

0 Likes

Fix Rest API Activity Output for ID #37 (Delete Lead)

Today, when you query Marketo's REST API to see the structure of each Marketo activity, you'll notice that Activity ID 37 (Delete Lead) has the following structure:

 

 {
         "id":37,
         "name":"Delete Lead",
         "description":"Delete lead from Marketo database",
         "primaryAttribute":{
            "name":"Lead ID",
            "dataType":"integer"
         },
         "attributes":[
            {
               "name":"Remove from CRM",
               "dataType":"boolean"
            },
            {
               "name":"API Method Name",
               "dataType":"string"
            },
            {
               "name":"Modifying User",
               "dataType":"string"
            },
            {
               "name":"Request Id",
               "dataType":"string"
            }
         ]
      }

However, the attributes described are not actually returned when retrieving Delete Lead activities from the API; there is no data, and as a result "Remove From CRM", "API Method Name", and "Modifying User" are not passed. Could this please be corrected so that the data is transmitted again? I have independently checked this on multiple instances and with other Marketo users to confirm it is a bug across instances.