POST api/QRCode/Add

Request Information

URI Parameters

None.

Body Parameters

QRCodeAdd
NameDescriptionTypeAdditional information
QRCodeValue

string

None.

UserId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "QRCodeValue": "sample string 1",
  "UserId": "sample string 2"
}

application/xml, text/xml

Sample:
<QRCodeAdd xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APCO_APP.MODAL.EmployeeModal">
  <QRCodeValue>sample string 1</QRCodeValue>
  <UserId>sample string 2</UserId>
</QRCodeAdd>

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 'QRCodeAdd'.

Response Information

Resource Description

QRCodeViewResponse
NameDescriptionTypeAdditional information
StatusCode

integer

None.

status

string

None.

statusText

string

None.

TDS

Collection of QRCodeView

None.

Response Formats

application/json, text/json

Sample:
{
  "StatusCode": 1,
  "status": "sample string 2",
  "statusText": "sample string 3",
  "TDS": [
    {
      "QRCodeValue": "sample string 1",
      "EntryDate": "sample string 2"
    },
    {
      "QRCodeValue": "sample string 1",
      "EntryDate": "sample string 2"
    }
  ]
}

application/xml, text/xml

Sample:
<QRCodeViewResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APCO_APP.MODAL.EmployeeModal">
  <StatusCode>1</StatusCode>
  <TDS>
    <QRCodeView>
      <EntryDate>sample string 2</EntryDate>
      <QRCodeValue>sample string 1</QRCodeValue>
    </QRCodeView>
    <QRCodeView>
      <EntryDate>sample string 2</EntryDate>
      <QRCodeValue>sample string 1</QRCodeValue>
    </QRCodeView>
  </TDS>
  <status>sample string 2</status>
  <statusText>sample string 3</statusText>
</QRCodeViewResponse>