根据场景查询拉取短信模板
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
scenarioId | Number | 可选 | 5 | 场景ID |
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
codeInfo | String | 0 | 0:成功 1000:请求参数错误 1001:sign签名错误 2000:业务异常 2001:合作表示错误 3000:系统异常 3001:内部接口异常 -1:未知异常 |
messageInfo | String | 成功 | 错误说明 |
success | Boolean | true | 错误说明 |
data | Struct | 业务数据 | |
|
{"scenarioId":5}
{ "codeInfo":"0", "messageInfo":"成功", "success":true, "data":{ "id":5, "scenarioId":2, "templateName":"即将过期测试模板", "templateCode":"111", "templateContent":"尊敬的\\{\\{customerName\\}\\}\\{\\{sex\\}\\}您好,您的\\{\\{couponName\\}\\}\\{\\{couponCodes\\}\\}即将过期,请及时使用,\\{\\{brandName\\}\\}。", "languageCode":"zh", "isAuto":1, "channelType":1, "creatorId":1008, "creatorName":"李鹏程", "updatorId":1008, "updatorName":"李鹏程", "createTime":1470154010000, "updateTime":1470154010000, "statusFlag":"1" } }
{"codeInfo":"sign-check-failure","messageInfo":"Illegal request"}
错误码 | 错误描述 | 解决方案 |
---|