POST api/FlightBooking/InsertFDMBookingInfo

Request Information

URI Parameters

None.

Body Parameters

FDMBookingMaster
NameDescriptionTypeAdditional information
BookingRequestId

integer

None.

PNR

string

None.

PassengerFirstName

string

None.

PassengerLastName

string

None.

Email

string

None.

Phone

string

None.

PassengerAddress

string

None.

PassengerCity

string

None.

PassengerCountry

string

None.

BookingStatus

string

None.

Parent_RefPNR

string

None.

EntryDate

date

None.

CreatedBy

string

None.

ModifiedDate

date

None.

ModifiedBy

string

None.

AgentCode

string

None.

Request Formats

application/json, text/json

Sample:
{
  "BookingRequestId": 1,
  "PNR": "sample string 2",
  "PassengerFirstName": "sample string 3",
  "PassengerLastName": "sample string 4",
  "Email": "sample string 5",
  "Phone": "sample string 6",
  "PassengerAddress": "sample string 7",
  "PassengerCity": "sample string 8",
  "PassengerCountry": "sample string 9",
  "BookingStatus": "sample string 10",
  "Parent_RefPNR": "sample string 11",
  "EntryDate": "2021-08-03T14:02:49.8229814+05:30",
  "CreatedBy": "sample string 12",
  "ModifiedDate": "2021-08-03T14:02:49.8229814+05:30",
  "ModifiedBy": "sample string 13",
  "AgentCode": "sample string 14"
}

application/xml, text/xml

Sample:
<FDMBookingMaster xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FlightDisruptionDAL.DBContext">
  <AgentCode>sample string 14</AgentCode>
  <BookingRequestId>1</BookingRequestId>
  <BookingStatus>sample string 10</BookingStatus>
  <CreatedBy>sample string 12</CreatedBy>
  <Email>sample string 5</Email>
  <EntryDate>2021-08-03T14:02:49.8229814+05:30</EntryDate>
  <ModifiedBy>sample string 13</ModifiedBy>
  <ModifiedDate>2021-08-03T14:02:49.8229814+05:30</ModifiedDate>
  <PNR>sample string 2</PNR>
  <Parent_RefPNR>sample string 11</Parent_RefPNR>
  <PassengerAddress>sample string 7</PassengerAddress>
  <PassengerCity>sample string 8</PassengerCity>
  <PassengerCountry>sample string 9</PassengerCountry>
  <PassengerFirstName>sample string 3</PassengerFirstName>
  <PassengerLastName>sample string 4</PassengerLastName>
  <Phone>sample string 6</Phone>
</FDMBookingMaster>

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

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>