POST api/ticketmanagement/printlog

Request Information

URI Parameters

None.

Body Parameters

PrintInfo
NameDescriptionTypeAdditional information
BookingId

integer

None.

RTSeries

string

None.

TerminalId

integer

None.

PrintedBy

integer

None.

DatePrinted

date

None.

Request Formats

application/json, text/json

Sample:
{
  "BookingId": 1,
  "RTSeries": "sample string 2",
  "TerminalId": 3,
  "PrintedBy": 4,
  "DatePrinted": "2025-01-10T10:35:14.4535838+08:00"
}

application/xml, text/xml

Sample:
<PrintInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VLI_API.Controllers">
  <BookingId>1</BookingId>
  <DatePrinted>2025-01-10T10:35:14.4535838+08:00</DatePrinted>
  <PrintedBy>4</PrintedBy>
  <RTSeries>sample string 2</RTSeries>
  <TerminalId>3</TerminalId>
</PrintInfo>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.