POST new/uniqueqr/code/generate

生成空白码

Request Information

URI Parameters

None.

Body Parameters

UniqueQRCodeGenerateRequest
NameDescriptionTypeAdditional information
Count

integer

None.

Size

integer

None.

DeptId

integer

None.

DeptName

string

None.

CodePrefix

string

None.

ShowSeqNo

boolean

None.

IsWxFollowQr

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Count": 1,
  "Size": 2,
  "DeptId": 3,
  "DeptName": "sample string 4",
  "CodePrefix": "sample string 5",
  "ShowSeqNo": true,
  "IsWxFollowQr": true
}

application/xml, text/xml

Sample:
<UniqueQRCodeGenerateRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ma.Api.Controllers.Dtos">
  <CodePrefix>sample string 5</CodePrefix>
  <Count>1</Count>
  <DeptId>3</DeptId>
  <DeptName>sample string 4</DeptName>
  <IsWxFollowQr>true</IsWxFollowQr>
  <ShowSeqNo>true</ShowSeqNo>
  <Size>2</Size>
</UniqueQRCodeGenerateRequest>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'UniqueQRCodeGenerateRequest'.

Response Information

Resource Description

ApiDataResponse
NameDescriptionTypeAdditional information
Ok

接口是否成功。

boolean

None.

Data

返回数据。

Object

None.

Msg

返回消息。

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Ok": true,
  "Data": {},
  "Msg": "sample string 3"
}

application/xml, text/xml

Sample:
<ApiDataResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ma.Api.Controllers.Dtos">
  <Data />
  <Msg>sample string 3</Msg>
  <Ok>true</Ok>
</ApiDataResponse>