POST Scanning/ScanQR

Request Information

URI Parameters

None.

Body Parameters

RequestScanQR

None.

Request Formats

application/json, text/json

Sample:
{
  "QRData": "sample string 1"
}

application/xml, text/xml

Sample:
<RequestScanQR xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/YourTicketAPI" />

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResponseScanQR
NameDescriptionTypeAdditional information
Message

string

None.

MessageType

integer

None.

PopupShownFor

if -1 it will take from globalsettings

integer

None.

PopupScanTimeout

if -1 it will take from globalsettings

integer

None.

MessageIconColor

string

None.

MessageTextColor

string

None.

ScanText

string

None.

FilesForAppType

FilesForAppType

None.

FilesForAppExtension

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Message": "sample string 1",
  "MessageType": 2,
  "PopupShownFor": 3,
  "PopupScanTimeout": 4,
  "MessageIconColor": "sample string 5",
  "MessageTextColor": "sample string 6",
  "ScanText": "sample string 7",
  "FilesForAppType": 0,
  "FilesForAppExtension": "sample string 8"
}

application/xml, text/xml

Sample:
<ResponseScanQR xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/YourTicketAPI">
  <FilesForAppExtension>sample string 8</FilesForAppExtension>
  <FilesForAppType>Success</FilesForAppType>
  <Message>sample string 1</Message>
  <MessageIconColor>sample string 5</MessageIconColor>
  <MessageTextColor>sample string 6</MessageTextColor>
  <MessageType>2</MessageType>
  <PopupScanTimeout>4</PopupScanTimeout>
  <PopupShownFor>3</PopupShownFor>
  <ScanText>sample string 7</ScanText>
</ResponseScanQR>