' Options: 'Date: 2024-07-03 13:13:59 'Version: 8.23 'Tip: To override a DTO option, remove "''" prefix before updating 'BaseUrl: https://api.bokamera.se ' '''GlobalNamespace: '''MakePartial: True '''MakeVirtual: True '''MakeDataContractsExtensible: False '''AddReturnMarker: True '''AddDescriptionAsComments: True '''AddDataContractAttributes: False '''AddIndexesToDataMembers: False '''AddGeneratedCodeAttributes: False '''AddResponseStatus: False '''AddImplicitVersion: '''InitializeCollections: True '''ExportValueTypes: False 'IncludeTypes: DeleteRecurringSchedule.* '''ExcludeTypes: '''AddNamespaces: '''AddDefaultXmlNamespace: http://schemas.servicestack.net/types Imports System Imports System.Collections Imports System.Collections.Generic Imports System.Runtime.Serialization Imports ServiceStack Imports ServiceStack.DataAnnotations Imports System.Globalization Imports System.IO Imports BokaMera.API.ServiceModel.Interfaces Imports BokaMera.API.ServiceModel.Dtos Namespace Global Namespace BokaMera.API.ServiceModel.Dtos Public Partial Class DayOfWeekDto Public Overridable Property DayOfWeekId As Integer Public Overridable Property DotNetDayOfWeekId As Integer Public Overridable Property DayOfWeek As String End Class Public Partial Class DeleteRecurringSchedule Implements IReturn(Of RecurringScheduleQueryResponse) Implements ICompany ''' '''The company id, if empty will use the company id for the user you are logged in with. ''' Public Overridable Property CompanyId As Nullable(Of Guid) ''' '''The schedule id ''' Public Overridable Property Id As Integer End Class Public Partial Class RecurringScheduleDateResponse Public Overridable Property Id As Integer Public Overridable Property [Date] As Date Public Overridable Property StartTime As TimeSpan Public Overridable Property EndTime As TimeSpan Public Overridable Property ResponseStatus As ResponseStatus End Class Public Partial Class RecurringScheduleExceptionResponse ''' '''Start time of the schedule exception. ''' Public Overridable Property StartTime As TimeSpan ''' '''End time of the schedule exception. ''' Public Overridable Property EndTime As TimeSpan End Class Public Partial Class RecurringScheduleQueryResponse Public Sub New() DaysOfWeek = New List(Of DayOfWeekDto) Resources = New List(Of ScheduleResources) Services = New List(Of ScheduleServices) Exceptions = New List(Of RecurringScheduleExceptionResponse) ScheduleDates = New List(Of RecurringScheduleDateResponse) End Sub ''' '''The schedule id ''' Public Overridable Property Id As Integer ''' '''Name of the schedule ''' Public Overridable Property Name As String ''' '''Description of the schedule ''' Public Overridable Property Description As String ''' '''If the schedule is active or not ''' Public Overridable Property Active As Boolean ''' '''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 ''' Public Overridable Property TimeInterval As Integer ''' '''The timestamp to which the schedule is valid from ''' Public Overridable Property ValidFrom As Date ''' '''The timestamp to which the schedule is valid to ''' Public Overridable Property ValidTo As Date ''' '''The time for the schedule opening hours (starttime) ''' Public Overridable Property StartTime As TimeSpan ''' '''The time for the schedule opening hours (endtime) ''' Public Overridable Property EndTime As TimeSpan ''' '''The number of days the schedule is valid from todays date ''' Public Overridable Property NumberOfScheduleDays As Integer ''' '''If the schedule is only connected to some specific resources. Note: You must have IncludeResources property to see this. ''' Public Overridable Property IsResourceSpecific As Nullable(Of Boolean) ''' '''The timestamp when the schedule was updated ''' Public Overridable Property UpdatedDate As Date ''' '''The timestamp when the schedule was created ''' Public Overridable Property CreatedDate As Date ''' '''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). ''' Public Overridable Property EnableBookingUntilClosingTime As Boolean ''' '''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 ''' Public Overridable Property DaysOfWeek As List(Of DayOfWeekDto) ''' '''The resources that is connected to the schedule ''' Public Overridable Property Resources As List(Of ScheduleResources) ''' '''The services that is connected to the schedule ''' Public Overridable Property Services As List(Of ScheduleServices) ''' '''The exceptions that is added to the schedule ''' Public Overridable Property Exceptions As List(Of RecurringScheduleExceptionResponse) ''' '''Schedule dates, used when the schedule is not a rolling schedule using days of week ''' Public Overridable Property ScheduleDates As List(Of RecurringScheduleDateResponse) Public Overridable Property ResponseStatus As ResponseStatus End Class Public Partial Class ScheduleResources Public Overridable Property Id As Integer ''' '''Name of the resource ''' Public Overridable Property Name As String ''' '''The image url of the resource ''' Public Overridable Property ImageUrl As Uri End Class Public Partial Class ScheduleServices Public Overridable Property Id As Integer ''' '''Name of the service ''' Public Overridable Property Name As String ''' '''The image url of the service ''' Public Overridable Property ImageUrl As Uri End Class End Namespace Namespace BokaMera.API.ServiceModel.Interfaces Public Interface ICompany Property CompanyId As Nullable(Of Guid) End Interface End Namespace End Namespace