GET api/Message/SubscribeTemplateId?openId={openId}&templateId={templateId}&isKeep={isKeep}
用户订阅模板消息
请求参数信息
URI 参数
| Name | Description | Type | Additional information |
|---|---|---|---|
| openId |
用户OpenId |
string |
Required |
| templateId |
消息模板ID |
string |
Required |
| isKeep |
是否长期保持:0-否|1-是 |
integer |
Required |
Body 参数
None.
接口返回信息
返回信息说明
JMResponseOfBoolean| Name | Description | Type | Additional information |
|---|---|---|---|
| code | string |
None. |
|
| msg | string |
None. |
|
| data | boolean |
None. |
返回数据格式
application/json, text/json
Sample:
{
"code": "sample string 1",
"msg": "sample string 2",
"data": true
}
application/xml, text/xml
Sample:
<JMResponseOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JYSupply.APIApplication.Models"> <code>sample string 1</code> <data>true</data> <msg>sample string 2</msg> </JMResponseOfboolean>