6 Replies Latest reply on Nov 27, 2017 11:43 AM by Jerry Toledo

    Adding Custom Activities results in skipped

    Jerry Toledo

      Hello,

      I am trying to add custom activities, but the status is always skipped.

       

      My JSON body is:

      {

         "input":[

            {

               "leadId":210,

               "activityDate":"2016-09-26T06:56:35+05:00",

               "activityTypeId":405,

               "primaryAttributeValue":5,

           "attributes": [

                      {

                          "name": "Sharer ID",

                          "value": 51111

                      },

                      {

                          "name": "Social App Type ID",

                          "value": 11111

                      },

                      {

                          "name": "Social Network",

                          "value": "strings"

                      },

                      {

                          "name": "Webpage ID",

                          "value": 1

                      }

                  ]

            }

         ]

      }

       

      and I get the following response:

      {

      "requestId": "e1a3#15ff07da96a",

      "result": [

        {

         "status": "skipped"

        }

      ],

      "success": true

      }

       

      where the attributes for the activity with this id are

      {         

                  "primaryAttribute": {

                      "name": "Social App ID",

                      "dataType": "integer"

                  },

                  "attributes": [

                      {

                          "name": "Sharer ID",

                          "dataType": "integer"

                      },

                      {

                          "name": "Social App Type ID",

                          "dataType": "integer"

                      },

                      {

                          "name": "Social Network",

                          "dataType": "string"

                      },

                      {

                          "name": "Webpage ID",

                          "dataType": "integer"

                      }

                  ]

              },

       

      Both the lead Id and the activitiyTypeId do exist in the database.  If anyone can share some insights, would be much appreciated,

      thanks.