POST api/chart/flight-weather/render

Request Information

URI Parameters

None.

Body Parameters

flight_weather_render_dto
NameDescriptionTypeAdditional information
render_modes

Collection of string

None.

download_missing

boolean

None.

width

integer

None.

height

integer

None.

barb_step_deg

decimal number

None.

field_step_deg

decimal number

None.

show_country_borders

boolean

None.

show_coastlines

boolean

None.

show_lat_lon_grid

boolean

None.

airline_code

string

None.

internal_flight_id

integer

None.

flight_number

string

None.

origin

string

None.

destination

string

None.

planned_flight_level

integer

None.

level_offset

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_margin_deg

decimal number

None.

route_points

Collection of flight_weather_route_point_dto

None.

Request Formats

application/json, text/json

Sample:
{
  "render_modes": [
    "sample string 1",
    "sample string 2"
  ],
  "download_missing": true,
  "width": 1,
  "height": 1,
  "barb_step_deg": 1.1,
  "field_step_deg": 1.1,
  "show_country_borders": true,
  "show_coastlines": true,
  "show_lat_lon_grid": true,
  "airline_code": "sample string 1",
  "internal_flight_id": 2,
  "flight_number": "sample string 3",
  "origin": "sample string 4",
  "destination": "sample string 5",
  "planned_flight_level": 6,
  "level_offset": 1,
  "estimated_off_block_utc": "2026-10-17T09:09:40.9737273+03:30",
  "estimated_takeoff_utc": "2026-10-17T09:09:40.9750747+03:30",
  "estimated_landing_utc": "2026-10-17T09:09:40.9750747+03:30",
  "estimated_on_block_utc": "2026-10-17T09:09:40.9752215+03:30",
  "route_margin_deg": 1.1,
  "route_points": [
    {
      "sequence": 1,
      "name": "sample string 2",
      "latitude": 3.1,
      "longitude": 4.1,
      "estimated_time_utc": "2026-10-17T09:09:40.9753328+03:30"
    },
    {
      "sequence": 1,
      "name": "sample string 2",
      "latitude": 3.1,
      "longitude": 4.1,
      "estimated_time_utc": "2026-10-17T09:09:40.9753328+03:30"
    }
  ]
}

text/html

Sample:
{"render_modes":["sample string 1","sample string 2"],"download_missing":true,"width":1,"height":1,"barb_step_deg":1.1,"field_step_deg":1.1,"show_country_borders":true,"show_coastlines":true,"show_lat_lon_grid":true,"airline_code":"sample string 1","internal_flight_id":2,"flight_number":"sample string 3","origin":"sample string 4","destination":"sample string 5","planned_flight_level":6,"level_offset":1,"estimated_off_block_utc":"2026-10-17T09:09:40.9737273+03:30","estimated_takeoff_utc":"2026-10-17T09:09:40.9750747+03:30","estimated_landing_utc":"2026-10-17T09:09:40.9750747+03:30","estimated_on_block_utc":"2026-10-17T09:09:40.9752215+03:30","route_margin_deg":1.1,"route_points":[{"sequence":1,"name":"sample string 2","latitude":3.1,"longitude":4.1,"estimated_time_utc":"2026-10-17T09:09:40.9753328+03:30"},{"sequence":1,"name":"sample string 2","latitude":3.1,"longitude":4.1,"estimated_time_utc":"2026-10-17T09:09:40.9753328+03:30"}]}

application/xml, text/xml

Sample:
<flight_weather_render_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 5</destination>
  <estimated_landing_utc>2026-10-17T09:09:40.9750747+03:30</estimated_landing_utc>
  <estimated_off_block_utc>2026-10-17T09:09:40.9737273+03:30</estimated_off_block_utc>
  <estimated_on_block_utc>2026-10-17T09:09:40.9752215+03:30</estimated_on_block_utc>
  <estimated_takeoff_utc>2026-10-17T09:09:40.9750747+03:30</estimated_takeoff_utc>
  <flight_number>sample string 3</flight_number>
  <internal_flight_id>2</internal_flight_id>
  <level_offset>1</level_offset>
  <origin>sample string 4</origin>
  <planned_flight_level>6</planned_flight_level>
  <route_margin_deg>1.1</route_margin_deg>
  <route_points>
    <flight_weather_route_point_dto>
      <estimated_time_utc>2026-10-17T09:09:40.9753328+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:09:40.9753328+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>
  <barb_step_deg>1.1</barb_step_deg>
  <download_missing>true</download_missing>
  <field_step_deg>1.1</field_step_deg>
  <height>1</height>
  <render_modes xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </render_modes>
  <show_coastlines>true</show_coastlines>
  <show_country_borders>true</show_country_borders>
  <show_lat_lon_grid>true</show_lat_lon_grid>
  <width>1</width>
</flight_weather_render_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.