批量发送营销信息
接口地址:/admin/sendmessage_post POST
批量发送营销信息 -- wyh
接口说明:发送邮件、短信、站内消息
接口参数
| 参数名字 | 类型 | 是否必须 | 默认值 | 其他 | 说明 |
|---|---|---|---|---|---|
| send_type | 数组 | 非必填 | clients | - | 发送类型,clients-按客户,clients_and_host-按商品 |
| send_mothod | 数组 | 必填 | - | - | 发送方式,email-邮件,mobile-手机,wechat-微信,system-站内信 |
| clients | 数组 | 必填 | - | - | 用户信息集, send_type=clients,则包含用户基本信息 send_type=clients_and_host,则包含用户基本信息和产品信息 |
| email_subject | 字符串 | 必填 | - | - | 邮件主题 |
| email_attachments | 数组 | 非必填 | - | - | 邮件附件 |
| email_message | 字符串 | 必填 | - | - | 邮件内容 |
| system_subject | 字符串 | 必填 | - | - | 站内信主题 |
| system_attachments | 数组 | 非必填 | - | - | 站内信附件 |
| system_message | 字符串 | 必填 | - | - | 站内信内容 |
| msgid | 整型 | 非必填 | - | - | 短信模板ID |
| is_market | 整型 | 非必填 | 0 | - | 营销信息:0-否,1-是 |
| repeat_sent | 整型 | 非必填 | 0 | - | 重复发送:0-否,1-是 |
| batch_num | 整型 | 非必填 | 30 | - | 批量发送个数 |
| delay_time | 整型 | 非必填 | 10 | - | 间隔时间,秒 |
返回结果
{
"status":200/201/203/204/400/401/406,
"msg":提示信息,
"data":{
}
}提示:此文档是由系统自动生成,如发现错误或疑问请告知开发人员及时修改