DailyReportCreateData

public struct DailyReportCreateData : Content

Used to generate a new draft daily report. All fields are optional: with none, the report covers the 24 hours ending at the most recent daily report cutoff time (a server setting, 5PM by default).

Used by: POST /api/v3/admin/dailyreport/create

  • What to call the report. Defaults to the weekday the period ends on, e.g. “Monday”.

    Declaration

    Swift

    var title: String?
  • Start of the reporting period. If given, windowEnd is required too.

    Declaration

    Swift

    var windowStart: Date?
  • End of the reporting period (exclusive).

    Declaration

    Swift

    var windowEnd: Date?
  • Which day of the cruise this covers. Defaults to the day windowEnd falls on, if that’s during the cruise.

    Declaration

    Swift

    var cruiseDay: Int?