Extracting type of Activity from Marketo. | Community
Skip to main content
September 27, 2013
Question

Extracting type of Activity from Marketo.

  • September 27, 2013
  • 4 replies
  • 937 views

I am extracting ActivityRecord with filter of ActivityType. 

I am extracting following activity types.

RemoveFromList, CreateTask , ConvetLead , DeleteLead , LeadAssigned.

For these activity types data is available in Marketo account however when I am extracting it I am getting 0 records.

Following SOAP request I am passing along with authentication header info to getLeadChanges() API

<paramsGetLeadChanges xmlns="marketo.com/mktows/">
  <startPosition xmlns="">
        <activityCreatedAt>0001-01-01T00:00:00.000+05:30</activityCreatedAt>
  </startPosition>
  <activityFilter xmlns="">
      <includeTypes>
         <activityType>ConvertLead</activityType>
       </includeTypes>
  </activityFilter>
</paramsGetLeadChanges>

If I enter NewLead as activity type then it extracts all the records of NewLead type.

Am I missing anything while passing SOAP request? 

Thanks in Advance

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

4 replies

September 28, 2013
Shrikant,
I'd start with the sample code here - http://developers.marketo.com/documentation/soap/getleadchanges/

R
aj
October 3, 2013
Srikant - You may also want to try using a more recent time stamp than "0001-01-01T00:00:00.000+05:30".
October 4, 2013

Hi Travis -

   I tried with recent time stamp . In marketo account , "Remove From List" activity type have timestamp of  Sept 17, 2013 4.46 pm.  In API I tried 2013-09-17T00:00:00.000-07:00  and also tried 2013-09-17T00:00:00.000+05:30  however still getting return count as 0 . No records.

 

Thanks
Shrikant

October 7, 2013
Best to file a ticket with support at this point.