POST AIR/api/app/Air/BookingDetails

Request Information

URI Parameters

None.

Body Parameters

TicketBookinDetailsModel
NameDescriptionTypeAdditional information
BookingId

string

None.

PNR

string

None.

TraceId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "BookingId": "sample string 1",
  "PNR": "sample string 2",
  "TraceId": "sample string 3"
}

application/xml, text/xml

Sample:
<TicketBookinDetailsModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WhiteLabelApp.Models">
  <BookingId>sample string 1</BookingId>
  <PNR>sample string 2</PNR>
  <TraceId>sample string 3</TraceId>
</TicketBookinDetailsModel>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.