POST api/chart/public-weather/duty
Request Information
URI Parameters
None.
Body Parameters
public_weather_duty_dto| Name | Description | Type | Additional information |
|---|---|---|---|
| legs | Collection of public_weather_duty_leg_dto |
None. |
Request Formats
application/json, text/json
Sample:
{
"legs": [
{
"internal_flight_id": 1,
"flight_number": "sample string 1",
"from_utc": "2026-10-17T09:11:47.4178694+03:30",
"to_utc": "2026-10-17T09:11:47.4178694+03:30"
},
{
"internal_flight_id": 1,
"flight_number": "sample string 1",
"from_utc": "2026-10-17T09:11:47.4178694+03:30",
"to_utc": "2026-10-17T09:11:47.4178694+03:30"
}
]
}
text/html
Sample:
{"legs":[{"internal_flight_id":1,"flight_number":"sample string 1","from_utc":"2026-10-17T09:11:47.4178694+03:30","to_utc":"2026-10-17T09:11:47.4178694+03:30"},{"internal_flight_id":1,"flight_number":"sample string 1","from_utc":"2026-10-17T09:11:47.4178694+03:30","to_utc":"2026-10-17T09:11:47.4178694+03:30"}]}
application/xml, text/xml
Sample:
<public_weather_duty_dto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ApiWorld.Controllers">
<legs>
<public_weather_duty_leg_dto>
<flight_number>sample string 1</flight_number>
<from_utc>2026-10-17T09:11:47.4178694+03:30</from_utc>
<internal_flight_id>1</internal_flight_id>
<to_utc>2026-10-17T09:11:47.4178694+03:30</to_utc>
</public_weather_duty_leg_dto>
<public_weather_duty_leg_dto>
<flight_number>sample string 1</flight_number>
<from_utc>2026-10-17T09:11:47.4178694+03:30</from_utc>
<internal_flight_id>1</internal_flight_id>
<to_utc>2026-10-17T09:11:47.4178694+03:30</to_utc>
</public_weather_duty_leg_dto>
</legs>
</public_weather_duty_dto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/html, application/xml, text/xml
Sample:
Sample not available.