POST api/CommonAccount/testWxQrcode

Request Information

URI Parameters

None.

Body Parameters

WxQrcodeReq
NameDescriptionTypeAdditional information
scene

string

None.

page

string

None.

width

默认400

integer

None.

auto_color

默认false

boolean

None.

line_color

默认rgb都为0

line_color

None.

is_hyaline

默认false

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "scene": "sample string 1",
  "page": "sample string 2",
  "width": 3,
  "auto_color": true,
  "line_color": {
    "r": 1,
    "g": 2,
    "b": 3
  },
  "is_hyaline": true
}

application/xml, text/xml

Sample:
<WxQrcodeReq xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAppCommonV2.Controllers">
  <auto_color>true</auto_color>
  <is_hyaline>true</is_hyaline>
  <line_color>
    <b>3</b>
    <g>2</g>
    <r>1</r>
  </line_color>
  <page>sample string 2</page>
  <scene>sample string 1</scene>
  <width>3</width>
</WxQrcodeReq>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of byte

Response Formats

application/json, text/json

Sample:
"QEA="

application/xml, text/xml

Sample:
<base64Binary xmlns="http://schemas.microsoft.com/2003/10/Serialization/">QEA=</base64Binary>