(* Options: Date: 2024-12-03 18:36:55 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bokamera.se //GlobalNamespace: //MakeDataContractsExtensible: False //AddReturnMarker: True //AddDescriptionAsComments: True //AddDataContractAttributes: False //AddIndexesToDataMembers: False //AddGeneratedCodeAttributes: False //AddResponseStatus: False //AddImplicitVersion: //ExportValueTypes: False IncludeTypes: DeleteRecurringSchedule.* //ExcludeTypes: //InitializeCollections: True //AddNamespaces: *) namespace BokaMera.API.ServiceModel.Dtos open System open System.Collections open System.Collections.Generic open System.Runtime.Serialization open ServiceStack open ServiceStack.DataAnnotations open System.Globalization open ServiceStack.Data open System.IO [] type ICompany = abstract CompanyId:Nullable with get,set [] type DayOfWeekDto() = member val DayOfWeekId:Int32 = new Int32() with get,set member val DotNetDayOfWeekId:Int32 = new Int32() with get,set member val DayOfWeek:String = null with get,set [] type ScheduleResources() = member val Id:Int32 = new Int32() with get,set /// ///Name of the resource /// [] member val Name:String = null with get,set /// ///The image url of the resource /// [] member val ImageUrl:Uri = null with get,set [] type ScheduleServices() = member val Id:Int32 = new Int32() with get,set /// ///Name of the service /// [] member val Name:String = null with get,set /// ///The image url of the service /// [] member val ImageUrl:Uri = null with get,set [] type RecurringScheduleExceptionResponse() = /// ///Start time of the schedule exception. /// [] member val StartTime:TimeSpan = new TimeSpan() with get,set /// ///End time of the schedule exception. /// [] member val EndTime:TimeSpan = new TimeSpan() with get,set [] type RecurringScheduleDateResponse() = member val Id:Int32 = new Int32() with get,set member val Date:DateTime = new DateTime() with get,set member val StartTime:TimeSpan = new TimeSpan() with get,set member val EndTime:TimeSpan = new TimeSpan() with get,set member val ResponseStatus:ResponseStatus = null with get,set [] type RecurringScheduleQueryResponse() = /// ///The schedule id /// [] member val Id:Int32 = new Int32() with get,set /// ///Name of the schedule /// [] member val Name:String = null with get,set /// ///Description of the schedule /// [] member val Description:String = null with get,set /// ///If the schedule is active or not /// [] member val Active:Boolean = new Boolean() with get,set /// ///Time interval for available times Here you set the interval at which times should appear. For example, if you select the range 15minutes, and your service has an duration of 1 hour and opening hours are 9AM to 6PM you will see the following suggested times: 09AM-10PM 09:15AM-10:15PM, 09:30AM-10:30PM , ..... 04:45PM-05:45, 05:00PM-06:00PM /// [] member val TimeInterval:Int32 = new Int32() with get,set /// ///The timestamp to which the schedule is valid from /// [] member val ValidFrom:DateTime = new DateTime() with get,set /// ///The timestamp to which the schedule is valid to /// [] member val ValidTo:DateTime = new DateTime() with get,set /// ///The time for the schedule opening hours (starttime) /// [] member val StartTime:TimeSpan = new TimeSpan() with get,set /// ///The time for the schedule opening hours (endtime) /// [] member val EndTime:TimeSpan = new TimeSpan() with get,set /// ///The number of days the schedule is valid from todays date /// [] member val NumberOfScheduleDays:Int32 = new Int32() with get,set /// ///If the schedule is only connected to some specific resources. Note: You must have IncludeResources property to see this. /// [] member val IsResourceSpecific:Nullable = new Nullable() with get,set /// ///The timestamp when the schedule was updated /// [] member val UpdatedDate:DateTime = new DateTime() with get,set /// ///The timestamp when the schedule was created /// [] member val CreatedDate:DateTime = new DateTime() with get,set /// ///Allow bookings end time exceeds the opening hours Here you can choose whether it should be possible to make a reservation exceeding the opening hours. This should be ticked when a service duration is longer than 24 hours (possible to book over midnight). /// [] member val EnableBookingUntilClosingTime:Boolean = new Boolean() with get,set /// ///If recurring, an array indicating which days of the week the exception recures on where 1 = Monday .. 7 = Sunday. When recurring then the time portion of the Fields From and To indicates the time of day the recurrence occurs /// [] member val DaysOfWeek:ResizeArray = new ResizeArray() with get,set /// ///The resources that is connected to the schedule /// [] member val Resources:ResizeArray = new ResizeArray() with get,set /// ///The services that is connected to the schedule /// [] member val Services:ResizeArray = new ResizeArray() with get,set /// ///The exceptions that is added to the schedule /// [] member val Exceptions:ResizeArray = new ResizeArray() with get,set /// ///Schedule dates, used when the schedule is not a rolling schedule using days of week /// [] member val ScheduleDates:ResizeArray = new ResizeArray() with get,set member val ResponseStatus:ResponseStatus = null with get,set [] [] [] type DeleteRecurringSchedule() = interface IReturn /// ///The company id, if empty will use the company id for the user you are logged in with. /// [] member val CompanyId:Nullable = new Nullable() with get,set /// ///The schedule id /// [] member val Id:Int32 = new Int32() with get,set