GET api/FlightBooking/GetFlightExactDepartureTime

Request Information

URI Parameters

None.

Body Parameters

OriginDepartureDateSearchModel
NameDescriptionTypeAdditional information
departuredate

date

None.

flightno

string

None.

departurecode

string

None.

arrivalcode

string

None.

Request Formats

application/json, text/json

Sample:
{
  "departuredate": "2021-04-20T16:23:19.3535848+05:30",
  "flightno": "sample string 2",
  "departurecode": "sample string 3",
  "arrivalcode": "sample string 4"
}

application/xml, text/xml

Sample:
<OriginDepartureDateSearchModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FlightDisruptionBAL.DTO">
  <arrivalcode>sample string 4</arrivalcode>
  <departurecode>sample string 3</departurecode>
  <departuredate>2021-04-20T16:23:19.3535848+05:30</departuredate>
  <flightno>sample string 2</flightno>
</OriginDepartureDateSearchModel>

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

Response Information

Resource Description

date

Response Formats

application/json, text/json

Sample:
"2021-04-20T16:23:19.3691904+05:30"

application/xml, text/xml

Sample:
<dateTime xmlns="http://schemas.microsoft.com/2003/10/Serialization/">2021-04-20T16:23:19.3691904+05:30</dateTime>