AnsweredAssumed Answered

Custom Activity always returns Skipped for all input objects

Question asked by f7152f47fb2fbdcdd925431096770297fd9c0a19 on Jan 15, 2018
Latest reply on Apr 9, 2018 by Rob Alfieri

I'm trying to create a Custom Activity Record with the REST Api, but I always get "Skipped" for all input objects. The custom activity exists, it is approved, and all of the leads exist.

 

Here is the sample request.

{

  "input": [

    {

      "leadId": "70281",

      "activityDate": "2017-12-15T12:42:00",

      "activityTypeId": 100003,

      "primaryAttributeValue": "13001",

      "attributes": [

        {

          "name": "Chat Topic",

          "apiName": "chatTopic",

          "value": "Atrial Fibrillation"

        },

        {

          "name": "Email Address",

          "apiName": "emailAddress",

          "value": "test1@hileman.biz"

        },

        {

          "name": "Registered Date",

          "apiName": "registeredDate",

          "value": "12/15/2017 12:42:00 PM"

        },

        {

          "name": "Chat Date Time",

          "apiName": "chatDateTime",

          "value": "12/15/2017 12:00:00 PM"

        },

        {

          "name": "Short Description",

          "apiName": "shortDescription",

          "value": "Atrial fibrillation (AF or AFib) is the most common heart rhythm abnormality that starts in the atria. Approximately 2.2 million people in America and 4.5 million in the European Union have paroxysmal or persistent AF. Please join us to have your Atrial Fibrillation questions answered by staff cardiologist Mandeep Bhargava, MD, and Medical Director of the Center for Atrial Fibrillation, Walid Saliba, MD. "

        },

        {

          "name": "Transcript URL",

          "apiName": "transcriptURL",

          "value": "http://www.test.com"

        },

        {

          "name": "Active Chat",

          "apiName": "activeChat",

          "value": "true"

        },

        {

          "name": "Speaker 1",

          "apiName": "speaker1",

          "value": "Mandeep Bhargava, MD"

        },

        {

          "name": "Speaker 1 URL",

          "apiName": "speaker1URL",

          "value": "6660"

        },

        {

          "name": "Speaker 2",

          "apiName": "speaker2",

          "value": "Walid Saliba, MD"

        },

        {

          "name": "Speaker 2 URL",

          "apiName": "speaker2URL",

          "value": "3456"

        },

        {

          "name": "Speaker 3",

          "apiName": "speaker3",

          "value": ""

        },

        {

          "name": "Speaker 3 URL",

          "apiName": "speaker3URL",

          "value": ""

        },

        {

          "name": "Speaker 1 Title",

          "apiName": "speaker1Title",

          "value": "Staff Cardiologist"

        },

        {

          "name": "Speaker 1 Department",

          "apiName": "speaker1Department",

          "value": "Section of Cardiac Electrophysiology and Pacing"

        },

        {

          "name": "Speaker 2 Title",

          "apiName": "speaker2Title",

          "value": ""

        },

        {

          "name": "Speaker 2 Department",

          "apiName": "speaker2Department",

          "value": ""

        },

        {

          "name": "Speaker 3 Title",

          "apiName": "speaker3Title",

          "value": ""

        },

        {

          "name": "Speaker 3 Department",

          "apiName": "speaker3Department",

          "value": ""

        }

      ]

    }

  ]

}

 

Here is the response.

{

  "requestId": "f6af#160fb4a187f",

  "result": [

    { "status": "skipped" }

  ],

  "success": true

}

 

Thanks in advance.

Outcomes