createDay
Adds a shooting day to a board. Days are renumbered by date, and events on the board that start on that date are attached to the new day. Requires edit access to the project. Returns the new day's ID.
Arguments
boardIdID!ID of the board to add the day to.
dateLocalDate!Date of the day, as
YYYY-MM-DD.locationIdIDID of the
Locationthe day shoots at.locationNameStringDisplay name of the day's location.
projectIdID!ID of the project.
sunriseLocalTimeSunrise as
HH:MMin the project time zone.sunsetLocalTimeSunset as
HH:MMin the project time zone.titleStringTitle of the day.
weatherStringShort weather summary, such as "Light rain".
weatherConditionWeatherConditionExpected weather condition.
weatherMaxTemperatureFloatForecast high temperature, in the project's temperature unit.
weatherMinTemperatureFloatForecast low temperature, in the project's temperature unit.
Returns
ScheduleMutationResult!Example
mutation CreateDay($boardId: ID!, $date: LocalDate!, $locationId: ID, $locationName: String, $projectId: ID!, $sunrise: LocalTime, $sunset: LocalTime, $title: String, $weather: String, $weatherCondition: WeatherCondition, $weatherMaxTemperature: Float, $weatherMinTemperature: Float) {
createDay(
boardId: $boardId
date: $date
locationId: $locationId
locationName: $locationName
projectId: $projectId
sunrise: $sunrise
sunset: $sunset
title: $title
weather: $weather
weatherCondition: $weatherCondition
weatherMaxTemperature: $weatherMaxTemperature
weatherMinTemperature: $weatherMinTemperature
) {
id
}
}