AnsweredAssumed Answered

External Activities endpoint returns "success" and "skipped"

Question asked by 8c1c065139b8ecb5aef46ae14218c6840e53c765 on Dec 5, 2017
Latest reply on Dec 5, 2017 by 8c1c065139b8ecb5aef46ae14218c6840e53c765

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.

Outcomes