GET api/WxSmallApp/WxSmallAppACode?Page={Page}&Scene={Scene}&Width={Width}&smallAppId={smallAppId}
生成微信小程序二维码
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
Page |
必须是已经发布的小程序存在的页面(否则报错) |
string |
Required |
Scene |
最大32个可见字符,只支持数字,大小写英文以及部分特殊字符 |
string |
Required |
Width |
二维码的宽度,单位 px,最小 280px,最大 1280px 默认430px |
integer |
Default value is 430 |
smallAppId |
调用163k小程序种类(同城 or 房产 or 其他) |
WxSmallType |
Default value is WxSmallHouse |
Body Parameters
None.
Response Information
Resource Description
生成微信小程序二维码
stringResponse Formats
application/json
Sample:
Sample not available.
text/json
Sample:
Sample not available.
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>