v1

latestOpenAPI 3.1.02026-07-2616636641.7 KB

Create Day Part

post/v1/flight/{FlightID}/dayparting

Path parameters

FlightIDinteger required

The ID of the flight

Request body

StartTimestring required

A start time for the day part, in the format of HH:MM:SS. Uses the local time of the flight based on the flight's TimeZone. Granularity is at the minute level.

EndTimestring required

A start time for the day part, in the format of HH:MM:SS. Uses the local time of the flight based on the flight's TimeZone. Granularity is at the minute level.

WeekDaysstring[] required

One or more days of the week the day part applies to, in the form of: "SU" "MO" "TU" "WE" "TH" "FR" "SA"

Response

201

TimepartIdinteger

Example response

{
  "TimepartId": 67890
}