新增营销活动
| 名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
|---|---|---|---|---|---|
| account_id | Number | 必须 | 123 | 账号 | |
| company_id | Number | 必须 | 123 | 公司id | |
| list | Data [] | 必须 |
|
数据列表 | |
|
|||||
| receivers | Receivers [] | 必须 |
|
收件人 | |
|
|||||
| plan_name | String | 必须 | planxxxx | 计划名 | |
| start_time | String | 必须 | 2020-01-01 00:00:00 | 计划开始时间 | |
| end_time | String | 可选 | 2020-01-01 00:00:00 | 计划结束时间 | |
| campaign | Campaign | 可选 | 计划对象 | ||
|
| 名称 | 类型 | 示例值 | 描述 |
|---|---|---|---|
| data | Data | 数据对象 | |
|
|||
| error_desc | String | 2024-06-17 17:57:47.527 | 错误描述 |
| success | Boolean | true | 是否成功 |
| now | String | 2024-06-17 17:57:47 | 时间 |
| resp_code | Number | 0 | 响应编码 |
{"start_time":"2020-01-01 00:00:00","account_id":123,"company_id":123,"receivers":[{"company_name":"公司名","nickname":"xxx","source":1,"account":"xxx@okki.com"}],"end_time":"2020-01-01 00:00:00","campaign":{"start_time":"2020-01-01 00:00:00","extra_info":"xxx","end_time":"2020-01-01 00:00:00","template_id":"xxx","channel_type":"xxx","customer_group_id":"xxx","channel_id":"xxx","post_time":"2020-01-01 00:00:00"},"list":[{"template_data_json":"模板数据字符串","sign_id":"123","attachment_list":[""],"subject":[""],"inline_image_list":[""],"template_html_json":"模板html字符串","sender_name":"www","template_img_url":"http:xxxx","template_config_json":"模板配置字符串","content":"xxxx","sender":"ww","draft":0,"template_id":1}],"plan_name":"planxxxx"}
{
"data":{
"status":1,
"company_count":123,
"total_count":123,
"plan_id":13,
"is_async":0,
"filter_count":1,
"plan_name":"xxx"
},
"error_desc":"2024-06-17 17:57:47.527",
"success":true,
"now":"2024-06-17 17:57:47",
"resp_code":0
}
{"success":"false","error_desc":"Illegal request","resp_code":"sign-check-failure"}
| 错误码 | 错误描述 | 解决方案 |
|---|