POST FlightSchedule/SaveXml

Request Information

URI Parameters

None.

Body Parameters

FlightSchedules
NameDescriptionTypeAdditional information
Zfltresponse

Zfltresponse

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 0,
  "FlightNumber": "VL001",
  "MktFlightNumber": "",
  "ArrivalTime": "8:30am",
  "DepartureTime": "9:30am",
  "FlightDate": "2026-01-09T03:58:58.6213417+00:00",
  "DestinationAirport": "LOS",
  "DepartureAirport": "ABV",
  "FlightGroup": "",
  "SeatPlanName": "",
  "OperateEquipment": "Deedee Fly",
  "PaxCount": 20,
  "FlightFareCode": "",
  "SavedStatus": true,
  "AirlineId": 14,
  "ReasonPhrase": ""
}

application/xml, text/xml

Sample:
<?xml version="1.0" encoding="utf-16"?>
<xml xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <zfltresponse>
    <result>OK</result>
    <flightcount>43</flightcount>
    <information>
      <flights>
        <flight fltid="1" flight="VL001" flightdate="20-FEB-2016" fltgroup="20Feb2016VL001" equipment="Deedee Fly" seatplanname="XX" operatingfltno="" marketingfltno="" marketingfltno2="" marketingfltno3="" marketingfltno4="" marketingfltno5="" flightfarecode="G" arrivetime="8:00am" depart="LOS" arrive="ABV" departtime="10:00am" NoPax="20" />
        <flight fltid="1" flight="VL001" flightdate="20-FEB-2016" fltgroup="20Feb2016VL001" equipment="Deedee Fly" seatplanname="XX" operatingfltno="" marketingfltno="" marketingfltno2="" marketingfltno3="" marketingfltno4="" marketingfltno5="" flightfarecode="G" arrivetime="8:00am" depart="LOS" arrive="ABV" departtime="10:00am" NoPax="20" />
      </flights>
    </information>
  </zfltresponse>
</xml>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json

Sample:
Saved or Updated

text/json

Sample:
{
  "Status": "Failed",
  "ErrorMessages": [
    "All errors recorded here"
  ]
}