' Options: 'Date: 2024-07-03 14:03:28 '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: StatisticQuery.* '''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 BookedByDay Public Overridable Property [Date] As Date Public Overridable Property Value As Integer End Class Public Partial Class StatisticQuery Implements IReturn(Of StatisticQueryResponse) Implements ICompany ''' '''Enter the company id, if blank company id and you are an admin, your company id will be used. ''' Public Overridable Property CompanyId As Nullable(Of Guid) ''' '''Start of interval to get bookings and customers ''' Public Overridable Property From As Date ''' '''End of interval to get bookings and customers ''' Public Overridable Property To As Date ''' '''Set true if you want to include booked events by day ''' Public Overridable Property IncludeOccuringBookingsByDay As Boolean ''' '''Set true if you want to include canceled booked events by day ''' Public Overridable Property IncludeBookingsCanceledByDay As Boolean ''' '''Set true if you want to include booking created by day ''' Public Overridable Property IncludeCreatedBookingsByDay As Boolean ''' '''Set true if you want to include customers created by day ''' Public Overridable Property IncludeCreatedCustomersByDay As Boolean End Class Public Partial Class StatisticQueryResponse Public Sub New() OccuringBookingsByDay = New List(Of BookedByDay) CanceledBookingsByDay = New List(Of BookedByDay) CreatedBookingsByDay = New List(Of BookedByDay) CreatedCustomersByDay = New List(Of BookedByDay) End Sub Public Overridable Property NumberOfOccuringBookings As Integer Public Overridable Property NumberOfCanceledBookings As Integer Public Overridable Property NumberOfCreatedBookings As Integer Public Overridable Property NumberOfCreatedCustomers As Integer Public Overridable Property OccuringBookingsByDay As List(Of BookedByDay) Public Overridable Property CanceledBookingsByDay As List(Of BookedByDay) Public Overridable Property CreatedBookingsByDay As List(Of BookedByDay) Public Overridable Property CreatedCustomersByDay As List(Of BookedByDay) Public Overridable Property ResponseStatus As ResponseStatus End Class End Namespace Namespace BokaMera.API.ServiceModel.Interfaces Public Interface ICompany Property CompanyId As Nullable(Of Guid) End Interface End Namespace End Namespace