7 Replies Latest reply on Jul 20, 2016 8:38 PM by Sanford Whiteman

    Can't add custom activity

      Hello,

       

      I want add custom activity via REST API. Response status is "success", but all data is not registered. Because result status is "skipped".

      response json is

      {"requestId":"xxxxxxxxxxxxx","result":[{"status":"skipped","errors":[{"code":"1003","message"

      :"Invalid attribute 'null'"},{"code":"1003","message":"Invalid attribute 'null'"},,,,,

       

      request URL is

      /rest/v1/activities/external.json?access_token=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

       

      request body is

      {"input":
             [{"leadId":13
                  ,"activityDate":"2016-07-21T01:34:25+09:00"
                  ,"activityTypeId":100001
                  ,"primaryAttributeValue":"something"
                  ,"attributes":[
                       {"contact_datetime":"2016-07-07 01:02:01","certain_field1":"AA-BB-CC1"}
                       ,{"contact_datetime":"2016-07-07 01:02:02","certain_field1":"AA-BB-CC2"
                       ,{"contact_datetime":"2016-07-07 01:02:03","certain_field1":"AA-BB-CC3"}
                       ,,,,,,

       

      I don't know how to resolve.

      If you know this solution, please let me know.

       

      Thank you.