POST api/chart/flight-weather/publish

Request Information

URI Parameters

None.

Body Parameters

flight_weather_publish_dto
NameDescriptionTypeAdditional information
airline_code

string

None.

internal_flight_id

integer

None.

flight_number

string

None.

flight_plan_revision

integer

None.

origin

string

None.

destination

string

None.

planned_flight_level

integer

None.

estimated_off_block_utc

date

None.

estimated_takeoff_utc

date

None.

estimated_landing_utc

date

None.

estimated_on_block_utc

date

None.

route_points

Collection of flight_weather_route_point_dto

None.

Request Formats

application/json, text/json

Sample:
{
  "airline_code": "sample string 1",
  "internal_flight_id": 2,
  "flight_number": "sample string 3",
  "flight_plan_revision": 4,
  "origin": "sample string 5",
  "destination": "sample string 6",
  "planned_flight_level": 7,
  "estimated_off_block_utc": "2026-10-17T09:11:03.624594+03:30",
  "estimated_takeoff_utc": "2026-10-17T09:11:03.624594+03:30",
  "estimated_landing_utc": "2026-10-17T09:11:03.624594+03:30",
  "estimated_on_block_utc": "2026-10-17T09:11:03.624594+03:30",
  "route_points": [
    {
      "sequence": 1,
      "name": "sample string 2",
      "latitude": 3.1,
      "longitude": 4.1,
      "estimated_time_utc": "2026-10-17T09:11:03.6249829+03:30"
    },
    {
      "sequence": 1,
      "name": "sample string 2",
      "latitude": 3.1,
      "longitude": 4.1,
      "estimated_time_utc": "2026-10-17T09:11:03.6249829+03:30"
    }
  ]
}

text/html

Sample:
{"airline_code":"sample string 1","internal_flight_id":2,"flight_number":"sample string 3","flight_plan_revision":4,"origin":"sample string 5","destination":"sample string 6","planned_flight_level":7,"estimated_off_block_utc":"2026-10-17T09:11:03.624594+03:30","estimated_takeoff_utc":"2026-10-17T09:11:03.624594+03:30","estimated_landing_utc":"2026-10-17T09:11:03.624594+03:30","estimated_on_block_utc":"2026-10-17T09:11:03.624594+03:30","route_points":[{"sequence":1,"name":"sample string 2","latitude":3.1,"longitude":4.1,"estimated_time_utc":"2026-10-17T09:11:03.6249829+03:30"},{"sequence":1,"name":"sample string 2","latitude":3.1,"longitude":4.1,"estimated_time_utc":"2026-10-17T09:11:03.6249829+03:30"}]}

application/xml, text/xml

Sample:
<flight_weather_publish_dto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ApiWorld.Controllers">
  <airline_code>sample string 1</airline_code>
  <destination>sample string 6</destination>
  <estimated_landing_utc>2026-10-17T09:11:03.624594+03:30</estimated_landing_utc>
  <estimated_off_block_utc>2026-10-17T09:11:03.624594+03:30</estimated_off_block_utc>
  <estimated_on_block_utc>2026-10-17T09:11:03.624594+03:30</estimated_on_block_utc>
  <estimated_takeoff_utc>2026-10-17T09:11:03.624594+03:30</estimated_takeoff_utc>
  <flight_number>sample string 3</flight_number>
  <flight_plan_revision>4</flight_plan_revision>
  <internal_flight_id>2</internal_flight_id>
  <origin>sample string 5</origin>
  <planned_flight_level>7</planned_flight_level>
  <route_points>
    <flight_weather_route_point_dto>
      <estimated_time_utc>2026-10-17T09:11:03.6249829+03:30</estimated_time_utc>
      <latitude>3.1</latitude>
      <longitude>4.1</longitude>
      <name>sample string 2</name>
      <sequence>1</sequence>
    </flight_weather_route_point_dto>
    <flight_weather_route_point_dto>
      <estimated_time_utc>2026-10-17T09:11:03.6249829+03:30</estimated_time_utc>
      <latitude>3.1</latitude>
      <longitude>4.1</longitude>
      <name>sample string 2</name>
      <sequence>1</sequence>
    </flight_weather_route_point_dto>
  </route_points>
</flight_weather_publish_dto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/html, application/xml, text/xml

Sample:

Sample not available.