GET api/wechat/getweixintemplatemsg?Id={Id}

获取模板消息

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Id

模板id

string

Required

Body Parameters

None.

Response Information

Resource Description

获取模板消息

JsonRtnDtoOfWeiXinTemplateMsg
NameDescriptionTypeAdditional information
Msg

string

None.

State

RtnState

None.

Data

WeiXinTemplateMsg

None.

Response Formats

application/json, text/json

Sample:
{
  "Msg": "sample string 1",
  "State": 100,
  "Data": {
    "Id": "sample string 1",
    "NoticeType": 1,
    "GroupType": 1,
    "first": "sample string 2",
    "keyword1": "sample string 3",
    "keyword2": "sample string 4",
    "keyword3": "sample string 5",
    "keyword4": "sample string 6",
    "keyword5": "sample string 7",
    "remark": "sample string 8",
    "Title": "sample string 9",
    "IsEnabled": true
  }
}

text/html

Sample:
{"Msg":"sample string 1","State":100,"Data":{"Id":"sample string 1","NoticeType":1,"GroupType":1,"first":"sample string 2","keyword1":"sample string 3","keyword2":"sample string 4","keyword3":"sample string 5","keyword4":"sample string 6","keyword5":"sample string 7","remark":"sample string 8","Title":"sample string 9","IsEnabled":true}}

application/xml, text/xml

Sample:
<JsonRtnDtoOfWeiXinTemplateMsgmEDjlcEG xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/BJ.Data">
    <d2p1:GroupType>博教科技</d2p1:GroupType>
    <d2p1:Id>sample string 1</d2p1:Id>
    <d2p1:IsEnabled>true</d2p1:IsEnabled>
    <d2p1:NoticeType>考试安排</d2p1:NoticeType>
    <d2p1:Title>sample string 9</d2p1:Title>
    <d2p1:first>sample string 2</d2p1:first>
    <d2p1:keyword1>sample string 3</d2p1:keyword1>
    <d2p1:keyword2>sample string 4</d2p1:keyword2>
    <d2p1:keyword3>sample string 5</d2p1:keyword3>
    <d2p1:keyword4>sample string 6</d2p1:keyword4>
    <d2p1:keyword5>sample string 7</d2p1:keyword5>
    <d2p1:remark>sample string 8</d2p1:remark>
  </Data>
  <Msg>sample string 1</Msg>
  <State>Display</State>
</JsonRtnDtoOfWeiXinTemplateMsgmEDjlcEG>

text/javascript, application/javascript, application/json-p

Sample:
/**/ typeof  === 'function' && ({"Msg":"sample string 1","State":100,"Data":{"Id":"sample string 1","NoticeType":1,"GroupType":1,"first":"sample string 2","keyword1":"sample string 3","keyword2":"sample string 4","keyword3":"sample string 5","keyword4":"sample string 6","keyword5":"sample string 7","remark":"sample string 8","Title":"sample string 9","IsEnabled":true}});