BokaMera.API.Host

<back to all web services

BookingMoveResources

Requires Authentication
Requires any of the roles:bookingsupplier-administrator-write, superadmin
The following routes are available for this service:
PUT/bookings/resources/moveMove all booked resources from one resource to anotherThis service is used to move all bookings from one resource to another.
import java.math.*;
import java.util.*;
import net.servicestack.client.*;

public class dtos
{

    @ApiResponse(Description="You were unauthorized to call this service", StatusCode=401)
    @ValidateRequest(Validator="IsAuthenticated")
    public static class BookingMoveResources implements ICompany
    {
        /**
        * 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 UUID CompanyId = null;

        /**
        * Id of the resource you want to move from
        */
        @ApiMember(Description="Id of the resource you want to move from", IsRequired=true)
        public Integer ResourceId = null;

        /**
        * If you want to see what bookings, just set this to true. Will not update anything just retrieve the bookings
        */
        @ApiMember(Description="If you want to see what bookings, just set this to true. Will not update anything just retrieve the bookings", IsRequired=true)
        public Boolean Test = null;

        /**
        * If you only want to move from a specific resource group then enter the id here. If blank it will move from all resourcetypes where the resource id exists
        */
        @ApiMember(Description="If you only want to move from a specific resource group then enter the id here. If blank it will move from all resourcetypes where the resource id exists", IsRequired=true)
        public Integer ResourceTypeId = null;

        /**
        * 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.", IsRequired=true)
        public Integer NewResourceId = null;

        /**
        * If you want to move to another resourcetype then enter the new resource group id. If blank it will not move it to another resourcetype
        */
        @ApiMember(Description="If you want to move to another resourcetype then enter the new resource group id. If blank it will not move it to another resourcetype")
        public Integer NewResourceTypeId = null;

        /**
        * Start of interval to query for bookings. UTC+0 and parameter as defined by date-time - RFC3339
        */
        @ApiMember(DataType="dateTime", Description="Start of interval to query for bookings. UTC+0 and parameter as defined by date-time - RFC3339")
        public Date BookingStart = null;

        /**
        * End of interval to query for bookings. UTC+0 and parameter as defined by date-time - RFC3339
        */
        @ApiMember(DataType="dateTime", Description="End of interval to query for bookings. UTC+0 and parameter as defined by date-time - RFC3339")
        public Date BookingEnd = null;
        
        public UUID getCompanyId() { return CompanyId; }
        public BookingMoveResources setCompanyId(UUID value) { this.CompanyId = value; return this; }
        public Integer getResourceId() { return ResourceId; }
        public BookingMoveResources setResourceId(Integer value) { this.ResourceId = value; return this; }
        public Boolean isTest() { return Test; }
        public BookingMoveResources setTest(Boolean value) { this.Test = value; return this; }
        public Integer getResourceTypeId() { return ResourceTypeId; }
        public BookingMoveResources setResourceTypeId(Integer value) { this.ResourceTypeId = value; return this; }
        public Integer getNewResourceId() { return NewResourceId; }
        public BookingMoveResources setNewResourceId(Integer value) { this.NewResourceId = value; return this; }
        public Integer getNewResourceTypeId() { return NewResourceTypeId; }
        public BookingMoveResources setNewResourceTypeId(Integer value) { this.NewResourceTypeId = value; return this; }
        public Date getBookingStart() { return BookingStart; }
        public BookingMoveResources setBookingStart(Date value) { this.BookingStart = value; return this; }
        public Date getBookingEnd() { return BookingEnd; }
        public BookingMoveResources setBookingEnd(Date value) { this.BookingEnd = value; return this; }
    }

    public static class BookingQueryResponse
    {
        public Integer Id = null;
        public UUID CompanyId = null;
        public Date From = null;
        public Date To = null;
        public BookingStatusEnum Status = null;
        public Integer StatusId = null;
        public String StatusName = null;
        public BookingStatusQueryResponse StatusInfo = null;
        public Boolean SendEmailReminder = null;
        public Boolean SendSmsReminder = null;
        public Boolean SendSmsConfirmation = null;
        public Boolean SendEmailConfirmation = null;
        public Date LastTimeToUnBook = null;
        public ArrayList<CustomFieldConfigData> CustomFields = null;
        public ArrayList<CustomFieldDataResponse> CustomFieldValues = null;
        public ArrayList<BookedResourceType> BookedResourceTypes = null;
        public BookedCompany Company = null;
        public BookedCustomer Customer = null;
        public ArrayList<BookedQuantity> Quantities = null;
        public ServiceInfoResponse Service = null;
        public Date PaymentExpiration = null;
        public ArrayList<BookingLogQueryResponse> Log = null;
        public ArrayList<BookingPaymentLogQueryResponse> PaymentLog = null;
        public ArrayList<BookingCheckoutQueryResponse> CheckoutLog = null;
        public ArrayList<ExternalReferenceResponse> ExternalReference = null;
        public ResponseStatus ResponseStatus = null;
        public BookingCalendarExportStatus CalendarExportStatus = null;
        public Integer LengthInMinutes = null;
        public String BookedBy = null;
        public String BookedComments = null;
        public String UnbookedComments = null;
        public String CommentsToCustomer = null;
        public Date CreatedDate = null;
        public Date UpdatedDate = null;
        public Date UnbookedOn = null;
        public String CancellationCode = null;
        public String RatingCode = null;
        
        public Integer getId() { return Id; }
        public BookingQueryResponse setId(Integer value) { this.Id = value; return this; }
        public UUID getCompanyId() { return CompanyId; }
        public BookingQueryResponse setCompanyId(UUID value) { this.CompanyId = value; return this; }
        public Date getFrom() { return From; }
        public BookingQueryResponse setFrom(Date value) { this.From = value; return this; }
        public Date getTo() { return To; }
        public BookingQueryResponse setTo(Date value) { this.To = value; return this; }
        public BookingStatusEnum getStatus() { return Status; }
        public BookingQueryResponse setStatus(BookingStatusEnum value) { this.Status = value; return this; }
        public Integer getStatusId() { return StatusId; }
        public BookingQueryResponse setStatusId(Integer value) { this.StatusId = value; return this; }
        public String getStatusName() { return StatusName; }
        public BookingQueryResponse setStatusName(String value) { this.StatusName = value; return this; }
        public BookingStatusQueryResponse getStatusInfo() { return StatusInfo; }
        public BookingQueryResponse setStatusInfo(BookingStatusQueryResponse value) { this.StatusInfo = value; return this; }
        public Boolean isSendEmailReminder() { return SendEmailReminder; }
        public BookingQueryResponse setSendEmailReminder(Boolean value) { this.SendEmailReminder = value; return this; }
        public Boolean isSendSmsReminder() { return SendSmsReminder; }
        public BookingQueryResponse setSendSmsReminder(Boolean value) { this.SendSmsReminder = value; return this; }
        public Boolean isSendSmsConfirmation() { return SendSmsConfirmation; }
        public BookingQueryResponse setSendSmsConfirmation(Boolean value) { this.SendSmsConfirmation = value; return this; }
        public Boolean isSendEmailConfirmation() { return SendEmailConfirmation; }
        public BookingQueryResponse setSendEmailConfirmation(Boolean value) { this.SendEmailConfirmation = value; return this; }
        public Date getLastTimeToUnBook() { return LastTimeToUnBook; }
        public BookingQueryResponse setLastTimeToUnBook(Date value) { this.LastTimeToUnBook = value; return this; }
        public ArrayList<CustomFieldConfigData> getCustomFields() { return CustomFields; }
        public BookingQueryResponse setCustomFields(ArrayList<CustomFieldConfigData> value) { this.CustomFields = value; return this; }
        public ArrayList<CustomFieldDataResponse> getCustomFieldValues() { return CustomFieldValues; }
        public BookingQueryResponse setCustomFieldValues(ArrayList<CustomFieldDataResponse> value) { this.CustomFieldValues = value; return this; }
        public ArrayList<BookedResourceType> getBookedResourceTypes() { return BookedResourceTypes; }
        public BookingQueryResponse setBookedResourceTypes(ArrayList<BookedResourceType> value) { this.BookedResourceTypes = value; return this; }
        public BookedCompany getCompany() { return Company; }
        public BookingQueryResponse setCompany(BookedCompany value) { this.Company = value; return this; }
        public BookedCustomer getCustomer() { return Customer; }
        public BookingQueryResponse setCustomer(BookedCustomer value) { this.Customer = value; return this; }
        public ArrayList<BookedQuantity> getQuantities() { return Quantities; }
        public BookingQueryResponse setQuantities(ArrayList<BookedQuantity> value) { this.Quantities = value; return this; }
        public ServiceInfoResponse getService() { return Service; }
        public BookingQueryResponse setService(ServiceInfoResponse value) { this.Service = value; return this; }
        public Date getPaymentExpiration() { return PaymentExpiration; }
        public BookingQueryResponse setPaymentExpiration(Date value) { this.PaymentExpiration = value; return this; }
        public ArrayList<BookingLogQueryResponse> getLog() { return Log; }
        public BookingQueryResponse setLog(ArrayList<BookingLogQueryResponse> value) { this.Log = value; return this; }
        public ArrayList<BookingPaymentLogQueryResponse> getPaymentLog() { return PaymentLog; }
        public BookingQueryResponse setPaymentLog(ArrayList<BookingPaymentLogQueryResponse> value) { this.PaymentLog = value; return this; }
        public ArrayList<BookingCheckoutQueryResponse> getCheckoutLog() { return CheckoutLog; }
        public BookingQueryResponse setCheckoutLog(ArrayList<BookingCheckoutQueryResponse> value) { this.CheckoutLog = value; return this; }
        public ArrayList<ExternalReferenceResponse> getExternalReference() { return ExternalReference; }
        public BookingQueryResponse setExternalReference(ArrayList<ExternalReferenceResponse> value) { this.ExternalReference = value; return this; }
        public ResponseStatus getResponseStatus() { return ResponseStatus; }
        public BookingQueryResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; }
        public BookingCalendarExportStatus getCalendarExportStatus() { return CalendarExportStatus; }
        public BookingQueryResponse setCalendarExportStatus(BookingCalendarExportStatus value) { this.CalendarExportStatus = value; return this; }
        public Integer getLengthInMinutes() { return LengthInMinutes; }
        public BookingQueryResponse setLengthInMinutes(Integer value) { this.LengthInMinutes = value; return this; }
        public String getBookedBy() { return BookedBy; }
        public BookingQueryResponse setBookedBy(String value) { this.BookedBy = value; return this; }
        public String getBookedComments() { return BookedComments; }
        public BookingQueryResponse setBookedComments(String value) { this.BookedComments = value; return this; }
        public String getUnbookedComments() { return UnbookedComments; }
        public BookingQueryResponse setUnbookedComments(String value) { this.UnbookedComments = value; return this; }
        public String getCommentsToCustomer() { return CommentsToCustomer; }
        public BookingQueryResponse setCommentsToCustomer(String value) { this.CommentsToCustomer = value; return this; }
        public Date getCreatedDate() { return CreatedDate; }
        public BookingQueryResponse setCreatedDate(Date value) { this.CreatedDate = value; return this; }
        public Date getUpdatedDate() { return UpdatedDate; }
        public BookingQueryResponse setUpdatedDate(Date value) { this.UpdatedDate = value; return this; }
        public Date getUnbookedOn() { return UnbookedOn; }
        public BookingQueryResponse setUnbookedOn(Date value) { this.UnbookedOn = value; return this; }
        public String getCancellationCode() { return CancellationCode; }
        public BookingQueryResponse setCancellationCode(String value) { this.CancellationCode = value; return this; }
        public String getRatingCode() { return RatingCode; }
        public BookingQueryResponse setRatingCode(String value) { this.RatingCode = value; return this; }
    }

    public static enum BookingStatusEnum
    {
        Booked(1),
        Unbooked(2),
        Reserved(3),
        Canceled(4),
        AwaitingPayment(5),
        AwaitingPaymentNoTimeLimit(6),
        Payed(7),
        AwaitingPaymentRequestFromAdmin(8),
        AwaitingPaymentFromProvider(9),
        Invoiced(10);

        private final int value;
        BookingStatusEnum(final int intValue) { value = intValue; }
        public int getValue() { return value; }
    }

    public static class BookingStatusQueryResponse
    {
        public Integer Id = null;
        public String Name = null;
        public String Description = null;
        public String Icon = null;
        public String Color = null;
        
        public Integer getId() { return Id; }
        public BookingStatusQueryResponse setId(Integer value) { this.Id = value; return this; }
        public String getName() { return Name; }
        public BookingStatusQueryResponse setName(String value) { this.Name = value; return this; }
        public String getDescription() { return Description; }
        public BookingStatusQueryResponse setDescription(String value) { this.Description = value; return this; }
        public String getIcon() { return Icon; }
        public BookingStatusQueryResponse setIcon(String value) { this.Icon = value; return this; }
        public String getColor() { return Color; }
        public BookingStatusQueryResponse setColor(String value) { this.Color = value; return this; }
    }

    public static class CustomFieldConfigData
    {
        /**
        * Custom field id
        */
        @ApiMember(Description="Custom field id")
        public Integer Id = null;

        /**
        * Configuration name. Example: 'Number of persons'.
        */
        @ApiMember(Description="Configuration name. Example: 'Number of persons'.")
        public String Name = null;

        /**
        * Custom field description. Example: 'For how many persons is this booking?'
        */
        @ApiMember(Description="Custom field description. Example: 'For how many persons is this booking?'")
        public String Description = null;

        /**
        * Field width. Example: 20 for 20px
        */
        @ApiMember(Description="Field width. Example: 20 for 20px")
        public Integer Width = null;

        /**
        * Data field of custom field. Valid values are: TextBox, ... Example: 'TextBox'
        */
        @ApiMember(Description="Data field of custom field. Valid values are: TextBox, ... Example: 'TextBox'")
        public String DataType = null;

        /**
        * Default value of the field. Example: '3'
        */
        @ApiMember(Description="Default value of the field. Example: '3'")
        public String DefaultValue = null;

        /**
        * Determines if the field is required to have a value or not
        */
        @ApiMember(Description="Determines if the field is required to have a value or not")
        public Boolean IsMandatory = null;

        /**
        * Error message shown to the user if the field data is required but not entered
        */
        @ApiMember(Description="Error message shown to the user if the field data is required but not entered")
        public String MandatoryErrorMessage = null;

        /**
        * Max lenght of the field
        */
        @ApiMember(Description="Max lenght of the field")
        public Integer MaxLength = null;

        /**
        * If the field should have multiple lines
        */
        @ApiMember(Description="If the field should have multiple lines")
        public Boolean MultipleLineText = null;

        /**
        * Regular expression used for validation of the field
        */
        @ApiMember(Description="Regular expression used for validation of the field")
        public String RegEx = null;

        /**
        * Error message shown if the regular expression validation failed
        */
        @ApiMember(Description="Error message shown if the regular expression validation failed")
        public String RegExErrorMessage = null;

        /**
        * The values to select from if Datatype is DropDown for this custom field
        */
        @ApiMember(Description="The values to select from if Datatype is DropDown for this custom field")
        public ArrayList<CustomFieldValueResponse> Values = null;
        
        public Integer getId() { return Id; }
        public CustomFieldConfigData setId(Integer value) { this.Id = value; return this; }
        public String getName() { return Name; }
        public CustomFieldConfigData setName(String value) { this.Name = value; return this; }
        public String getDescription() { return Description; }
        public CustomFieldConfigData setDescription(String value) { this.Description = value; return this; }
        public Integer getWidth() { return Width; }
        public CustomFieldConfigData setWidth(Integer value) { this.Width = value; return this; }
        public String getDataType() { return DataType; }
        public CustomFieldConfigData setDataType(String value) { this.DataType = value; return this; }
        public String getDefaultValue() { return DefaultValue; }
        public CustomFieldConfigData setDefaultValue(String value) { this.DefaultValue = value; return this; }
        public Boolean getIsMandatory() { return IsMandatory; }
        public CustomFieldConfigData setIsMandatory(Boolean value) { this.IsMandatory = value; return this; }
        public String getMandatoryErrorMessage() { return MandatoryErrorMessage; }
        public CustomFieldConfigData setMandatoryErrorMessage(String value) { this.MandatoryErrorMessage = value; return this; }
        public Integer getMaxLength() { return MaxLength; }
        public CustomFieldConfigData setMaxLength(Integer value) { this.MaxLength = value; return this; }
        public Boolean isMultipleLineText() { return MultipleLineText; }
        public CustomFieldConfigData setMultipleLineText(Boolean value) { this.MultipleLineText = value; return this; }
        public String getRegEx() { return RegEx; }
        public CustomFieldConfigData setRegEx(String value) { this.RegEx = value; return this; }
        public String getRegExErrorMessage() { return RegExErrorMessage; }
        public CustomFieldConfigData setRegExErrorMessage(String value) { this.RegExErrorMessage = value; return this; }
        public ArrayList<CustomFieldValueResponse> getValues() { return Values; }
        public CustomFieldConfigData setValues(ArrayList<CustomFieldValueResponse> value) { this.Values = value; return this; }
    }

    public static class CustomFieldValueResponse
    {
        public String Value = null;
        
        public String getValue() { return Value; }
        public CustomFieldValueResponse setValue(String value) { this.Value = value; return this; }
    }

    public static class CustomFieldDataResponse
    {
        public Integer Id = null;
        public String Column = null;
        public String Name = null;
        public String Description = null;
        public String Value = null;
        /**
        * Data field of custom field. Valid values are: TextBox, ... Example: 'TextBox'
        */
        @ApiMember(Description="Data field of custom field. Valid values are: TextBox, ... Example: 'TextBox'")
        public String DataType = null;
        
        public Integer getId() { return Id; }
        public CustomFieldDataResponse setId(Integer value) { this.Id = value; return this; }
        public String getColumn() { return Column; }
        public CustomFieldDataResponse setColumn(String value) { this.Column = value; return this; }
        public String getName() { return Name; }
        public CustomFieldDataResponse setName(String value) { this.Name = value; return this; }
        public String getDescription() { return Description; }
        public CustomFieldDataResponse setDescription(String value) { this.Description = value; return this; }
        public String getValue() { return Value; }
        public CustomFieldDataResponse setValue(String value) { this.Value = value; return this; }
        public String getDataType() { return DataType; }
        public CustomFieldDataResponse setDataType(String value) { this.DataType = value; return this; }
    }

    public static class BookedResourceType
    {
        /**
        * The resource type id
        */
        @ApiMember(Description="The resource type id")
        public Integer Id = null;

        /**
        * The resource type name
        */
        @ApiMember(Description="The resource type name")
        public String Name = null;

        /**
        * The resources inside resource type
        */
        @ApiMember(Description="The resources inside resource type")
        public ArrayList<BookedResource> Resources = null;
        
        public Integer getId() { return Id; }
        public BookedResourceType setId(Integer value) { this.Id = value; return this; }
        public String getName() { return Name; }
        public BookedResourceType setName(String value) { this.Name = value; return this; }
        public ArrayList<BookedResource> getResources() { return Resources; }
        public BookedResourceType setResources(ArrayList<BookedResource> value) { this.Resources = value; return this; }
    }

    public static class BookedResource
    {
        public Integer Id = null;
        public String Name = null;
        public String Color = null;
        public Uri ImageUrl = null;
        public String Email = null;
        public String MobilePhone = null;
        public String AccessGroup = null;
        public Boolean EmailNotification = null;
        public Boolean SMSNotification = null;
        public Boolean EmailReminder = null;
        public Boolean SMSReminder = null;
        
        public Integer getId() { return Id; }
        public BookedResource setId(Integer value) { this.Id = value; return this; }
        public String getName() { return Name; }
        public BookedResource setName(String value) { this.Name = value; return this; }
        public String getColor() { return Color; }
        public BookedResource setColor(String value) { this.Color = value; return this; }
        public Uri getImageUrl() { return ImageUrl; }
        public BookedResource setImageUrl(Uri value) { this.ImageUrl = value; return this; }
        public String getEmail() { return Email; }
        public BookedResource setEmail(String value) { this.Email = value; return this; }
        public String getMobilePhone() { return MobilePhone; }
        public BookedResource setMobilePhone(String value) { this.MobilePhone = value; return this; }
        public String getAccessGroup() { return AccessGroup; }
        public BookedResource setAccessGroup(String value) { this.AccessGroup = value; return this; }
        public Boolean isEmailNotification() { return EmailNotification; }
        public BookedResource setEmailNotification(Boolean value) { this.EmailNotification = value; return this; }
        public Boolean isSmsNotification() { return SMSNotification; }
        public BookedResource setSmsNotification(Boolean value) { this.SMSNotification = value; return this; }
        public Boolean isEmailReminder() { return EmailReminder; }
        public BookedResource setEmailReminder(Boolean value) { this.EmailReminder = value; return this; }
        public Boolean isSmsReminder() { return SMSReminder; }
        public BookedResource setSmsReminder(Boolean value) { this.SMSReminder = value; return this; }
    }

    public static class BookedCompany
    {
        public UUID Id = null;
        public String Name = null;
        public Uri LogoType = null;
        public String Category = null;
        public String Street1 = null;
        public String Street2 = null;
        public String ZipCode = null;
        public String City = null;
        public String CountryId = null;
        public String Longitude = null;
        public String Latitude = null;
        public String Phone = null;
        public String Email = null;
        public String HomePage = null;
        public String SitePath = null;
        public Boolean IsFavorite = null;
        public Integer PaymentProviderId = null;
        
        public UUID getId() { return Id; }
        public BookedCompany setId(UUID value) { this.Id = value; return this; }
        public String getName() { return Name; }
        public BookedCompany setName(String value) { this.Name = value; return this; }
        public Uri getLogoType() { return LogoType; }
        public BookedCompany setLogoType(Uri value) { this.LogoType = value; return this; }
        public String getCategory() { return Category; }
        public BookedCompany setCategory(String value) { this.Category = value; return this; }
        public String getStreet1() { return Street1; }
        public BookedCompany setStreet1(String value) { this.Street1 = value; return this; }
        public String getStreet2() { return Street2; }
        public BookedCompany setStreet2(String value) { this.Street2 = value; return this; }
        public String getZipCode() { return ZipCode; }
        public BookedCompany setZipCode(String value) { this.ZipCode = value; return this; }
        public String getCity() { return City; }
        public BookedCompany setCity(String value) { this.City = value; return this; }
        public String getCountryId() { return CountryId; }
        public BookedCompany setCountryId(String value) { this.CountryId = value; return this; }
        public String getLongitude() { return Longitude; }
        public BookedCompany setLongitude(String value) { this.Longitude = value; return this; }
        public String getLatitude() { return Latitude; }
        public BookedCompany setLatitude(String value) { this.Latitude = value; return this; }
        public String getPhone() { return Phone; }
        public BookedCompany setPhone(String value) { this.Phone = value; return this; }
        public String getEmail() { return Email; }
        public BookedCompany setEmail(String value) { this.Email = value; return this; }
        public String getHomePage() { return HomePage; }
        public BookedCompany setHomePage(String value) { this.HomePage = value; return this; }
        public String getSitePath() { return SitePath; }
        public BookedCompany setSitePath(String value) { this.SitePath = value; return this; }
        public Boolean getIsFavorite() { return IsFavorite; }
        public BookedCompany setIsFavorite(Boolean value) { this.IsFavorite = value; return this; }
        public Integer getPaymentProviderId() { return PaymentProviderId; }
        public BookedCompany setPaymentProviderId(Integer value) { this.PaymentProviderId = value; return this; }
    }

    public static class BookedCustomer
    {
        public UUID Id = null;
        public String Firstname = null;
        public String Lastname = null;
        public String Email = null;
        public String Phone = null;
        public String FacebookUserName = null;
        public String ImageUrl = null;
        public String CorporateIdentityNumber = null;
        public String InvoiceAddress1 = null;
        public String InvoiceAddress2 = null;
        public String InvoiceCity = null;
        public String InvoicePostalCode = null;
        public String InvoiceCountryCode = null;
        
        public UUID getId() { return Id; }
        public BookedCustomer setId(UUID value) { this.Id = value; return this; }
        public String getFirstname() { return Firstname; }
        public BookedCustomer setFirstname(String value) { this.Firstname = value; return this; }
        public String getLastname() { return Lastname; }
        public BookedCustomer setLastname(String value) { this.Lastname = value; return this; }
        public String getEmail() { return Email; }
        public BookedCustomer setEmail(String value) { this.Email = value; return this; }
        public String getPhone() { return Phone; }
        public BookedCustomer setPhone(String value) { this.Phone = value; return this; }
        public String getFacebookUserName() { return FacebookUserName; }
        public BookedCustomer setFacebookUserName(String value) { this.FacebookUserName = value; return this; }
        public String getImageUrl() { return ImageUrl; }
        public BookedCustomer setImageUrl(String value) { this.ImageUrl = value; return this; }
        public String getCorporateIdentityNumber() { return CorporateIdentityNumber; }
        public BookedCustomer setCorporateIdentityNumber(String value) { this.CorporateIdentityNumber = value; return this; }
        public String getInvoiceAddress1() { return InvoiceAddress1; }
        public BookedCustomer setInvoiceAddress1(String value) { this.InvoiceAddress1 = value; return this; }
        public String getInvoiceAddress2() { return InvoiceAddress2; }
        public BookedCustomer setInvoiceAddress2(String value) { this.InvoiceAddress2 = value; return this; }
        public String getInvoiceCity() { return InvoiceCity; }
        public BookedCustomer setInvoiceCity(String value) { this.InvoiceCity = value; return this; }
        public String getInvoicePostalCode() { return InvoicePostalCode; }
        public BookedCustomer setInvoicePostalCode(String value) { this.InvoicePostalCode = value; return this; }
        public String getInvoiceCountryCode() { return InvoiceCountryCode; }
        public BookedCustomer setInvoiceCountryCode(String value) { this.InvoiceCountryCode = value; return this; }
    }

    public static class BookedQuantity
    {
        /**
        * The quantity Id
        */
        @ApiMember(Description="The quantity Id")
        public Integer Id = null;

        /**
        * The quantity for booked on this price category
        */
        @ApiMember(Description="The quantity for booked on this price category")
        public Integer Quantity = null;

        /**
        * The price
        */
        @ApiMember(Description="The price")
        public Double Price = null;

        /**
        * The price bofore rebate codes
        */
        @ApiMember(Description="The price bofore rebate codes")
        public Double PriceBeforeRebate = null;

        /**
        * The price currency
        */
        @ApiMember(Description="The price currency")
        public String CurrencyId = null;

        /**
        * The price sign
        */
        @ApiMember(Description="The price sign")
        public String PriceSign = null;

        /**
        * The price category
        */
        @ApiMember(Description="The price category")
        public String Category = null;

        /**
        * The price VAT in percent
        */
        @ApiMember(Description="The price VAT in percent")
        public BigDecimal VAT = null;

        /**
        * The price text to display
        */
        @ApiMember(Description="The price text to display")
        public String PriceText = null;

        /**
        * If the quantity you add should occupy a spot. Default is true. If no it will only be a row that includes price information.
        */
        @ApiMember(Description="If the quantity you add should occupy a spot. Default is true. If no it will only be a row that includes price information.")
        public Boolean OccupiesSpot = null;
        
        public Integer getId() { return Id; }
        public BookedQuantity setId(Integer value) { this.Id = value; return this; }
        public Integer getQuantity() { return Quantity; }
        public BookedQuantity setQuantity(Integer value) { this.Quantity = value; return this; }
        public Double getPrice() { return Price; }
        public BookedQuantity setPrice(Double value) { this.Price = value; return this; }
        public Double getPriceBeforeRebate() { return PriceBeforeRebate; }
        public BookedQuantity setPriceBeforeRebate(Double value) { this.PriceBeforeRebate = value; return this; }
        public String getCurrencyId() { return CurrencyId; }
        public BookedQuantity setCurrencyId(String value) { this.CurrencyId = value; return this; }
        public String getPriceSign() { return PriceSign; }
        public BookedQuantity setPriceSign(String value) { this.PriceSign = value; return this; }
        public String getCategory() { return Category; }
        public BookedQuantity setCategory(String value) { this.Category = value; return this; }
        public BigDecimal getVat() { return VAT; }
        public BookedQuantity setVat(BigDecimal value) { this.VAT = value; return this; }
        public String getPriceText() { return PriceText; }
        public BookedQuantity setPriceText(String value) { this.PriceText = value; return this; }
        public Boolean isOccupiesSpot() { return OccupiesSpot; }
        public BookedQuantity setOccupiesSpot(Boolean value) { this.OccupiesSpot = value; return this; }
    }

    public static class ServiceInfoResponse
    {
        public Integer Id = null;
        public String Name = null;
        public String Description = null;
        public Uri ImageUrl = null;
        public Integer LengthInMinutes = null;
        public Integer MaxNumberOfSpotsPerBooking = null;
        public Integer MinNumberOfSpotsPerBooking = null;
        public GroupBookingSettings GroupBooking = null;
        public MultipleResourceSettings MultipleResource = null;
        public Boolean IsGroupBooking = null;
        public Boolean IsPaymentEnabled = null;
        
        public Integer getId() { return Id; }
        public ServiceInfoResponse setId(Integer value) { this.Id = value; return this; }
        public String getName() { return Name; }
        public ServiceInfoResponse setName(String value) { this.Name = value; return this; }
        public String getDescription() { return Description; }
        public ServiceInfoResponse setDescription(String value) { this.Description = value; return this; }
        public Uri getImageUrl() { return ImageUrl; }
        public ServiceInfoResponse setImageUrl(Uri value) { this.ImageUrl = value; return this; }
        public Integer getLengthInMinutes() { return LengthInMinutes; }
        public ServiceInfoResponse setLengthInMinutes(Integer value) { this.LengthInMinutes = value; return this; }
        public Integer getMaxNumberOfSpotsPerBooking() { return MaxNumberOfSpotsPerBooking; }
        public ServiceInfoResponse setMaxNumberOfSpotsPerBooking(Integer value) { this.MaxNumberOfSpotsPerBooking = value; return this; }
        public Integer getMinNumberOfSpotsPerBooking() { return MinNumberOfSpotsPerBooking; }
        public ServiceInfoResponse setMinNumberOfSpotsPerBooking(Integer value) { this.MinNumberOfSpotsPerBooking = value; return this; }
        public GroupBookingSettings getGroupBooking() { return GroupBooking; }
        public ServiceInfoResponse setGroupBooking(GroupBookingSettings value) { this.GroupBooking = value; return this; }
        public MultipleResourceSettings getMultipleResource() { return MultipleResource; }
        public ServiceInfoResponse setMultipleResource(MultipleResourceSettings value) { this.MultipleResource = value; return this; }
        public Boolean getIsGroupBooking() { return IsGroupBooking; }
        public ServiceInfoResponse setIsGroupBooking(Boolean value) { this.IsGroupBooking = value; return this; }
        public Boolean getIsPaymentEnabled() { return IsPaymentEnabled; }
        public ServiceInfoResponse setIsPaymentEnabled(Boolean value) { this.IsPaymentEnabled = value; return this; }
    }

    public static class GroupBookingSettings
    {
        public Boolean Active = null;
        public Integer Min = null;
        public Integer Max = null;
        
        public Boolean isActive() { return Active; }
        public GroupBookingSettings setActive(Boolean value) { this.Active = value; return this; }
        public Integer getMin() { return Min; }
        public GroupBookingSettings setMin(Integer value) { this.Min = value; return this; }
        public Integer getMax() { return Max; }
        public GroupBookingSettings setMax(Integer value) { this.Max = value; return this; }
    }

    public static class MultipleResourceSettings
    {
        public Boolean Active = null;
        public Integer Min = null;
        public Integer Max = null;
        
        public Boolean isActive() { return Active; }
        public MultipleResourceSettings setActive(Boolean value) { this.Active = value; return this; }
        public Integer getMin() { return Min; }
        public MultipleResourceSettings setMin(Integer value) { this.Min = value; return this; }
        public Integer getMax() { return Max; }
        public MultipleResourceSettings setMax(Integer value) { this.Max = value; return this; }
    }

    public static class BookingLogQueryResponse
    {
        /**
        * The booking log id
        */
        @ApiMember(Description="The booking log id")
        public Integer Id = null;

        /**
        * The booking id
        */
        @ApiMember(Description="The booking id")
        public Integer BookingId = null;

        /**
        * The type of event
        */
        @ApiMember(Description="The type of event")
        public Integer EventTypeId = null;

        /**
        * The type of event
        */
        @ApiMember(Description="The type of event")
        public BookingLogEventTypeResponse EventType = null;

        /**
        * Comments that could be added to the event log item
        */
        @ApiMember(Description="Comments that could be added to the event log item")
        public String Comments = null;

        /**
        * The user created the event
        */
        @ApiMember(Description="The user created the event")
        public String UserName = null;

        /**
        * Then date when the event occured
        */
        @ApiMember(Description="Then date when the event occured")
        public Date Created = null;
        
        public Integer getId() { return Id; }
        public BookingLogQueryResponse setId(Integer value) { this.Id = value; return this; }
        public Integer getBookingId() { return BookingId; }
        public BookingLogQueryResponse setBookingId(Integer value) { this.BookingId = value; return this; }
        public Integer getEventTypeId() { return EventTypeId; }
        public BookingLogQueryResponse setEventTypeId(Integer value) { this.EventTypeId = value; return this; }
        public BookingLogEventTypeResponse getEventType() { return EventType; }
        public BookingLogQueryResponse setEventType(BookingLogEventTypeResponse value) { this.EventType = value; return this; }
        public String getComments() { return Comments; }
        public BookingLogQueryResponse setComments(String value) { this.Comments = value; return this; }
        public String getUserName() { return UserName; }
        public BookingLogQueryResponse setUserName(String value) { this.UserName = value; return this; }
        public Date getCreated() { return Created; }
        public BookingLogQueryResponse setCreated(Date value) { this.Created = value; return this; }
    }

    public static class BookingLogEventTypeResponse
    {
        /**
        * The event type id
        */
        @ApiMember(Description="The event type id")
        public Integer Id = null;

        /**
        * The event type name
        */
        @ApiMember(Description="The event type name")
        public String Name = null;

        /**
        * The event type description
        */
        @ApiMember(Description="The event type description")
        public String Description = null;
        
        public Integer getId() { return Id; }
        public BookingLogEventTypeResponse setId(Integer value) { this.Id = value; return this; }
        public String getName() { return Name; }
        public BookingLogEventTypeResponse setName(String value) { this.Name = value; return this; }
        public String getDescription() { return Description; }
        public BookingLogEventTypeResponse setDescription(String value) { this.Description = value; return this; }
    }

    public static class BookingPaymentLogQueryResponse
    {
        /**
        * The booking payment log id
        */
        @ApiMember(Description="The booking payment log id")
        public Integer Id = null;

        /**
        * The booking id
        */
        @ApiMember(Description="The booking id")
        public Integer BookingId = null;

        /**
        * The payment reference id
        */
        @ApiMember(Description="The payment reference id")
        public String PaymentReferenceId = null;

        /**
        * The payment order item reference id
        */
        @ApiMember(Description="The payment order item reference id")
        public String OrderItemReferenceId = null;

        /**
        * The payment reference id
        */
        @ApiMember(Description="The payment reference id")
        public Integer PaymentProviderId = null;

        /**
        * The payment amount
        */
        @ApiMember(Description="The payment amount")
        public Double Amount = null;

        /**
        * The payment VAT in percent
        */
        @ApiMember(Description="The payment VAT in percent")
        public BigDecimal VAT = null;

        /**
        * The payment amount that is credited
        */
        @ApiMember(Description="The payment amount that is credited")
        public Double AmountCredited = null;

        /**
        * The payment currency id
        */
        @ApiMember(Description="The payment currency id")
        public String CurrencyId = null;

        /**
        * The payment currency info
        */
        @ApiMember(Description="The payment currency info")
        public CurrencyInfoResponse CurrencyInfo = null;

        /**
        * Comments that could be added to the event log item
        */
        @ApiMember(Description="Comments that could be added to the event log item")
        public String Comments = null;

        /**
        * The date when the payment items was created
        */
        @ApiMember(Description="The date when the payment items was created")
        public Date Created = null;

        /**
        * The date when the payment items was update
        */
        @ApiMember(Description="The date when the payment items was update")
        public Date Updated = null;
        
        public Integer getId() { return Id; }
        public BookingPaymentLogQueryResponse setId(Integer value) { this.Id = value; return this; }
        public Integer getBookingId() { return BookingId; }
        public BookingPaymentLogQueryResponse setBookingId(Integer value) { this.BookingId = value; return this; }
        public String getPaymentReferenceId() { return PaymentReferenceId; }
        public BookingPaymentLogQueryResponse setPaymentReferenceId(String value) { this.PaymentReferenceId = value; return this; }
        public String getOrderItemReferenceId() { return OrderItemReferenceId; }
        public BookingPaymentLogQueryResponse setOrderItemReferenceId(String value) { this.OrderItemReferenceId = value; return this; }
        public Integer getPaymentProviderId() { return PaymentProviderId; }
        public BookingPaymentLogQueryResponse setPaymentProviderId(Integer value) { this.PaymentProviderId = value; return this; }
        public Double getAmount() { return Amount; }
        public BookingPaymentLogQueryResponse setAmount(Double value) { this.Amount = value; return this; }
        public BigDecimal getVat() { return VAT; }
        public BookingPaymentLogQueryResponse setVat(BigDecimal value) { this.VAT = value; return this; }
        public Double getAmountCredited() { return AmountCredited; }
        public BookingPaymentLogQueryResponse setAmountCredited(Double value) { this.AmountCredited = value; return this; }
        public String getCurrencyId() { return CurrencyId; }
        public BookingPaymentLogQueryResponse setCurrencyId(String value) { this.CurrencyId = value; return this; }
        public CurrencyInfoResponse getCurrencyInfo() { return CurrencyInfo; }
        public BookingPaymentLogQueryResponse setCurrencyInfo(CurrencyInfoResponse value) { this.CurrencyInfo = value; return this; }
        public String getComments() { return Comments; }
        public BookingPaymentLogQueryResponse setComments(String value) { this.Comments = value; return this; }
        public Date getCreated() { return Created; }
        public BookingPaymentLogQueryResponse setCreated(Date value) { this.Created = value; return this; }
        public Date getUpdated() { return Updated; }
        public BookingPaymentLogQueryResponse setUpdated(Date value) { this.Updated = value; return this; }
    }

    public static class CurrencyInfoResponse
    {
        /**
        * The currency id
        */
        @ApiMember(Description="The currency id")
        public String Id = null;

        /**
        * The currency id
        */
        @ApiMember(Description="The currency id")
        public String Name = null;

        /**
        * The currency id
        */
        @ApiMember(Description="The currency id")
        public String CurrencySign = null;
        
        public String getId() { return Id; }
        public CurrencyInfoResponse setId(String value) { this.Id = value; return this; }
        public String getName() { return Name; }
        public CurrencyInfoResponse setName(String value) { this.Name = value; return this; }
        public String getCurrencySign() { return CurrencySign; }
        public CurrencyInfoResponse setCurrencySign(String value) { this.CurrencySign = value; return this; }
    }

    public static class BookingCheckoutQueryResponse
    {
        /**
        * The checkout id
        */
        @ApiMember(Description="The checkout id")
        public UUID Id = null;

        /**
        * The booking id
        */
        @ApiMember(Description="The booking id")
        public Integer BookingId = null;

        /**
        * The purchase id
        */
        @ApiMember(Description="The purchase id")
        public Integer PurchaseId = null;

        /**
        * The payment checkout expiration datetime
        */
        @ApiMember(Description="The payment checkout expiration datetime")
        public Date ExpirationTime = null;

        /**
        * The payment snippet code
        */
        @ApiMember(Description="The payment snippet code")
        public String Snippet = null;

        /**
        * The payment status
        */
        @ApiMember(Description="The payment status")
        public String Status = null;

        /**
        * Log message
        */
        @ApiMember(Description="Log message")
        public String Message = null;

        /**
        * When the checkout log item was created
        */
        @ApiMember(Description="When the checkout log item was created")
        public Date Created = null;

        /**
        * When the checkout log item was updated
        */
        @ApiMember(Description="When the checkout log item was updated")
        public Date Updated = null;
        
        public UUID getId() { return Id; }
        public BookingCheckoutQueryResponse setId(UUID value) { this.Id = value; return this; }
        public Integer getBookingId() { return BookingId; }
        public BookingCheckoutQueryResponse setBookingId(Integer value) { this.BookingId = value; return this; }
        public Integer getPurchaseId() { return PurchaseId; }
        public BookingCheckoutQueryResponse setPurchaseId(Integer value) { this.PurchaseId = value; return this; }
        public Date getExpirationTime() { return ExpirationTime; }
        public BookingCheckoutQueryResponse setExpirationTime(Date value) { this.ExpirationTime = value; return this; }
        public String getSnippet() { return Snippet; }
        public BookingCheckoutQueryResponse setSnippet(String value) { this.Snippet = value; return this; }
        public String getStatus() { return Status; }
        public BookingCheckoutQueryResponse setStatus(String value) { this.Status = value; return this; }
        public String getMessage() { return Message; }
        public BookingCheckoutQueryResponse setMessage(String value) { this.Message = value; return this; }
        public Date getCreated() { return Created; }
        public BookingCheckoutQueryResponse setCreated(Date value) { this.Created = value; return this; }
        public Date getUpdated() { return Updated; }
        public BookingCheckoutQueryResponse setUpdated(Date value) { this.Updated = value; return this; }
    }

    public static class ExternalReferenceResponse
    {
        public UUID CompanyId = null;
        public UUID Id = null;
        public UUID OwnerId = null;
        public String ReferenceType = null;
        public String ExternalData = null;
        public String CreatedBy = null;
        public Date Updated = null;
        public Date Created = null;
        
        public UUID getCompanyId() { return CompanyId; }
        public ExternalReferenceResponse setCompanyId(UUID value) { this.CompanyId = value; return this; }
        public UUID getId() { return Id; }
        public ExternalReferenceResponse setId(UUID value) { this.Id = value; return this; }
        public UUID getOwnerId() { return OwnerId; }
        public ExternalReferenceResponse setOwnerId(UUID value) { this.OwnerId = value; return this; }
        public String getReferenceType() { return ReferenceType; }
        public ExternalReferenceResponse setReferenceType(String value) { this.ReferenceType = value; return this; }
        public String getExternalData() { return ExternalData; }
        public ExternalReferenceResponse setExternalData(String value) { this.ExternalData = value; return this; }
        public String getCreatedBy() { return CreatedBy; }
        public ExternalReferenceResponse setCreatedBy(String value) { this.CreatedBy = value; return this; }
        public Date getUpdated() { return Updated; }
        public ExternalReferenceResponse setUpdated(Date value) { this.Updated = value; return this; }
        public Date getCreated() { return Created; }
        public ExternalReferenceResponse setCreated(Date value) { this.Created = value; return this; }
    }

    public static class BookingCalendarExportStatus
    {
        public String CalendarId = null;
        public Integer BookingId = null;
        public Boolean Synced = null;
        
        public String getCalendarId() { return CalendarId; }
        public BookingCalendarExportStatus setCalendarId(String value) { this.CalendarId = value; return this; }
        public Integer getBookingId() { return BookingId; }
        public BookingCalendarExportStatus setBookingId(Integer value) { this.BookingId = value; return this; }
        public Boolean isSynced() { return Synced; }
        public BookingCalendarExportStatus setSynced(Boolean value) { this.Synced = value; return this; }
    }

}

Java BookingMoveResources DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml

HTTP + XML

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

PUT /bookings/resources/move HTTP/1.1 
Host: api.bokamera.se 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

<BookingMoveResources xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BokaMera.API.ServiceModel.Dtos">
  <BookingEnd>0001-01-01T00:00:00</BookingEnd>
  <BookingStart>0001-01-01T00:00:00</BookingStart>
  <CompanyId>00000000-0000-0000-0000-000000000000</CompanyId>
  <NewResourceId>0</NewResourceId>
  <NewResourceTypeId>0</NewResourceTypeId>
  <ResourceId>0</ResourceId>
  <ResourceTypeId>0</ResourceTypeId>
  <Test>false</Test>
</BookingMoveResources>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<BookingQueryResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BokaMera.API.ServiceModel.Dtos">
  <BookedBy>String</BookedBy>
  <BookedComments>String</BookedComments>
  <BookedResourceTypes>
    <BookedResourceType>
      <Id>0</Id>
      <Name>String</Name>
      <Resources>
        <BookedResource>
          <AccessGroup>String</AccessGroup>
          <Color>String</Color>
          <Email>String</Email>
          <EmailNotification>false</EmailNotification>
          <EmailReminder>false</EmailReminder>
          <Id>0</Id>
          <ImageUrl i:nil="true" />
          <MobilePhone>String</MobilePhone>
          <Name>String</Name>
          <SMSNotification>false</SMSNotification>
          <SMSReminder>false</SMSReminder>
        </BookedResource>
      </Resources>
    </BookedResourceType>
  </BookedResourceTypes>
  <CalendarExportStatus>
    <BookingId>0</BookingId>
    <CalendarId>String</CalendarId>
    <Synced>false</Synced>
  </CalendarExportStatus>
  <CancellationCode>String</CancellationCode>
  <CheckoutLog>
    <BookingCheckoutQueryResponse>
      <BookingId>0</BookingId>
      <Created>0001-01-01T00:00:00</Created>
      <ExpirationTime>0001-01-01T00:00:00</ExpirationTime>
      <Id>00000000-0000-0000-0000-000000000000</Id>
      <Message>String</Message>
      <PurchaseId>0</PurchaseId>
      <Snippet>String</Snippet>
      <Status>String</Status>
      <Updated>0001-01-01T00:00:00</Updated>
    </BookingCheckoutQueryResponse>
  </CheckoutLog>
  <CommentsToCustomer>String</CommentsToCustomer>
  <Company>
    <Category>String</Category>
    <City>String</City>
    <CountryId>String</CountryId>
    <Email>String</Email>
    <HomePage>String</HomePage>
    <Id>00000000-0000-0000-0000-000000000000</Id>
    <IsFavorite>false</IsFavorite>
    <Latitude>String</Latitude>
    <LogoType i:nil="true" />
    <Longitude>String</Longitude>
    <Name>String</Name>
    <PaymentProviderId>0</PaymentProviderId>
    <Phone>String</Phone>
    <SitePath>String</SitePath>
    <Street1>String</Street1>
    <Street2>String</Street2>
    <ZipCode>String</ZipCode>
  </Company>
  <CompanyId>00000000-0000-0000-0000-000000000000</CompanyId>
  <CreatedDate>0001-01-01T00:00:00</CreatedDate>
  <CustomFieldValues>
    <CustomFieldDataResponse>
      <Column>String</Column>
      <DataType>String</DataType>
      <Description>String</Description>
      <Id>0</Id>
      <Name>String</Name>
      <Value>String</Value>
    </CustomFieldDataResponse>
  </CustomFieldValues>
  <CustomFields>
    <CustomFieldConfigData>
      <DataType>String</DataType>
      <DefaultValue>String</DefaultValue>
      <Description>String</Description>
      <Id>0</Id>
      <IsMandatory>false</IsMandatory>
      <MandatoryErrorMessage>String</MandatoryErrorMessage>
      <MaxLength>0</MaxLength>
      <MultipleLineText>false</MultipleLineText>
      <Name>String</Name>
      <RegEx>String</RegEx>
      <RegExErrorMessage>String</RegExErrorMessage>
      <Values>
        <CustomFieldValueResponse>
          <Value>String</Value>
        </CustomFieldValueResponse>
      </Values>
      <Width>0</Width>
    </CustomFieldConfigData>
  </CustomFields>
  <Customer>
    <CorporateIdentityNumber>String</CorporateIdentityNumber>
    <Email>String</Email>
    <FacebookUserName>String</FacebookUserName>
    <Firstname>String</Firstname>
    <Id>00000000-0000-0000-0000-000000000000</Id>
    <ImageUrl>String</ImageUrl>
    <InvoiceAddress1>String</InvoiceAddress1>
    <InvoiceAddress2>String</InvoiceAddress2>
    <InvoiceCity>String</InvoiceCity>
    <InvoiceCountryCode>String</InvoiceCountryCode>
    <InvoicePostalCode>String</InvoicePostalCode>
    <Lastname>String</Lastname>
    <Phone>String</Phone>
  </Customer>
  <ExternalReference>
    <ExternalReferenceResponse>
      <CompanyId>00000000-0000-0000-0000-000000000000</CompanyId>
      <Created>0001-01-01T00:00:00</Created>
      <CreatedBy>String</CreatedBy>
      <ExternalData>String</ExternalData>
      <Id>00000000-0000-0000-0000-000000000000</Id>
      <OwnerId>00000000-0000-0000-0000-000000000000</OwnerId>
      <ReferenceType>String</ReferenceType>
      <Updated>0001-01-01T00:00:00</Updated>
    </ExternalReferenceResponse>
  </ExternalReference>
  <From>0001-01-01T00:00:00</From>
  <Id>0</Id>
  <LastTimeToUnBook>0001-01-01T00:00:00</LastTimeToUnBook>
  <LengthInMinutes>0</LengthInMinutes>
  <Log>
    <BookingLogQueryResponse>
      <BookingId>0</BookingId>
      <Comments>String</Comments>
      <Created>0001-01-01T00:00:00</Created>
      <EventType>
        <Description>String</Description>
        <Id>0</Id>
        <Name>String</Name>
      </EventType>
      <EventTypeId>0</EventTypeId>
      <Id>0</Id>
      <UserName>String</UserName>
    </BookingLogQueryResponse>
  </Log>
  <PaymentExpiration>0001-01-01T00:00:00</PaymentExpiration>
  <PaymentLog>
    <BookingPaymentLogQueryResponse>
      <Amount>0</Amount>
      <AmountCredited>0</AmountCredited>
      <BookingId>0</BookingId>
      <Comments>String</Comments>
      <Created>0001-01-01T00:00:00</Created>
      <CurrencyId>String</CurrencyId>
      <CurrencyInfo>
        <CurrencySign>String</CurrencySign>
        <Id>String</Id>
        <Name>String</Name>
      </CurrencyInfo>
      <Id>0</Id>
      <OrderItemReferenceId>String</OrderItemReferenceId>
      <PaymentProviderId>0</PaymentProviderId>
      <PaymentReferenceId>String</PaymentReferenceId>
      <Updated>0001-01-01T00:00:00</Updated>
      <VAT>0</VAT>
    </BookingPaymentLogQueryResponse>
  </PaymentLog>
  <Quantities>
    <BookedQuantity>
      <Category>String</Category>
      <CurrencyId>String</CurrencyId>
      <Id>0</Id>
      <OccupiesSpot>false</OccupiesSpot>
      <Price>0</Price>
      <PriceBeforeRebate>0</PriceBeforeRebate>
      <PriceSign>String</PriceSign>
      <PriceText>String</PriceText>
      <Quantity>0</Quantity>
      <VAT>0</VAT>
    </BookedQuantity>
  </Quantities>
  <RatingCode>String</RatingCode>
  <ResponseStatus xmlns:d2p1="http://schemas.servicestack.net/types">
    <d2p1:ErrorCode>String</d2p1:ErrorCode>
    <d2p1:Message>String</d2p1:Message>
    <d2p1:StackTrace>String</d2p1:StackTrace>
    <d2p1:Errors>
      <d2p1:ResponseError>
        <d2p1:ErrorCode>String</d2p1:ErrorCode>
        <d2p1:FieldName>String</d2p1:FieldName>
        <d2p1:Message>String</d2p1:Message>
        <d2p1:Meta xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:KeyValueOfstringstring>
            <d5p1:Key>String</d5p1:Key>
            <d5p1:Value>String</d5p1:Value>
          </d5p1:KeyValueOfstringstring>
        </d2p1:Meta>
      </d2p1:ResponseError>
    </d2p1:Errors>
    <d2p1:Meta xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:KeyValueOfstringstring>
        <d3p1:Key>String</d3p1:Key>
        <d3p1:Value>String</d3p1:Value>
      </d3p1:KeyValueOfstringstring>
    </d2p1:Meta>
  </ResponseStatus>
  <SendEmailConfirmation>false</SendEmailConfirmation>
  <SendEmailReminder>false</SendEmailReminder>
  <SendSmsConfirmation>false</SendSmsConfirmation>
  <SendSmsReminder>false</SendSmsReminder>
  <Service>
    <Description>String</Description>
    <GroupBooking>
      <Active>false</Active>
      <Max>0</Max>
      <Min>0</Min>
    </GroupBooking>
    <Id>0</Id>
    <ImageUrl i:nil="true" />
    <IsGroupBooking>false</IsGroupBooking>
    <IsPaymentEnabled>false</IsPaymentEnabled>
    <LengthInMinutes>0</LengthInMinutes>
    <MaxNumberOfSpotsPerBooking>0</MaxNumberOfSpotsPerBooking>
    <MinNumberOfSpotsPerBooking>0</MinNumberOfSpotsPerBooking>
    <MultipleResource>
      <Active>false</Active>
      <Max>0</Max>
      <Min>0</Min>
    </MultipleResource>
    <Name>String</Name>
  </Service>
  <Status>Booked</Status>
  <StatusId>0</StatusId>
  <StatusInfo>
    <Color>String</Color>
    <Description>String</Description>
    <Icon>String</Icon>
    <Id>0</Id>
    <Name>String</Name>
  </StatusInfo>
  <StatusName>String</StatusName>
  <To>0001-01-01T00:00:00</To>
  <UnbookedComments>String</UnbookedComments>
  <UnbookedOn>0001-01-01T00:00:00</UnbookedOn>
  <UpdatedDate>0001-01-01T00:00:00</UpdatedDate>
</BookingQueryResponse>