pp.activity.addLink 添加获客链接里面 一些

2020-04-11  本文已影响0人  小二郎_Ejun
URL pp.activity.addLink
请求方式 POST

请求参数

参数名 类型 必填 说明
token [string]

返回结果参数说明

参数名 类型 必含 说明
status [int] 返回数据状态 1:成功,0:失败
msg [string] 返回提示信息
data [json] 结果对象包括下述字段:
{
   channel =     (//渠道信息
               {
           addtime = 1519991010;
           corpid = 144;
           id = 13;
           "is_sys" = 0;
           name = 555;
           stamp = "2018-03-02 19:43:30";
           userid = 8912;
       }
   );
   comField =     (//字段内容
               {
           csssetting = industry;
           extsetting =             (//扩展内容
                               {
                   name = "仅显示一级行业";
                   param = top;
                   type = checkbox;
               }
           );
           formtype = listbox;
           id = 6;
           name = "行业";
       }, {
           csssetting = gender;
           extsetting =             (
           );
           formtype = radiobox;
           id = 11;
           name = "性别";
       },  {
           csssetting = weixin;
           extsetting =             (
           );
           formtype = text;
           id = 245;
           name = "微信";
       }
   );
   "comField_arr" =     (
               {
           extconfig = "";
           fieldid = 6;
           id = 0;
           isrequired = 0;
           name = "行业";
           type = listbox;
       },
               {
           extconfig = "";
           fieldid = 9;
           id = 0;
           isrequired = 0;
           name = "地址";
           type = text;
       },
               {
           extconfig = "";
           fieldid = 11;
           id = 0;
           isrequired = 0;
           name = "性别";
           type = radiobox;
       }
           
   );
   gonghai =     (//公海信息
               {
           id = 7;
           name = "默认公海池";
       }
   );
   "optionalfields_arr" =     (//选填内容
               {
           formtype = text;
           id = 3;
           name = "职位";
       },
               {
           formtype = text;
           id = 5;
           name = "邮箱";
       }
   );
   reqField =     (
               {
           formtype = text;
           id = 1;
           "is_must" = 1;
           name = "姓名";
       }, {
           formtype = text;
           id = 5;
           "is_must" = 0;
           name = "邮箱";
       }
   );
   "requiredfields_arr" =     (//必填内容
               {
           formtype = text;
           id = 1;
           name = "姓名";
       },
               {
           formtype = text;
           id = 2;
           name = "公司名称";
       },
               {
           formtype = text;
           id = 4;
           name = "手机";
       }
   );
   templates =     (//模板信息
               {
           id = 2;
           name = "普通模板";
           "pic_url" = "https://oppo.xslp.com/form/template/h5_1.png";
           type = h5;
       },
               {
           id = 3;
           name = "长图文模板";
           "pic_url" = "https://oppo.xslp.com/form/template/h5_2.png";
           type = h5;
       }
   );
}
上一篇下一篇

猜你喜欢

热点阅读