POST api/FlightBooking/PartiallyMoveFlightsWithSeatSelectionFDM

Request Information

URI Parameters

None.

Body Parameters

MoveFlightObjectDTO
NameDescriptionTypeAdditional information
PNR

string

None.

FlightDetail

SelectedTravelDetailDTO

None.

JourneyIndex

integer

None.

SSRDetails

Collection of SSRDetail

None.

Request Formats

application/json, text/json

Sample:
{
  "PNR": "sample string 1",
  "FlightDetail": {
    "TravelDate": "2021-04-20T16:51:10.0858237+05:30",
    "FlightNo": "sample string 1",
    "FlightCodePrefix": "sample string 2",
    "FlightCode": "sample string 3",
    "FlightFrom": "sample string 4",
    "FlightTo": "sample string 5",
    "JourneySellKey": "sample string 6",
    "FareSellKey": "sample string 7",
    "Signature": "sample string 8"
  },
  "JourneyIndex": 2,
  "SSRDetails": [
    {
      "ssrcode": "sample string 1",
      "numberofssr": 2
    },
    {
      "ssrcode": "sample string 1",
      "numberofssr": 2
    }
  ]
}

application/xml, text/xml

Sample:
<MoveFlightObjectDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FlightDisruptionModel.DTO">
  <FlightDetail>
    <FareSellKey>sample string 7</FareSellKey>
    <FlightCode>sample string 3</FlightCode>
    <FlightCodePrefix>sample string 2</FlightCodePrefix>
    <FlightFrom>sample string 4</FlightFrom>
    <FlightNo>sample string 1</FlightNo>
    <FlightTo>sample string 5</FlightTo>
    <JourneySellKey>sample string 6</JourneySellKey>
    <Signature>sample string 8</Signature>
    <TravelDate>2021-04-20T16:51:10.0858237+05:30</TravelDate>
  </FlightDetail>
  <JourneyIndex>2</JourneyIndex>
  <PNR>sample string 1</PNR>
  <SSRDetails>
    <SSRDetail>
      <numberofssr>2</numberofssr>
      <ssrcode>sample string 1</ssrcode>
    </SSRDetail>
    <SSRDetail>
      <numberofssr>2</numberofssr>
      <ssrcode>sample string 1</ssrcode>
    </SSRDetail>
  </SSRDetails>
</MoveFlightObjectDTO>

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

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>