6 Replies Latest reply on Dec 5, 2017 6:34 PM by Kit Randel

    External Activities endpoint returns "success" and "skipped"

    Kit Randel

      Hi there,

       

      I'm attempting to associate a lead with a custom activity, but unfortunately having some trouble.

       

      With a request like the following:

       

      POST https://xx-EOV-xx.mktorest.com/rest/v1/activities/external.json

       

      {"input": [

        {"status": "created",

         "leadId": 28782906,

         "primaryAttributeValue": "Name Registered",

         "activityDate": "2017-12-05T23:18:34.932545",

         "attributes": [{"name": "myApiName", "value": "foo"}],

         "activityTypeId": 100003}]}'

       

      I get the following response:

       

      {'requestId': 'xxx', 'success': True, 'result': [{'status': 'skipped'}]}

       

      Looking at the activity log for the lead, it does indeed appear that storing the event has been skipped.

       

      Would be very grateful if someone could point me in the right direction, thank you.