POST api/FlightBooking/GetBookingInfoFromPNRDetail

Request Information

URI Parameters

None.

Body Parameters

BookingInfoDTO
NameDescriptionTypeAdditional information
PNR

string

None.

Email

string

None.

FirstName

string

None.

LastName

string

None.

Origin

string

None.

Destination

string

None.

StatusFor

string

None.

Request Formats

application/json, text/json

Sample:
{
  "PNR": "sample string 1",
  "Email": "sample string 2",
  "FirstName": "sample string 3",
  "LastName": "sample string 4",
  "Origin": "sample string 5",
  "Destination": "sample string 6",
  "StatusFor": "sample string 7"
}

application/xml, text/xml

Sample:
<BookingInfoDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FlightDisruptionBAL.DTO">
  <Destination>sample string 6</Destination>
  <Email>sample string 2</Email>
  <FirstName>sample string 3</FirstName>
  <LastName>sample string 4</LastName>
  <Origin>sample string 5</Origin>
  <PNR>sample string 1</PNR>
  <StatusFor>sample string 7</StatusFor>
</BookingInfoDTO>

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

Response Information

Resource Description

Object

None.

Response Formats

application/json, text/json

Sample:
{}

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />