---
title: "Create Day Part"
method: POST
path: "/v1/flight/{FlightID}/dayparting"
---

# Create Day Part

`POST /v1/flight/{FlightID}/dayparting`

## Path parameters

- `FlightID` integer, required

## Request body

- object
  - `StartTime` string, 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.
  - `EndTime` string, 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.
  - `WeekDays` string[], 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`

201

- object
  - `TimepartId` integer

## Other responses

- `400` — 400

---

[API](https://skmtc.net/kevel/apis/engine-apis.md) · [All operations](https://skmtc.net/kevel/apis/engine-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/kevel/engine-apis/versions/0ca55f45aa7d/schema)
