POST api/chart/public-weather/update

Request Information

URI Parameters

None.

Body Parameters

public_weather_update_dto
NameDescriptionTypeAdditional information
start_utc

date

None.

cycle_time

date

None.

force

boolean

None.

horizon_hours

integer

None.

validity_step_hours

integer

None.

flight_levels

Collection of integer

None.

render_modes

Collection of string

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.

Request Formats

application/json, text/json

Sample:
{
  "start_utc": "2026-10-17T09:10:41.8008753+03:30",
  "cycle_time": "2026-10-17T09:10:41.8009502+03:30",
  "force": true,
  "horizon_hours": 1,
  "validity_step_hours": 1,
  "flight_levels": [
    1,
    2
  ],
  "render_modes": [
    "sample string 1",
    "sample string 2"
  ],
  "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
}

text/html

Sample:
{"start_utc":"2026-10-17T09:10:41.8008753+03:30","cycle_time":"2026-10-17T09:10:41.8009502+03:30","force":true,"horizon_hours":1,"validity_step_hours":1,"flight_levels":[1,2],"render_modes":["sample string 1","sample string 2"],"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}

application/xml, text/xml

Sample:
<public_weather_update_dto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ApiWorld.Controllers">
  <barb_step_deg>1.1</barb_step_deg>
  <cycle_time>2026-10-17T09:10:41.8009502+03:30</cycle_time>
  <field_step_deg>1.1</field_step_deg>
  <flight_levels xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:short>1</d2p1:short>
    <d2p1:short>2</d2p1:short>
  </flight_levels>
  <force>true</force>
  <height>1</height>
  <horizon_hours>1</horizon_hours>
  <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>
  <start_utc>2026-10-17T09:10:41.8008753+03:30</start_utc>
  <validity_step_hours>1</validity_step_hours>
  <width>1</width>
</public_weather_update_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.