' Options: 'Date: 2026-08-06 17:18:29 'Version: 10.05 'Tip: To override a DTO option, remove "''" prefix before updating 'BaseUrl: https://testapi.bokamera.se ' '''GlobalNamespace: '''MakePartial: True '''MakeVirtual: True '''MakeDataContractsExtensible: False '''AddReturnMarker: True '''AddDescriptionAsComments: True '''AddDataContractAttributes: False '''AddIndexesToDataMembers: False '''AddGeneratedCodeAttributes: False '''AddResponseStatus: False '''AddImplicitVersion: '''InitializeCollections: False '''ExportValueTypes: False 'IncludeTypes: QueryBookingReservations.* '''ExcludeTypes: '''AddNamespaces: '''AddDefaultXmlNamespace: http://schemas.servicestack.net/types Imports System Imports System.IO Imports System.Collections Imports System.Collections.Generic Imports System.Runtime.Serialization Imports ServiceStack Imports ServiceStack.DataAnnotations Imports System.Globalization Imports ServiceStack.Data Imports System.Net Imports System.Net.Http.Headers Imports BokaMera.API.ServiceModel.Interfaces Imports BokaMera.API.ServiceModel.Dtos Namespace Global Namespace BokaMera.API.ServiceModel.Dtos Public Partial Class AdminBookingReservationResult ''' '''The internal reservation id (target for the release endpoint). ''' Public Overridable Property Id As Integer ''' '''The opaque session key that identifies the reservation. ''' Public Overridable Property SessionKey As Guid ''' '''The reserved service id. ''' Public Overridable Property ServiceId As Integer ''' '''The reservation start. ''' Public Overridable Property From As Date ''' '''The reservation end. ''' Public Overridable Property [To] As Date ''' '''Number of reserved spots. ''' Public Overridable Property NumberOfBookedSpots As Integer ''' '''When the hold expires (company-local time). ''' Public Overridable Property ExpirationDatetime As Date ''' '''The BookingReservationStatus value. ''' Public Overridable Property StatusCode As Integer ''' '''The BookingReservationStatus name. ''' Public Overridable Property StatusName As String ''' '''The customer id holding the reservation, if any. ''' Public Overridable Property CustomerId As Guid? ''' '''The customer's full name, when a customer is attached. ''' Public Overridable Property CustomerName As String ''' '''The customer email (falls back to the BookedBy email when no customer is attached). ''' Public Overridable Property CustomerEmail As String End Class Public Partial Class QueryBookingReservations Implements IReturn(Of QueryBookingReservationsResponse) 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 Guid? Implements ICompany.CompanyId ''' '''Only holds for this service id. ''' Public Overridable Property ServiceId As Integer? ''' '''Only holds whose start (From) is on or after this datetime. ''' Public Overridable Property From As Date? ''' '''Only holds whose start (From) is on or before this datetime. ''' Public Overridable Property [To] As Date? ''' '''Filter by BookingReservationStatus value. When omitted, the spot-holding statuses (Selecting=1, AwaitingPayment=2) are returned. ''' Public Overridable Property StatusCode As Integer? End Class Public Partial Class QueryBookingReservationsResponse ''' '''The matching reservation holds. ''' Public Overridable Property Results As List(Of AdminBookingReservationResult) = New List(Of AdminBookingReservationResult) Public Overridable Property ResponseStatus As ResponseStatus End Class End Namespace Namespace BokaMera.API.ServiceModel.Interfaces Public Interface ICompany Property CompanyId As Guid? End Interface End Namespace End Namespace