POST api/AddQRScanDetails/QRScan

Request Information

URI Parameters

None.

Body Parameters

QRScanModel
NameDescriptionTypeAdditional information
Mode

integer

None.

UserRole

string

None.

QRNumber

string

None.

Type

string

None.

Latitude

decimal number

None.

Longitude

decimal number

None.

UserId

string

None.

BeforeImg

string

None.

AfterImg

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Mode": 1,
  "UserRole": "sample string 2",
  "QRNumber": "sample string 3",
  "Type": "sample string 4",
  "Latitude": 5.1,
  "Longitude": 6.1,
  "UserId": "sample string 7",
  "BeforeImg": "sample string 8",
  "AfterImg": "sample string 9"
}

application/xml, text/xml

Sample:
<QRScanModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SWMAPIs.Models">
  <AfterImg>sample string 9</AfterImg>
  <BeforeImg>sample string 8</BeforeImg>
  <Latitude>5.1</Latitude>
  <Longitude>6.1</Longitude>
  <Mode>1</Mode>
  <QRNumber>sample string 3</QRNumber>
  <Type>sample string 4</Type>
  <UserId>sample string 7</UserId>
  <UserRole>sample string 2</UserRole>
</QRScanModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.