GET api/WeChat/GetMessageTemplateList
获取微信消息列表
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
ApiResultOfMessageTemplateListResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Code | ApiCode |
None. |
|
| Message | string |
None. |
|
| Body | MessageTemplateListResponse |
None. |
|
| IsSuccess | boolean |
None. |
|
| SubCode | SubCode |
None. |
|
| SubMessage | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Code": 0,
"Message": "sample string 1",
"Body": {
"List": [
{
"template_id": "sample string 1",
"title": "sample string 2",
"primary_industry": "sample string 3",
"deputy_industry": "sample string 4",
"content": "sample string 5",
"example": "sample string 6"
},
{
"template_id": "sample string 1",
"title": "sample string 2",
"primary_industry": "sample string 3",
"deputy_industry": "sample string 4",
"content": "sample string 5",
"example": "sample string 6"
}
]
},
"IsSuccess": true,
"SubCode": 0,
"SubMessage": "sample string 2"
}
application/xml, text/xml
Sample:
<ApiResultOfMessageTemplateListResponsek74SVhXy xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Yidu.Model.TO">
<Body>
<List>
<MessageTemplateVO>
<content>sample string 5</content>
<deputy_industry>sample string 4</deputy_industry>
<example>sample string 6</example>
<primary_industry>sample string 3</primary_industry>
<template_id>sample string 1</template_id>
<title>sample string 2</title>
</MessageTemplateVO>
<MessageTemplateVO>
<content>sample string 5</content>
<deputy_industry>sample string 4</deputy_industry>
<example>sample string 6</example>
<primary_industry>sample string 3</primary_industry>
<template_id>sample string 1</template_id>
<title>sample string 2</title>
</MessageTemplateVO>
</List>
</Body>
<Code>Success</Code>
<Message>sample string 1</Message>
<SubCode>Success</SubCode>
<SubMessage>sample string 2</SubMessage>
</ApiResultOfMessageTemplateListResponsek74SVhXy>