(* Options: Date: 2026-08-05 17:14:11 Version: 10.05 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://testapi.bokamera.se //GlobalNamespace: //MakeDataContractsExtensible: False //AddReturnMarker: True //AddDescriptionAsComments: True //AddDataContractAttributes: False //AddIndexesToDataMembers: False //AddGeneratedCodeAttributes: False //AddResponseStatus: False //AddImplicitVersion: //ExportValueTypes: False IncludeTypes: QueryBookingReservations.* //ExcludeTypes: //InitializeCollections: False //AddNamespaces: *) namespace BokaMera.API.ServiceModel.Dtos open System open System.IO open System.Collections open System.Collections.Generic open System.Runtime.Serialization open ServiceStack open ServiceStack.DataAnnotations open System.Globalization open ServiceStack.Data open System.Net open System.Net.Http.Headers [] type ICompany = abstract CompanyId:Nullable with get,set [] type AdminBookingReservationResult() = /// ///The internal reservation id (target for the release endpoint). /// [] member val Id:Int32 = new Int32() with get,set /// ///The opaque session key that identifies the reservation. /// [] member val SessionKey:Guid = new Guid() with get,set /// ///The reserved service id. /// [] member val ServiceId:Int32 = new Int32() with get,set /// ///The reservation start. /// [] member val From:DateTime = new DateTime() with get,set /// ///The reservation end. /// [] member val To:DateTime = new DateTime() with get,set /// ///Number of reserved spots. /// [] member val NumberOfBookedSpots:Int32 = new Int32() with get,set /// ///When the hold expires (company-local time). /// [] member val ExpirationDatetime:DateTime = new DateTime() with get,set /// ///The BookingReservationStatus value. /// [] member val StatusCode:Int32 = new Int32() with get,set /// ///The BookingReservationStatus name. /// [] member val StatusName:String = null with get,set /// ///The customer id holding the reservation, if any. /// [] member val CustomerId:Nullable = new Nullable() with get,set /// ///The customer's full name, when a customer is attached. /// [] member val CustomerName:String = null with get,set /// ///The customer email (falls back to the BookedBy email when no customer is attached). /// [] member val CustomerEmail:String = null with get,set [] type QueryBookingReservationsResponse() = /// ///The matching reservation holds. /// [] member val Results:ResizeArray = null with get,set member val ResponseStatus:ResponseStatus = null with get,set [] [] [] [] type QueryBookingReservations() = 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 /// ///Only holds for this service id. /// [] member val ServiceId:Nullable = new Nullable() with get,set /// ///Only holds whose start (From) is on or after this datetime. /// [] member val From:Nullable = new Nullable() with get,set /// ///Only holds whose start (From) is on or before this datetime. /// [] member val To:Nullable = new Nullable() with get,set /// ///Filter by BookingReservationStatus value. When omitted, the spot-holding statuses (Selecting=1, AwaitingPayment=2) are returned. /// [] member val StatusCode:Nullable = new Nullable() with get,set