/* Options: Date: 2026-08-03 09:28:31 Version: 10.05 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://testapi.bokamera.se //GlobalNamespace: //MakePartial: True //MakeVirtual: True //MakeInternal: False //MakeDataContractsExtensible: False //AddNullableAnnotations: True //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 */ using System; using System.IO; using System.Collections; using System.Collections.Generic; using System.Runtime.Serialization; using ServiceStack; using ServiceStack.DataAnnotations; using System.Globalization; using ServiceStack.Data; using System.Net; using System.Net.Http.Headers; using BokaMera.API.ServiceModel.Interfaces; using BokaMera.API.ServiceModel.Dtos; namespace BokaMera.API.ServiceModel.Dtos { public partial class BookingReservationResponse { /// ///The opaque session key that identifies the reservation. /// [ApiMember(Description="The opaque session key that identifies the reservation.")] public virtual Guid SessionKey { get; set; } /// ///The company id. /// [ApiMember(Description="The company id.")] public virtual Guid CompanyId { get; set; } /// ///The reserved service id. /// [ApiMember(Description="The reserved service id.")] public virtual int ServiceId { get; set; } /// ///The reservation start. /// [ApiMember(Description="The reservation start.")] public virtual DateTime From { get; set; } /// ///The reservation end. /// [ApiMember(Description="The reservation end.")] public virtual DateTime To { get; set; } /// ///The BookingReservationStatus value. /// [ApiMember(Description="The BookingReservationStatus value.")] public virtual int StatusCode { get; set; } /// ///The BookingReservationStatus name. /// [ApiMember(Description="The BookingReservationStatus name.")] public virtual string StatusName { get; set; } /// ///When the hold expires (company-local time). /// [ApiMember(Description="When the hold expires (company-local time).")] public virtual DateTime ExpirationDatetime { get; set; } /// ///Number of reserved spots. /// [ApiMember(Description="Number of reserved spots.")] public virtual int NumberOfBookedSpots { get; set; } /// ///The computed price of the reservation, if any. /// [ApiMember(Description="The computed price of the reservation, if any.")] public virtual decimal? Price { get; set; } /// ///The currency of the price, if any. /// [ApiMember(Description="The currency of the price, if any.")] public virtual string CurrencyId { get; set; } /// ///Ids of the resources held by the reservation. /// [ApiMember(Description="Ids of the resources held by the reservation.")] public virtual List ResourceIds { get; set; } = []; /// ///The full in-progress selection payload (wizard/session state) as JSON. /// [ApiMember(Description="The full in-progress selection payload (wizard/session state) as JSON.")] public virtual string SelectionPayload { get; set; } public virtual ResponseStatus ResponseStatus { get; set; } } [Route("/bookingreservations/{SessionKey}/extend", "PUT")] [ApiResponse(Description="You were unauthorized to call this service", StatusCode=401)] [ApiResponse(Description="No reservation found for the given session key", StatusCode=404)] [ApiResponse(Description="The reservation is not awaiting payment or the selected slot is no longer available", StatusCode=409)] public partial class ExtendBookingReservation : IReturn, ICompany { /// ///The opaque session key that identifies the reservation. /// [ApiMember(Description="The opaque session key that identifies the reservation.", IsRequired=true, ParameterType="path")] public virtual Guid SessionKey { get; set; } /// ///The company id, if empty will use the company id for the user you are logged in with. /// [ApiMember(Description="The company id, if empty will use the company id for the user you are logged in with.")] public virtual Guid? CompanyId { get; set; } } } namespace BokaMera.API.ServiceModel.Interfaces { public partial interface ICompany { Guid? CompanyId { get; set; } } }