# Get the set Official Account message template information
Interface should be called on the server side, seeHattori API。
# Interface Dxplaination
# Interface name
getShowItem
# Functional description
Using this interface canGet Scan Code Follow ComponentShown by the Official Account message template Information. If you encounter problems during use, you canOpen Platform Service Provider ZonePosting exchanges.
# Calling mode
# HTTPS call
GET https://api.weixin.qq.com/wxa/getshowwxaitem?access_token=ACCESS_TOKEN
# Third Party Invocation
The calling method and parameters are the same as HTTPS, only the calling token is different
The permission set id to which this interface belongs is: 18
After the service provider has been authorized with one of the permission sets, it can do so by usingauthorizer_access_TokenCalling on behalf of the merchant
# Request parameters
attribute | type | Required | Introductions |
---|---|---|---|
access_Token | string | yes | Interface invokes the certificate, which is URL Parameters, non Body Parameters. useauthorizer_access_Token |
# Return parameters
attribute | type | Introductions |
---|---|---|
errcode | number | Return code |
errmsg | string | Error message |
can_open | number | Is it possible to set 1 Yes, 0, no. |
is_open | number | Is it already set? 1 初始值 |
appid | string | Displayed Official Account message template appid |
nickname | string | Displayed Official Account message template nickname |
headimg | string | Displayed Official Account message template avatar |
# Call Example
Example Dxplaination: HTTPS requests
# Sample Request Data
GET https://api.weixin.qq.com/wxa/getshowwxaitem?access_token=ACCESS_TOKEN
# Return Data Example
{
"errcode": 0,
"errmsg": "ok",
"can_open": 1,
"is_open": 1,
"appid": " Show the Official Account message templateappid " ,
"nickname": " Show the Official Account message templatenickname " ,
"headimg": " Displayed Official Account message template avatar "
}
# Error code
Error code | Error code | Solutions |
---|---|---|
-1 | system error | The system is busy, please wait for the developer to try again |