GET api/WechatTemplate/AddTemplate?templateId={templateId}
后台 - 添加模板库里的模板到公众号后台
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
templateId |
模板编号 |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
后台 - 添加模板库里的模板到公众号后台
AddtemplateJsonResultName | Description | Type | Additional information |
---|---|---|---|
template_id | string |
None. |
|
errcode | ReturnCode |
None. |
|
ErrorCodeValue | integer |
None. |
|
errmsg | string |
None. |
|
P2PData | Object |
None. |
Response Formats
application/json
Sample:
Sample not available.
text/json
Sample:
Sample not available.
application/xml, text/xml
Sample:
<AddtemplateJsonResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Senparc.Weixin.MP.AdvancedAPIs.TemplateMessage"> <_x003C_P2PData_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/Senparc.Weixin.Entities" /> <_x003C_errmsg_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/Senparc.Weixin.Entities">sample string 2</_x003C_errmsg_x003E_k__BackingField> <_x003C_errcode_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/Senparc.Weixin.Entities">请求成功</_x003C_errcode_x003E_k__BackingField> <template_id>sample string 1</template_id> </AddtemplateJsonResult>