POST card/check

Request Information

URI Parameters

None.

Body Parameters

Request_Card_Check
NameDescriptionTypeAdditional information
qr_code

string

Required

token

string

Required

Request Formats

application/json, text/json

Sample:
{
  "qr_code": "sample string 1",
  "token": "sample string 2"
}

application/xml, text/xml

Sample:
<Request_Card_Check xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TRUNGTAM_API.Areas.TrungTam.Directory.Models.Store">
  <token xmlns="http://schemas.datacontract.org/2004/07/TRUNGTAM_API.Areas.TrungTam">sample string 2</token>
  <qr_code>sample string 1</qr_code>
</Request_Card_Check>

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

Response Information

Resource Description

Result
NameDescriptionTypeAdditional information
status

integer

None.

error_code

string

None.

content

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "status": 1,
  "error_code": "sample string 2",
  "content": {}
}

application/xml, text/xml

Sample:
<Result xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TRUNGTAM_API.Areas.TrungTam">
  <content />
  <error_code>sample string 2</error_code>
  <status>1</status>
</Result>