POST v1/utilityClass/QRCodeGenerate

Request Information

URI Parameters

None.

Body Parameters

QRCodeGenerateRequest
NameDescriptionTypeAdditional information
textToEncode

string

None.

logoUrl

string

None.

useLogo

boolean

None.

width

integer

None.

height

integer

None.

accessType

string

None.

Request Formats

application/json, text/json

Sample:
{
  "textToEncode": "sample string 1",
  "logoUrl": "sample string 2",
  "useLogo": true,
  "width": 4,
  "height": 5,
  "accessType": "sample string 6"
}

application/xml, text/xml

Sample:
<QRCodeGenerateRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/unifiedApp.Models.generateQRCode">
  <accessType>sample string 6</accessType>
  <height>5</height>
  <logoUrl>sample string 2</logoUrl>
  <textToEncode>sample string 1</textToEncode>
  <useLogo>true</useLogo>
  <width>4</width>
</QRCodeGenerateRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

text/html

Sample:
{"textToEncode":"sample string 1","logoUrl":"sample string 2","useLogo":true,"width":4,"height":5,"accessType":"sample string 6"}

Response Information

Resource Description

QRCodeGenerateResult
NameDescriptionTypeAdditional information
errorMsg

string

None.

QRCodeUrl

string

None.

localUrl

string

None.

success

boolean

None.

QRCode_base64

string

None.

Response Formats

application/json, text/json

Sample:
{
  "errorMsg": "sample string 1",
  "QRCodeUrl": "sample string 2",
  "localUrl": "sample string 3",
  "success": true,
  "QRCode_base64": "sample string 5"
}

application/xml, text/xml

Sample:
<QRCodeGenerateResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/unifiedApp.Models.generateQRCode">
  <QRCodeUrl>sample string 2</QRCodeUrl>
  <QRCode_base64>sample string 5</QRCode_base64>
  <errorMsg>sample string 1</errorMsg>
  <localUrl>sample string 3</localUrl>
  <success>true</success>
</QRCodeGenerateResult>

text/html

Sample:
{"errorMsg":"sample string 1","QRCodeUrl":"sample string 2","localUrl":"sample string 3","success":true,"QRCode_base64":"sample string 5"}