' Options:
'Date: 2026-08-06 22:15:56
'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: ExtendBookingReservation.*
'''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 BookingReservationResponse
'''
'''The opaque session key that identifies the reservation.
'''
Public Overridable Property SessionKey As Guid
'''
'''The company id.
'''
Public Overridable Property CompanyId 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
'''
'''The BookingReservationStatus value.
'''
Public Overridable Property StatusCode As Integer
'''
'''The BookingReservationStatus name.
'''
Public Overridable Property StatusName As String
'''
'''When the hold expires (company-local time).
'''
Public Overridable Property ExpirationDatetime As Date
'''
'''The company's current time, in the same company-local frame as ExpirationDatetime. Clients compute the remaining hold as (ExpirationDatetime - ServerTime) so a countdown is correct regardless of the viewer's timezone or clock skew.
'''
Public Overridable Property ServerTime As Date
'''
'''Number of reserved spots.
'''
Public Overridable Property NumberOfBookedSpots As Integer
'''
'''The computed price of the reservation, if any.
'''
Public Overridable Property Price As Decimal?
'''
'''The currency of the price, if any.
'''
Public Overridable Property CurrencyId As String
'''
'''Ids of the resources held by the reservation.
'''
Public Overridable Property ResourceIds As List(Of Integer) = New List(Of Integer)
'''
'''The full in-progress selection payload (wizard/session state) as JSON.
'''
Public Overridable Property SelectionPayload As String
Public Overridable Property ResponseStatus As ResponseStatus
End Class
Public Partial Class ExtendBookingReservation
Implements IReturn(Of BookingReservationResponse)
Implements ICompany
'''
'''The opaque session key that identifies the reservation.
'''
Public Overridable Property SessionKey As Guid
'''
'''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
End Class
End Namespace
Namespace BokaMera.API.ServiceModel.Interfaces
Public Interface ICompany
Property CompanyId As Guid?
End Interface
End Namespace
End Namespace