3 Replies Latest reply on Mar 17, 2017 3:13 PM by Sanford Whiteman

    Do I have to call REST API's "Get Lead Activities" many times to replicate SOAP API's "getLeadActivity"?

      The following on SOAP API seems to be possible, but in REST API with say 50 activity types on the system I would have to make min 5 REST calls. Is this correct or is there a better way?

       

      SOAP API

      "getLeadActivity" allowed you to return all activity for a lead without providing activity ids or calling many times. getLeadActivity » Marketo Developers

       

      " If you want all activity types, a blank value needs to be passed."

       

      REST API

      "Get Lead Activities" Get Lead Activities » Marketo Developers

       

      activityTypeIds

      Required

      Comma-separated list of activity ids, max 10.  Obtain activity ids by calling Get Activity Types.