POST api/vietqr/generate

Request Information

URI Parameters

None.

Body Parameters

BoxOfficeRequest
NameDescriptionTypeAdditional information
posShortName

string

None.

transactionAmount

string

None.

orderId

integer

None.

token

string

None.

Request Formats

application/json, text/json

Sample:
{
  "posShortName": "sample string 1",
  "transactionAmount": "sample string 2",
  "orderId": 3,
  "token": "sample string 4"
}

application/xml, text/xml

Sample:
<BoxOfficeRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RCPQG_API.Controllers">
  <orderId>3</orderId>
  <posShortName>sample string 1</posShortName>
  <token>sample string 4</token>
  <transactionAmount>sample string 2</transactionAmount>
</BoxOfficeRequest>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.