BokaMera.API.Host

<back to all web services

CurrentUserQuery

Requires Authentication
The following routes are available for this service:
GET/usersGet user informationGet information about the currently logged in user
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using ServiceStack;
using ServiceStack.DataAnnotations;
using BokaMera.API.ServiceModel.Dtos;
using BokaMera.CodeLock.Model.Api;

namespace BokaMera.API.ServiceModel.Dtos
{
    public partial class AdminProfile
    {
        public virtual Guid CompanyId { get; set; }
        public virtual Guid Id { get; set; }
        public virtual string Firstname { get; set; }
        public virtual string Lastname { get; set; }
        public virtual string Email { get; set; }
        public virtual string WorkerId { get; set; }
        public virtual string Phone { get; set; }
    }

    public partial class CompanyBookingSettings
    {
        public virtual bool EnableMobileApp { get; set; }
        public virtual string BookingReceiptMessage { get; set; }
        public virtual bool ShowFreeTimesLeft { get; set; }
        public virtual bool EnableShowBookedTimes { get; set; }
        public virtual string BookingAgreement { get; set; }
        ///<summary>
        ///The settings for how to display week number. 1 = ShowWeekNumberFromDate, 2 = ShowWeekNumberToDate, 3 = ShowWeekNumberFromToDate, 4 = DontShowWeekNumber  
        ///</summary>
        [ApiMember(DataType="int", Description="The settings for how to display week number. 1 = ShowWeekNumberFromDate, 2 = ShowWeekNumberToDate, 3 = ShowWeekNumberFromToDate, 4 = DontShowWeekNumber  ")]
        public virtual int WeekNumberSetting { get; set; }

        public virtual bool ShowBookedTimes { get; set; }
        ///<summary>
        ///The payment provider id. 1 = Payson Checkout 1.0, 2= Payson Checkout 2.0 ... To get the full payment provider for the company call GET /payment/settings
        ///</summary>
        [ApiMember(Description="The payment provider id. 1 = Payson Checkout 1.0, 2= Payson Checkout 2.0 ... To get the full payment provider for the company call GET /payment/settings")]
        public virtual int PaymentProviderId { get; set; }

        ///<summary>
        ///If it's only allowed for existing customers to book
        ///</summary>
        [ApiMember(DataType="boolean", Description="If it's only allowed for existing customers to book")]
        public virtual bool BookOnlyOnExistingCustomers { get; set; }

        ///<summary>
        ///If payment is enabled
        ///</summary>
        [ApiMember(DataType="boolean", Description="If payment is enabled")]
        public virtual bool PaymentEnabled { get; set; }
    }

    public partial class CompanyCustomerResponse
    {
        public CompanyCustomerResponse()
        {
            CustomFieldValues = new List<CustomFieldDataResponse>{};
        }

        public virtual Guid? CompanyId { get; set; }
        public virtual string CompanyName { get; set; }
        public virtual Guid? CustomerId { get; set; }
        public virtual bool SubscribedToNewsletter { get; set; }
        public virtual List<CustomFieldDataResponse> CustomFieldValues { get; set; }
    }

    public partial class CompanyQueryResponse
    {
        public CompanyQueryResponse()
        {
            Reviews = new List<RatingReviewResponse>{};
            CustomerCustomFields = new List<CustomFieldConfigData>{};
        }

        public virtual Guid Id { get; set; }
        public virtual string Name { get; set; }
        ///<summary>
        ///The organisation number will only be visible if your owner to the company
        ///</summary>
        [ApiMember(DataType="string", Description="The organisation number will only be visible if your owner to the company")]
        public virtual string OrganisationNumber { get; set; }

        ///<summary>
        ///What type of company. If it's used for personal use or as a company.
        ///</summary>
        [ApiMember(DataType="int", Description="What type of company. If it's used for personal use or as a company.")]
        public virtual int? TypeId { get; set; }

        public virtual string Details { get; set; }
        public virtual int CategoryId { get; set; }
        public virtual string Category { get; set; }
        public virtual Uri LogoType { get; set; }
        public virtual Uri CoverImage { get; set; }
        public virtual string Street1 { get; set; }
        public virtual string Street2 { get; set; }
        public virtual string ZipCode { get; set; }
        public virtual string City { get; set; }
        public virtual string CountryId { get; set; }
        public virtual string Longitude { get; set; }
        public virtual string Latitude { get; set; }
        public virtual double? Distance { get; set; }
        public virtual string Phone { get; set; }
        public virtual string Email { get; set; }
        public virtual string Homepage { get; set; }
        public virtual string SitePath { get; set; }
        public virtual bool Active { get; set; }
        public virtual CodeLockSystemType? CodeLockSystem { get; set; }
        public virtual bool IsFreeAccount { get; set; }
        ///<summary>
        ///Will show when the company was updated, note it will only be shown if your logged in as admin for the company.
        ///</summary>
        [ApiMember(DataType="datetime", Description="Will show when the company was updated, note it will only be shown if your logged in as admin for the company.")]
        public virtual DateTime? Updated { get; set; }

        ///<summary>
        ///Will show when the company was created, note it will only be shown if your logged in as admin for the company.
        ///</summary>
        [ApiMember(DataType="datetime", Description="Will show when the company was created, note it will only be shown if your logged in as admin for the company.")]
        public virtual DateTime? Created { get; set; }

        public virtual int StatusId { get; set; }
        ///<summary>
        ///If the company is marked as favourite for the logged in user
        ///</summary>
        [ApiMember(DataType="boolean", Description="If the company is marked as favourite for the logged in user")]
        public virtual bool IsFavorite { get; set; }

        public virtual string BookingAgreements { get; set; }
        public virtual CompanyBookingSettings BookingSettings { get; set; }
        public virtual CompanySystemSettings SystemSettings { get; set; }
        public virtual CompanyWidgetSettings WidgetSettings { get; set; }
        public virtual HomepageSettingsResponse HomepageSettings { get; set; }
        public virtual CompanyRatingSummary RatingSummary { get; set; }
        public virtual List<RatingReviewResponse> Reviews { get; set; }
        public virtual List<CustomFieldConfigData> CustomerCustomFields { get; set; }
        public virtual ResponseStatus ResponseStatus { get; set; }
    }

    public partial class CompanyRatingSummary
    {
        ///<summary>
        ///The average rating score
        ///</summary>
        [ApiMember(Description="The average rating score")]
        public virtual double AverageScore { get; set; }

        ///<summary>
        ///The number of ratings of score 1
        ///</summary>
        [ApiMember(Description="The number of ratings of score 1")]
        public virtual int RatingScore1Count { get; set; }

        ///<summary>
        ///The number of ratings of score 2
        ///</summary>
        [ApiMember(Description="The number of ratings of score 2")]
        public virtual int RatingScore2Count { get; set; }

        ///<summary>
        ///The number of ratings of score 3
        ///</summary>
        [ApiMember(Description="The number of ratings of score 3")]
        public virtual int RatingScore3Count { get; set; }

        ///<summary>
        ///The number of ratings of score 4
        ///</summary>
        [ApiMember(Description="The number of ratings of score 4")]
        public virtual int RaingScore4Count { get; set; }

        ///<summary>
        ///The number of ratings of score 5
        ///</summary>
        [ApiMember(Description="The number of ratings of score 5")]
        public virtual int RatingScore5Count { get; set; }

        ///<summary>
        ///The number of ratings
        ///</summary>
        [ApiMember(Description="The number of ratings")]
        public virtual int Count { get; set; }
    }

    public partial class CompanySystemSettings
    {
        ///<summary>
        ///If the booking is active or not
        ///</summary>
        [ApiMember(DataType="bool", Description="If the booking is active or not")]
        public virtual bool Active { get; set; }

        ///<summary>
        ///If the booking is not active, what message to show to the customers
        ///</summary>
        [ApiMember(DataType="string", Description="If the booking is not active, what message to show to the customers")]
        public virtual string InactiveMessage { get; set; }

        ///<summary>
        ///If the company should be visible in search results on hompage
        ///</summary>
        [ApiMember(DataType="bool", Description="If the company should be visible in search results on hompage")]
        public virtual bool Searchable { get; set; }

        ///<summary>
        ///If you have a google analytics account and want to track your customers behaviors.
        ///</summary>
        [ApiMember(DataType="string", Description="If you have a google analytics account and want to track your customers behaviors.")]
        public virtual string GATrackingId { get; set; }

        ///<summary>
        ///If you have a google Ads Conversion Id account and want to track your customers behaviors.
        ///</summary>
        [ApiMember(DataType="string", Description="If you have a google Ads Conversion Id account and want to track your customers behaviors.")]
        public virtual string GoogleAdsConversionId { get; set; }

        ///<summary>
        ///If you have a LinkedIn account and want to track your customers behaviors.
        ///</summary>
        [ApiMember(DataType="string", Description="If you have a LinkedIn account and want to track your customers behaviors.")]
        public virtual string LinkedinTagId { get; set; }

        ///<summary>
        ///If you have a Google Ads Conversion Label and want to track your customers behaviors.
        ///</summary>
        [ApiMember(DataType="string", Description="If you have a Google Ads Conversion Label and want to track your customers behaviors.")]
        public virtual string GoogleAdsConversionLabel { get; set; }

        ///<summary>
        ///If you have a google tag manager account and want to track your customers behaviors.
        ///</summary>
        [ApiMember(DataType="string", Description="If you have a google tag manager account and want to track your customers behaviors.")]
        public virtual string GTMTrackingId { get; set; }

        ///<summary>
        ///If you have a facebook account and want to track your customers behaviors.
        ///</summary>
        [ApiMember(DataType="string", Description="If you have a facebook account and want to track your customers behaviors.")]
        public virtual string FacebookPixelId { get; set; }

        ///<summary>
        ///If you want your customers to be albe to change language on your homepage
        ///</summary>
        [ApiMember(DataType="bool", Description="If you want your customers to be albe to change language on your homepage")]
        public virtual bool MultiLanguage { get; set; }

        ///<summary>
        ///If the company should be visible on the marketplace
        ///</summary>
        [ApiMember(DataType="bool", Description="If the company should be visible on the marketplace")]
        public virtual bool ShowOnMarketplace { get; set; }

        ///<summary>
        ///If you want your own written text on your homepage to be translated using google analytics when a user changes language
        ///</summary>
        [ApiMember(DataType="bool", Description="If you want your own written text on your homepage to be translated using google analytics when a user changes language")]
        public virtual bool EnableAPITranslation { get; set; }

        ///<summary>
        ///What is the standard language your homepage information is written in. Select from the different countries, ie. SE,NO,EN
        ///</summary>
        [ApiMember(DataType="string", Description="What is the standard language your homepage information is written in. Select from the different countries, ie. SE,NO,EN")]
        public virtual string DefaultLanguage { get; set; }

        ///<summary>
        ///If you want to allow to send customer information in the tracking events to the external providers. Note you as a company are responsible for informing your customers and handling the data in terms of GDPR. 
        ///</summary>
        [ApiMember(Description="If you want to allow to send customer information in the tracking events to the external providers. Note you as a company are responsible for informing your customers and handling the data in terms of GDPR. ")]
        public virtual bool SendCustomerInformationToExternalProviders { get; set; }
    }

    public partial class CompanyWidgetSettings
    {
        ///<summary>
        ///The service layouts id.
        ///</summary>
        [ApiMember(Description="The service layouts id.")]
        public virtual int ServiceLayoutId { get; set; }

        ///<summary>
        ///The time layouts id.
        ///</summary>
        [ApiMember(Description="The time layouts id.")]
        public virtual int TimeLayoutId { get; set; }

        ///<summary>
        ///The booking layouts id.
        ///</summary>
        [ApiMember(Description="The booking layouts id.")]
        public virtual int BookingLayoutId { get; set; }

        ///<summary>
        ///The primary color of the booking widget.
        ///</summary>
        [ApiMember(Description="The primary color of the booking widget.")]
        public virtual string PrimaryColor { get; set; }

        ///<summary>
        ///If you should show the service image in the booking widget.
        ///</summary>
        [ApiMember(Description="If you should show the service image in the booking widget.")]
        public virtual bool ShowServiceImage { get; set; }

        ///<summary>
        ///If you should show the rebate code field in the booking widget.
        ///</summary>
        [ApiMember(Description="If you should show the rebate code field in the booking widget.")]
        public virtual bool ShowRebateCodeField { get; set; }

        ///<summary>
        ///If you should show the next available time in the booking widget.
        ///</summary>
        [ApiMember(Description="If you should show the next available time in the booking widget.")]
        public virtual bool ShowNextAvailableTime { get; set; }

        ///<summary>
        ///If you should show the end time in the booking widget.
        ///</summary>
        [ApiMember(Description="If you should show the end time in the booking widget.")]
        public virtual bool ShowEndTime { get; set; }

        ///<summary>
        ///What text to show on booked time slots. Default text is Booked
        ///</summary>
        [ApiMember(Description="What text to show on booked time slots. Default text is Booked")]
        public virtual string BookedTimeSlotText { get; set; }

        ///<summary>
        ///If the widget should be displayed in dark theme
        ///</summary>
        [ApiMember(Description="If the widget should be displayed in dark theme")]
        public virtual bool DarkTheme { get; set; }

        ///<summary>
        ///If you should show the subscribe to newsletter checkbox in the booking widget.
        ///</summary>
        [ApiMember(Description="If you should show the subscribe to newsletter checkbox in the booking widget.")]
        public virtual bool ShowSubscribeToNewsletter { get; set; }
    }

    [ApiResponse(Description="Returned if the service was called without an existing session", StatusCode=401)]
    [ValidateRequest("IsAuthenticated")]
    public partial class CurrentUserQuery
    {
        ///<summary>
        ///If you want to include the users favorites
        ///</summary>
        [ApiMember(DataType="boolean", Description="If you want to include the users favorites", ParameterType="query")]
        public virtual bool IncludeFavorites { get; set; }

        public virtual bool IncludeCompanyCustomers { get; set; }
    }

    public partial class CurrentUserQueryResponse
    {
        public CurrentUserQueryResponse()
        {
            Favorites = new List<UserFavorites>{};
            CompanyCustomers = new List<CompanyCustomerResponse>{};
        }

        ///<summary>
        ///The user id for your profile.
        ///</summary>
        [ApiMember(Description="The user id for your profile.")]
        public virtual Guid UserId { get; set; }

        public virtual List<UserFavorites> Favorites { get; set; }
        public virtual UserProfileResponse UserProfile { get; set; }
        public virtual UserProfileResponse CustomerProfile { get; set; }
        public virtual AdminProfile AdminProfile { get; set; }
        public virtual List<CompanyCustomerResponse> CompanyCustomers { get; set; }
    }

    public partial class CustomFieldConfigData
    {
        public CustomFieldConfigData()
        {
            Values = new List<CustomFieldValueResponse>{};
        }

        ///<summary>
        ///Custom field id
        ///</summary>
        [ApiMember(Description="Custom field id")]
        public virtual int Id { get; set; }

        ///<summary>
        ///Configuration name. Example: 'Number of persons'.
        ///</summary>
        [ApiMember(Description="Configuration name. Example: 'Number of persons'.")]
        public virtual string Name { get; set; }

        ///<summary>
        ///Custom field description. Example: 'For how many persons is this booking?'
        ///</summary>
        [ApiMember(Description="Custom field description. Example: 'For how many persons is this booking?'")]
        public virtual string Description { get; set; }

        ///<summary>
        ///Field width. Example: 20 for 20px
        ///</summary>
        [ApiMember(Description="Field width. Example: 20 for 20px")]
        public virtual int? Width { get; set; }

        ///<summary>
        ///Data field of custom field. Valid values are: TextBox, ... Example: 'TextBox'
        ///</summary>
        [ApiMember(Description="Data field of custom field. Valid values are: TextBox, ... Example: 'TextBox'")]
        public virtual string DataType { get; set; }

        ///<summary>
        ///Default value of the field. Example: '3'
        ///</summary>
        [ApiMember(Description="Default value of the field. Example: '3'")]
        public virtual string DefaultValue { get; set; }

        ///<summary>
        ///Determines if the field is required to have a value or not
        ///</summary>
        [ApiMember(Description="Determines if the field is required to have a value or not")]
        public virtual bool IsMandatory { get; set; }

        ///<summary>
        ///Error message shown to the user if the field data is required but not entered
        ///</summary>
        [ApiMember(Description="Error message shown to the user if the field data is required but not entered")]
        public virtual string MandatoryErrorMessage { get; set; }

        ///<summary>
        ///Max lenght of the field
        ///</summary>
        [ApiMember(Description="Max lenght of the field")]
        public virtual int MaxLength { get; set; }

        ///<summary>
        ///If the field should have multiple lines
        ///</summary>
        [ApiMember(Description="If the field should have multiple lines")]
        public virtual bool MultipleLineText { get; set; }

        ///<summary>
        ///Regular expression used for validation of the field
        ///</summary>
        [ApiMember(Description="Regular expression used for validation of the field")]
        public virtual string RegEx { get; set; }

        ///<summary>
        ///Error message shown if the regular expression validation failed
        ///</summary>
        [ApiMember(Description="Error message shown if the regular expression validation failed")]
        public virtual string RegExErrorMessage { get; set; }

        ///<summary>
        ///The values to select from if Datatype is DropDown for this custom field
        ///</summary>
        [ApiMember(Description="The values to select from if Datatype is DropDown for this custom field")]
        public virtual List<CustomFieldValueResponse> Values { get; set; }
    }

    public partial class CustomFieldDataResponse
    {
        public virtual int Id { get; set; }
        public virtual string Column { get; set; }
        public virtual string Name { get; set; }
        public virtual string Description { get; set; }
        public virtual string Value { get; set; }
        ///<summary>
        ///Data field of custom field. Valid values are: TextBox, ... Example: 'TextBox'
        ///</summary>
        [ApiMember(Description="Data field of custom field. Valid values are: TextBox, ... Example: 'TextBox'")]
        public virtual string DataType { get; set; }
    }

    public partial class CustomFieldValueResponse
    {
        public virtual string Value { get; set; }
    }

    public partial class HomepageSettingsResponse
    {
        ///<summary>
        ///The text for homepage heading
        ///</summary>
        [ApiMember(Description="The text for homepage heading")]
        public virtual string HomepageHeading { get; set; }

        ///<summary>
        ///The text for homepage startpage heading
        ///</summary>
        [ApiMember(Description="The text for homepage startpage heading")]
        public virtual string WelcomePageHeading { get; set; }

        ///<summary>
        ///The text for homepage startpage body
        ///</summary>
        [ApiMember(Description="The text for homepage startpage body")]
        public virtual string WelcomePageBody { get; set; }

        ///<summary>
        ///The text for homepage about us page heading
        ///</summary>
        [ApiMember(Description="The text for homepage about us page heading")]
        public virtual string AboutUsPageHeading { get; set; }

        ///<summary>
        ///The text for homepage about us page body
        ///</summary>
        [ApiMember(Description="The text for homepage about us page body")]
        public virtual string AboutUsPageBody { get; set; }

        ///<summary>
        ///The startpage image url
        ///</summary>
        [ApiMember(Description="The startpage image url")]
        public virtual Uri ImageUrl { get; set; }

        ///<summary>
        ///The cover image url
        ///</summary>
        [ApiMember(Description="The cover image url")]
        public virtual Uri CoverImage { get; set; }

        ///<summary>
        ///Show rating on the page
        ///</summary>
        [ApiMember(Description="Show rating on the page")]
        public virtual bool ShowRating { get; set; }

        ///<summary>
        ///The template for the homepage
        ///</summary>
        [ApiMember(Description="The template for the homepage")]
        public virtual int HomePageTemplateId { get; set; }

        ///<summary>
        ///The hero section style for the homepage
        ///</summary>
        [ApiMember(Description="The hero section style for the homepage")]
        public virtual int HeroSectionStyleId { get; set; }

        ///<summary>
        ///Enable the BokaMera Homepage
        ///</summary>
        [ApiMember(Description="Enable the BokaMera Homepage")]
        public virtual bool EnableHomepage { get; set; }
    }

    public partial class RatingReviewResponse
    {
        ///<summary>
        ///The title for the review
        ///</summary>
        [ApiMember(Description="The title for the review")]
        public virtual string Title { get; set; }

        ///<summary>
        ///The description for the review
        ///</summary>
        [ApiMember(Description="The description for the review")]
        public virtual string Description { get; set; }

        ///<summary>
        ///The rating score
        ///</summary>
        [ApiMember(Description="The rating score")]
        public virtual int RatingScore { get; set; }

        ///<summary>
        ///The review author
        ///</summary>
        [ApiMember(Description="The review author")]
        public virtual string Author { get; set; }

        ///<summary>
        ///The created date
        ///</summary>
        [ApiMember(Description="The created date")]
        public virtual DateTime Created { get; set; }

        ///<summary>
        ///The review answer from the company
        ///</summary>
        [ApiMember(Description="The review answer from the company")]
        public virtual string ReviewAnswer { get; set; }
    }

    public partial class UserFavorites
    {
        public virtual Guid CompanyId { get; set; }
        public virtual CompanyQueryResponse Company { get; set; }
    }

    public partial class UserProfileResponse
    {
        public virtual Guid Id { get; set; }
        public virtual string Firstname { get; set; }
        public virtual string Lastname { get; set; }
        public virtual string Phone { get; set; }
        public virtual string Email { get; set; }
    }

}

namespace BokaMera.CodeLock.Model.Api
{
    public enum CodeLockSystemType
    {
        Sample,
        RcoM5,
        AxemaVaka,
        VanderbiltOmnis,
        ParakeyParakey,
        AmidoDax,
        TelkeyTelkey,
        TechSolutionsSiedle,
        Accessy,
        Zesec,
        Enabla,
    }

}

C# CurrentUserQuery 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.

GET /users HTTP/1.1 
Host: api.bokamera.se 
Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<CurrentUserQueryResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BokaMera.API.ServiceModel.Dtos">
  <AdminProfile>
    <CompanyId>00000000-0000-0000-0000-000000000000</CompanyId>
    <Email>String</Email>
    <Firstname>String</Firstname>
    <Id>00000000-0000-0000-0000-000000000000</Id>
    <Lastname>String</Lastname>
    <Phone>String</Phone>
    <WorkerId>String</WorkerId>
  </AdminProfile>
  <CompanyCustomers>
    <CompanyCustomerResponse>
      <CompanyId>00000000-0000-0000-0000-000000000000</CompanyId>
      <CompanyName>String</CompanyName>
      <CustomFieldValues>
        <CustomFieldDataResponse>
          <Column>String</Column>
          <DataType>String</DataType>
          <Description>String</Description>
          <Id>0</Id>
          <Name>String</Name>
          <Value>String</Value>
        </CustomFieldDataResponse>
      </CustomFieldValues>
      <CustomerId>00000000-0000-0000-0000-000000000000</CustomerId>
      <SubscribedToNewsletter>false</SubscribedToNewsletter>
    </CompanyCustomerResponse>
  </CompanyCustomers>
  <CustomerProfile>
    <Email>String</Email>
    <Firstname>String</Firstname>
    <Id>00000000-0000-0000-0000-000000000000</Id>
    <Lastname>String</Lastname>
    <Phone>String</Phone>
  </CustomerProfile>
  <Favorites>
    <UserFavorites>
      <Company>
        <Active>false</Active>
        <BookingAgreements>String</BookingAgreements>
        <BookingSettings>
          <BookOnlyOnExistingCustomers>false</BookOnlyOnExistingCustomers>
          <BookingAgreement>String</BookingAgreement>
          <BookingReceiptMessage>String</BookingReceiptMessage>
          <EnableMobileApp>false</EnableMobileApp>
          <EnableShowBookedTimes>false</EnableShowBookedTimes>
          <PaymentEnabled>false</PaymentEnabled>
          <PaymentProviderId>0</PaymentProviderId>
          <ShowBookedTimes>false</ShowBookedTimes>
          <ShowFreeTimesLeft>false</ShowFreeTimesLeft>
          <WeekNumberSetting>0</WeekNumberSetting>
        </BookingSettings>
        <Category>String</Category>
        <CategoryId>0</CategoryId>
        <City>String</City>
        <CodeLockSystem>Sample</CodeLockSystem>
        <CountryId>String</CountryId>
        <CoverImage i:nil="true" />
        <Created>0001-01-01T00:00:00</Created>
        <CustomerCustomFields>
          <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>
        </CustomerCustomFields>
        <Details>String</Details>
        <Distance>0</Distance>
        <Email>String</Email>
        <Homepage>String</Homepage>
        <HomepageSettings>
          <AboutUsPageBody>String</AboutUsPageBody>
          <AboutUsPageHeading>String</AboutUsPageHeading>
          <CoverImage i:nil="true" />
          <EnableHomepage>false</EnableHomepage>
          <HeroSectionStyleId>0</HeroSectionStyleId>
          <HomePageTemplateId>0</HomePageTemplateId>
          <HomepageHeading>String</HomepageHeading>
          <ImageUrl i:nil="true" />
          <ShowRating>false</ShowRating>
          <WelcomePageBody>String</WelcomePageBody>
          <WelcomePageHeading>String</WelcomePageHeading>
        </HomepageSettings>
        <Id>00000000-0000-0000-0000-000000000000</Id>
        <IsFavorite>false</IsFavorite>
        <IsFreeAccount>false</IsFreeAccount>
        <Latitude>String</Latitude>
        <LogoType i:nil="true" />
        <Longitude>String</Longitude>
        <Name>String</Name>
        <OrganisationNumber>String</OrganisationNumber>
        <Phone>String</Phone>
        <RatingSummary>
          <AverageScore>0</AverageScore>
          <Count>0</Count>
          <RaingScore4Count>0</RaingScore4Count>
          <RatingScore1Count>0</RatingScore1Count>
          <RatingScore2Count>0</RatingScore2Count>
          <RatingScore3Count>0</RatingScore3Count>
          <RatingScore5Count>0</RatingScore5Count>
        </RatingSummary>
        <ResponseStatus xmlns:d5p1="http://schemas.servicestack.net/types">
          <d5p1:ErrorCode>String</d5p1:ErrorCode>
          <d5p1:Message>String</d5p1:Message>
          <d5p1:StackTrace>String</d5p1:StackTrace>
          <d5p1:Errors>
            <d5p1:ResponseError>
              <d5p1:ErrorCode>String</d5p1:ErrorCode>
              <d5p1:FieldName>String</d5p1:FieldName>
              <d5p1:Message>String</d5p1:Message>
              <d5p1:Meta xmlns:d8p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
                <d8p1:KeyValueOfstringstring>
                  <d8p1:Key>String</d8p1:Key>
                  <d8p1:Value>String</d8p1:Value>
                </d8p1:KeyValueOfstringstring>
              </d5p1:Meta>
            </d5p1:ResponseError>
          </d5p1:Errors>
          <d5p1:Meta xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
            <d6p1:KeyValueOfstringstring>
              <d6p1:Key>String</d6p1:Key>
              <d6p1:Value>String</d6p1:Value>
            </d6p1:KeyValueOfstringstring>
          </d5p1:Meta>
        </ResponseStatus>
        <Reviews>
          <RatingReviewResponse>
            <Author>String</Author>
            <Created>0001-01-01T00:00:00</Created>
            <Description>String</Description>
            <RatingScore>0</RatingScore>
            <ReviewAnswer>String</ReviewAnswer>
            <Title>String</Title>
          </RatingReviewResponse>
        </Reviews>
        <SitePath>String</SitePath>
        <StatusId>0</StatusId>
        <Street1>String</Street1>
        <Street2>String</Street2>
        <SystemSettings>
          <Active>false</Active>
          <DefaultLanguage>String</DefaultLanguage>
          <EnableAPITranslation>false</EnableAPITranslation>
          <FacebookPixelId>String</FacebookPixelId>
          <GATrackingId>String</GATrackingId>
          <GTMTrackingId>String</GTMTrackingId>
          <GoogleAdsConversionId>String</GoogleAdsConversionId>
          <GoogleAdsConversionLabel>String</GoogleAdsConversionLabel>
          <InactiveMessage>String</InactiveMessage>
          <LinkedinTagId>String</LinkedinTagId>
          <MultiLanguage>false</MultiLanguage>
          <Searchable>false</Searchable>
          <SendCustomerInformationToExternalProviders>false</SendCustomerInformationToExternalProviders>
          <ShowOnMarketplace>false</ShowOnMarketplace>
        </SystemSettings>
        <TypeId>0</TypeId>
        <Updated>0001-01-01T00:00:00</Updated>
        <WidgetSettings>
          <BookedTimeSlotText>String</BookedTimeSlotText>
          <BookingLayoutId>0</BookingLayoutId>
          <DarkTheme>false</DarkTheme>
          <PrimaryColor>String</PrimaryColor>
          <ServiceLayoutId>0</ServiceLayoutId>
          <ShowEndTime>false</ShowEndTime>
          <ShowNextAvailableTime>false</ShowNextAvailableTime>
          <ShowRebateCodeField>false</ShowRebateCodeField>
          <ShowServiceImage>false</ShowServiceImage>
          <ShowSubscribeToNewsletter>false</ShowSubscribeToNewsletter>
          <TimeLayoutId>0</TimeLayoutId>
        </WidgetSettings>
        <ZipCode>String</ZipCode>
      </Company>
      <CompanyId>00000000-0000-0000-0000-000000000000</CompanyId>
    </UserFavorites>
  </Favorites>
  <UserId>00000000-0000-0000-0000-000000000000</UserId>
  <UserProfile>
    <Email>String</Email>
    <Firstname>String</Firstname>
    <Id>00000000-0000-0000-0000-000000000000</Id>
    <Lastname>String</Lastname>
    <Phone>String</Phone>
  </UserProfile>
</CurrentUserQueryResponse>