| POST | /companies/ | Create new company | Create your company information. |
|---|
import Foundation
import ServiceStack
// @ApiResponse(Description="You were unauthorized to call this service", StatusCode=401)
public class CreateCompany : Codable
{
/**
*
*/
// @ApiMember(DataType="string", Description="", IsRequired=true)
public var name:String
/**
*
*/
// @ApiMember(DataType="string", Description="", IsRequired=true)
public var organisationNumber:String
/**
* What type of company. If it's used for personal use or as a company. 1 = Company use, 2 = Personal use
*/
// @ApiMember(DataType="int", Description="What type of company. If it's used for personal use or as a company. 1 = Company use, 2 = Personal use", IsRequired=true)
public var typeId:Int
/**
* What company owner. 1 = BokaMera (default)
*/
// @ApiMember(DataType="int", Description="What company owner. 1 = BokaMera (default)", IsRequired=true)
public var companyOwnerId:Int
/**
*
*/
// @ApiMember(DataType="string", Description="", IsRequired=true)
public var openingHours:String
/**
*
*/
// @ApiMember(DataType="string", Description="")
public var details:String
/**
*
*/
// @ApiMember(DataType="string", Description="", IsRequired=true)
public var categoryId:Int
/**
*
*/
// @ApiMember(DataType="uri", Description="", IsRequired=true)
public var logoType:Uri
/**
*
*/
// @ApiMember(DataType="string", Description="")
public var street1:String
/**
*
*/
// @ApiMember(DataType="string", Description="")
public var street2:String
/**
*
*/
// @ApiMember(DataType="string", Description="")
public var zipCode:String
/**
*
*/
// @ApiMember(DataType="string", Description="")
public var city:String
/**
*
*/
// @ApiMember(DataType="string", Description="")
public var countryId:String
/**
*
*/
// @ApiMember(DataType="string", Description="", IsRequired=true)
public var longitude:String
/**
*
*/
// @ApiMember(DataType="string", Description="")
public var latitude:String
/**
*
*/
// @ApiMember(DataType="string", Description="")
public var phone:String
/**
*
*/
// @ApiMember(DataType="string", Description="", IsRequired=true)
public var email:String
/**
*
*/
// @ApiMember(DataType="string", Description="")
public var fax:String
/**
*
*/
// @ApiMember(DataType="string", Description="")
public var homepage:String
/**
*
*/
// @ApiMember(DataType="string", Description="", IsRequired=true)
public var sitePath:String
/**
*
*/
// @ApiMember(Description="", IsRequired=true)
public var companyUser:CreateCompanyCompanyUser
public var billingInformation:CreateCompanyBillingInformation
/**
* Id of the license type. If none is set it's free license
*/
// @ApiMember(Description="Id of the license type. If none is set it's free license", IsRequired=true)
public var licenseTypeId:Int
/**
*
*/
// @ApiMember(DataType="string", Description="")
public var domainName:String
required public init(){}
}
public class CreateCompanyCompanyUser : Codable
{
// @ApiMember(IsRequired=true)
public var firstname:String
// @ApiMember(IsRequired=true)
public var lastname:String
// @ApiMember(IsRequired=true)
public var phone:String
// @ApiMember(IsRequired=true)
public var email:String
// @ApiMember()
public var workerId:Int?
required public init(){}
}
public class CreateCompanyBillingInformation : BillingInfoBase
{
/**
* The name that should be printed on the billing information, normally this would be your company name.
*/
// @ApiMember(Description="The name that should be printed on the billing information, normally this would be your company name.")
public var name:String
/**
* If you want to add the attention to the billing address.
*/
// @ApiMember(Description="If you want to add the attention to the billing address.")
public var attention:String
/**
* The street for the billing adress. This is required when having postal invoice as billing method.
*/
// @ApiMember(Description="The street for the billing adress. This is required when having postal invoice as billing method.")
public var street1:String
/**
* The street for the billing adress.
*/
// @ApiMember(Description="The street for the billing adress.")
public var street2:String
/**
* The zip code (postal code) for the billing adress. This is required when having postal invoice as billing method.
*/
// @ApiMember(Description="The zip code (postal code) for the billing adress. This is required when having postal invoice as billing method.")
public var zipCode:String
/**
* The city for the billing adress. This is required when having postal invoice as billing method.
*/
// @ApiMember(Description="The city for the billing adress. This is required when having postal invoice as billing method.")
public var city:String
/**
* The billing email. This is required when having email invoice as billing method.
*/
// @ApiMember(Description="The billing email. This is required when having email invoice as billing method.")
public var email:String
/**
* The billing payment terms in days. This is default 15 days.
*/
// @ApiMember(Description="The billing payment terms in days. This is default 15 days.")
public var paymentTermsDays:Int?
/**
* The company vat registration number.
*/
// @ApiMember(Description="The company vat registration number.")
public var vatRegistrationNumber:String
required public init(){ super.init() }
private enum CodingKeys : String, CodingKey {
case name
case attention
case street1
case street2
case zipCode
case city
case email
case paymentTermsDays
case vatRegistrationNumber
}
required public init(from decoder: Decoder) throws {
try super.init(from: decoder)
let container = try decoder.container(keyedBy: CodingKeys.self)
name = try container.decodeIfPresent(String.self, forKey: .name)
attention = try container.decodeIfPresent(String.self, forKey: .attention)
street1 = try container.decodeIfPresent(String.self, forKey: .street1)
street2 = try container.decodeIfPresent(String.self, forKey: .street2)
zipCode = try container.decodeIfPresent(String.self, forKey: .zipCode)
city = try container.decodeIfPresent(String.self, forKey: .city)
email = try container.decodeIfPresent(String.self, forKey: .email)
paymentTermsDays = try container.decodeIfPresent(Int.self, forKey: .paymentTermsDays)
vatRegistrationNumber = try container.decodeIfPresent(String.self, forKey: .vatRegistrationNumber)
}
public override func encode(to encoder: Encoder) throws {
try super.encode(to: encoder)
var container = encoder.container(keyedBy: CodingKeys.self)
if name != nil { try container.encode(name, forKey: .name) }
if attention != nil { try container.encode(attention, forKey: .attention) }
if street1 != nil { try container.encode(street1, forKey: .street1) }
if street2 != nil { try container.encode(street2, forKey: .street2) }
if zipCode != nil { try container.encode(zipCode, forKey: .zipCode) }
if city != nil { try container.encode(city, forKey: .city) }
if email != nil { try container.encode(email, forKey: .email) }
if paymentTermsDays != nil { try container.encode(paymentTermsDays, forKey: .paymentTermsDays) }
if vatRegistrationNumber != nil { try container.encode(vatRegistrationNumber, forKey: .vatRegistrationNumber) }
}
}
public class BillingInfoBase : IBillingInfo, Codable
{
public var firstName:String
public var lastName:String
public var phoneNumber:String
public var countryId:String
public var billingMethodId:Int
required public init(){}
}
public class CompanyQueryResponse : Codable
{
public var id:String
public var name:String
/**
* The organisation number will only be visible if you are the owner of the company.
*/
// @ApiMember(DataType="string", Description="The organisation number will only be visible if you are the owner of the company.")
public var organisationNumber:String
/**
* What type of company. If it's used for personal use or as a company.
*/
// @ApiMember(DataType="int", Description="What type of company. If it's used for personal use or as a company.")
public var typeId:Int?
public var details:String
public var categoryId:Int
public var category:String
public var logoType:Uri
public var coverImage:Uri
public var street1:String
public var street2:String
public var zipCode:String
public var city:String
public var countryId:String
public var longitude:String
public var latitude:String
public var distance:Double?
public var phone:String
public var email:String
public var homepage:String
public var sitePath:String
public var active:Bool
public var codeLockSystem:CodeLockSystemType?
public var isFreeAccount:Bool
/**
* Will show when the company was updated, note it will only be shown if your logged in as admin for the company.
*/
// @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 var updated:Date?
/**
* Will show when the company was created, note it will only be shown if your logged in as admin for the company.
*/
// @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 var created:Date?
public var statusId:Int
/**
* If the company is marked as favourite for the logged in user
*/
// @ApiMember(DataType="boolean", Description="If the company is marked as favourite for the logged in user")
public var isFavorite:Bool
public var bookingAgreements:String
public var bookingSettings:CompanyBookingSettings
public var systemSettings:CompanySystemSettings
public var widgetSettings:CompanyWidgetSettings
public var homepageSettings:HomepageSettingsResponse
public var ratingSummary:CompanyRatingSummary
public var reviews:[RatingReviewResponse] = []
public var customerCustomFields:[CustomFieldConfigData] = []
public var responseStatus:ResponseStatus
required public init(){}
}
public enum CodeLockSystemType : String, Codable
{
case Sample
case RcoM5
case AxemaVaka
case VanderbiltOmnis
case ParakeyParakey
case AmidoDax
case TelkeyTelkey
case TechSolutionsSiedle
case Accessy
case Zesec
case Enabla
}
public class CompanyBookingSettings : Codable
{
public var enableMobileApp:Bool
public var bookingReceiptMessage:String
public var showFreeTimesLeft:Bool
public var enableShowBookedTimes:Bool
public var bookingAgreement:String
/**
* The settings for how to display week number. 1 = ShowWeekNumberFromDate, 2 = ShowWeekNumberToDate, 3 = ShowWeekNumberFromToDate, 4 = DontShowWeekNumber
*/
// @ApiMember(DataType="int", Description="The settings for how to display week number. 1 = ShowWeekNumberFromDate, 2 = ShowWeekNumberToDate, 3 = ShowWeekNumberFromToDate, 4 = DontShowWeekNumber ")
public var weekNumberSetting:Int
public var showBookedTimes:Bool
/**
* The payment provider id. To get the full payment provider for the company call GET /payment/settings
*/
// @ApiMember(Description="The payment provider id. To get the full payment provider for the company call GET /payment/settings")
public var paymentProviderId:Int
/**
* If it's only allowed for existing customers to book
*/
// @ApiMember(DataType="boolean", Description="If it's only allowed for existing customers to book")
public var bookOnlyOnExistingCustomers:Bool
/**
* If payment is enabled
*/
// @ApiMember(DataType="boolean", Description="If payment is enabled")
public var paymentEnabled:Bool
public var bookingPinCodeRestriction:String
public var customerInvoiceAdressRequired:Bool
required public init(){}
}
public class CompanySystemSettings : Codable
{
/**
* If the booking is active or not
*/
// @ApiMember(DataType="bool", Description="If the booking is active or not")
public var active:Bool
/**
* If the booking is not active, what message to show to the customers
*/
// @ApiMember(DataType="string", Description="If the booking is not active, what message to show to the customers")
public var inactiveMessage:String
/**
* If the company should be visible in search results on homepage
*/
// @ApiMember(DataType="bool", Description="If the company should be visible in search results on homepage")
public var searchable:Bool
/**
* If you have a Google Analytics account and want to track your customers behaviors.
*/
// @ApiMember(DataType="string", Description="If you have a Google Analytics account and want to track your customers behaviors.")
public var gaTrackingId:String
/**
* If you have a Google Ads Conversion Id account and want to track your customers behaviors.
*/
// @ApiMember(DataType="string", Description="If you have a Google Ads Conversion Id account and want to track your customers behaviors.")
public var googleAdsConversionId:String
/**
* If you have a LinkedIn account and want to track your customers behaviors.
*/
// @ApiMember(DataType="string", Description="If you have a LinkedIn account and want to track your customers behaviors.")
public var linkedinTagId:String
/**
* If you have a Google Ads Conversion Label and want to track your customers behaviors.
*/
// @ApiMember(DataType="string", Description="If you have a Google Ads Conversion Label and want to track your customers behaviors.")
public var googleAdsConversionLabel:String
/**
* If you have a Google Tag Manager account and want to track your customers behaviors.
*/
// @ApiMember(DataType="string", Description="If you have a Google Tag Manager account and want to track your customers behaviors.")
public var gtmTrackingId:String
/**
* If you have a Facebook account and want to track your customers behaviors.
*/
// @ApiMember(DataType="string", Description="If you have a Facebook account and want to track your customers behaviors.")
public var facebookPixelId:String
/**
* If you want your customers to be able to change language on your homepage
*/
// @ApiMember(DataType="bool", Description="If you want your customers to be able to change language on your homepage")
public var multiLanguage:Bool
/**
* If the company should be visible on the marketplace
*/
// @ApiMember(DataType="bool", Description="If the company should be visible on the marketplace")
public var showOnMarketplace:Bool
/**
* If you want your own written text on your homepage to be translated using Google Translate when a user changes language
*/
// @ApiMember(DataType="bool", Description="If you want your own written text on your homepage to be translated using Google Translate when a user changes language")
public var enableAPITranslation:Bool
/**
* What is the standard language your homepage information is written in. Select from the different countries, i.e. SE,NO,EN
*/
// @ApiMember(DataType="string", Description="What is the standard language your homepage information is written in. Select from the different countries, i.e. SE,NO,EN")
public var defaultLanguage:String
/**
* 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.
*/
// @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 var sendCustomerInformationToExternalProviders:Bool
/**
* The maximum number of SMS messages that can be sent per day.
*/
// @ApiMember(Description="The maximum number of SMS messages that can be sent per day.")
public var smsMessageDailySendLimit:Int
/**
* The maximum number of email messages that can be sent per day.
*/
// @ApiMember(Description="The maximum number of email messages that can be sent per day.")
public var emailMessageDailySendLimit:Int
required public init(){}
}
public class CompanyWidgetSettings : Codable
{
/**
* The service layouts id.
*/
// @ApiMember(Description="The service layouts id.")
public var serviceLayoutId:Int
/**
* The time layouts id.
*/
// @ApiMember(Description="The time layouts id.")
public var timeLayoutId:Int
/**
* The booking layouts id.
*/
// @ApiMember(Description="The booking layouts id.")
public var bookingLayoutId:Int
/**
* The primary color of the booking widget.
*/
// @ApiMember(Description="The primary color of the booking widget.")
public var primaryColor:String
/**
* If you should show the service image in the booking widget.
*/
// @ApiMember(Description="If you should show the service image in the booking widget.")
public var showServiceImage:Bool
/**
* If you should show the rebate code field in the booking widget.
*/
// @ApiMember(Description="If you should show the rebate code field in the booking widget.")
public var showRebateCodeField:Bool
/**
* If you should show the next available time in the booking widget.
*/
// @ApiMember(Description="If you should show the next available time in the booking widget.")
public var showNextAvailableTime:Bool
/**
* If you should show the end time in the booking widget.
*/
// @ApiMember(Description="If you should show the end time in the booking widget.")
public var showEndTime:Bool
/**
* What text to show on booked time slots. Default text is Booked
*/
// @ApiMember(Description="What text to show on booked time slots. Default text is Booked")
public var bookedTimeSlotText:String
/**
* If the widget should be displayed in dark theme
*/
// @ApiMember(Description="If the widget should be displayed in dark theme")
public var darkTheme:Bool
/**
* If you should show the subscribe to newsletter checkbox in the booking widget.
*/
// @ApiMember(Description="If you should show the subscribe to newsletter checkbox in the booking widget.")
public var showSubscribeToNewsletter:Bool
required public init(){}
}
public class HomepageSettingsResponse : Codable
{
/**
* The text for homepage heading
*/
// @ApiMember(Description="The text for homepage heading")
public var homepageHeading:String
/**
* The text for homepage startpage heading
*/
// @ApiMember(Description="The text for homepage startpage heading")
public var welcomePageHeading:String
/**
* The text for homepage startpage body
*/
// @ApiMember(Description="The text for homepage startpage body")
public var welcomePageBody:String
/**
* The text for homepage about us page heading
*/
// @ApiMember(Description="The text for homepage about us page heading")
public var aboutUsPageHeading:String
/**
* The text for homepage about us page body
*/
// @ApiMember(Description="The text for homepage about us page body")
public var aboutUsPageBody:String
/**
* The startpage image url
*/
// @ApiMember(Description="The startpage image url")
public var imageUrl:Uri
/**
* The cover image url
*/
// @ApiMember(Description="The cover image url")
public var coverImage:Uri
/**
* Show rating on the page
*/
// @ApiMember(Description="Show rating on the page")
public var showRating:Bool
/**
* The template for the homepage
*/
// @ApiMember(Description="The template for the homepage")
public var homePageTemplateId:Int
/**
* The hero section style for the homepage
*/
// @ApiMember(Description="The hero section style for the homepage")
public var heroSectionStyleId:Int
/**
* Enable the BokaMera Homepage
*/
// @ApiMember(Description="Enable the BokaMera Homepage")
public var enableHomepage:Bool
required public init(){}
}
public class CompanyRatingSummary : Codable
{
/**
* The average rating score
*/
// @ApiMember(Description="The average rating score")
public var averageScore:Double
/**
* The number of ratings of score 1
*/
// @ApiMember(Description="The number of ratings of score 1")
public var ratingScore1Count:Int
/**
* The number of ratings of score 2
*/
// @ApiMember(Description="The number of ratings of score 2")
public var ratingScore2Count:Int
/**
* The number of ratings of score 3
*/
// @ApiMember(Description="The number of ratings of score 3")
public var ratingScore3Count:Int
/**
* The number of ratings of score 4
*/
// @ApiMember(Description="The number of ratings of score 4")
public var raingScore4Count:Int
/**
* The number of ratings of score 5
*/
// @ApiMember(Description="The number of ratings of score 5")
public var ratingScore5Count:Int
/**
* The number of ratings
*/
// @ApiMember(Description="The number of ratings")
public var count:Int
required public init(){}
}
public class RatingReviewResponse : Codable
{
/**
* The title for the review
*/
// @ApiMember(Description="The title for the review")
public var title:String
/**
* The description for the review
*/
// @ApiMember(Description="The description for the review")
public var Description:String
/**
* The rating score
*/
// @ApiMember(Description="The rating score")
public var ratingScore:Int
/**
* The review author
*/
// @ApiMember(Description="The review author")
public var author:String
/**
* The created date
*/
// @ApiMember(Description="The created date")
public var created:Date
/**
* The review answer from the company
*/
// @ApiMember(Description="The review answer from the company")
public var reviewAnswer:String
required public init(){}
}
public class CustomFieldConfigData : Codable
{
/**
* Custom field id
*/
// @ApiMember(Description="Custom field id")
public var id:Int
/**
* Configuration name. Example: 'Number of persons'.
*/
// @ApiMember(Description="Configuration name. Example: 'Number of persons'.")
public var name:String
/**
* 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 var Description:String
/**
* Field width. Example: 20 for 20px
*/
// @ApiMember(Description="Field width. Example: 20 for 20px")
public var width:Int?
/**
* 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 var dataType:String
/**
* Default value of the field. Example: '3'
*/
// @ApiMember(Description="Default value of the field. Example: '3'")
public var defaultValue:String
/**
* 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 var isMandatory:Bool
/**
* 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 var mandatoryErrorMessage:String
/**
* Max lenght of the field
*/
// @ApiMember(Description="Max lenght of the field")
public var maxLength:Int
/**
* If the field should have multiple lines
*/
// @ApiMember(Description="If the field should have multiple lines")
public var multipleLineText:Bool
/**
* Regular expression used for validation of the field
*/
// @ApiMember(Description="Regular expression used for validation of the field")
public var regEx:String
/**
* Error message shown if the regular expression validation failed
*/
// @ApiMember(Description="Error message shown if the regular expression validation failed")
public var regExErrorMessage:String
/**
* 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 var values:[CustomFieldValueResponse] = []
required public init(){}
}
public class CustomFieldValueResponse : Codable
{
public var value:String
required public init(){}
}
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /companies/ HTTP/1.1
Host: api.bokamera.se
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<CreateCompany xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BokaMera.API.ServiceModel.Dtos">
<BillingInformation>
<BillingMethodId xmlns="http://schemas.datacontract.org/2004/07/BokaMera.API.ServiceModel.Dtos.Commons">0</BillingMethodId>
<CountryId xmlns="http://schemas.datacontract.org/2004/07/BokaMera.API.ServiceModel.Dtos.Commons">String</CountryId>
<FirstName xmlns="http://schemas.datacontract.org/2004/07/BokaMera.API.ServiceModel.Dtos.Commons">String</FirstName>
<LastName xmlns="http://schemas.datacontract.org/2004/07/BokaMera.API.ServiceModel.Dtos.Commons">String</LastName>
<PhoneNumber xmlns="http://schemas.datacontract.org/2004/07/BokaMera.API.ServiceModel.Dtos.Commons">String</PhoneNumber>
<Attention>String</Attention>
<City>String</City>
<Email>String</Email>
<Name>String</Name>
<PaymentTermsDays>0</PaymentTermsDays>
<Street1>String</Street1>
<Street2>String</Street2>
<VatRegistrationNumber>String</VatRegistrationNumber>
<ZipCode>String</ZipCode>
</BillingInformation>
<CategoryId>0</CategoryId>
<City>String</City>
<CompanyOwnerId>0</CompanyOwnerId>
<CompanyUser>
<Email>String</Email>
<Firstname>String</Firstname>
<Lastname>String</Lastname>
<Phone>String</Phone>
<WorkerId>0</WorkerId>
</CompanyUser>
<CountryId>String</CountryId>
<Details>String</Details>
<DomainName>String</DomainName>
<Email>String</Email>
<Fax>String</Fax>
<Homepage>String</Homepage>
<Latitude>String</Latitude>
<LicenseTypeId>0</LicenseTypeId>
<LogoType i:nil="true" />
<Longitude>String</Longitude>
<Name>String</Name>
<OpeningHours>String</OpeningHours>
<OrganisationNumber>String</OrganisationNumber>
<Phone>String</Phone>
<SitePath>String</SitePath>
<Street1>String</Street1>
<Street2>String</Street2>
<TypeId>0</TypeId>
<ZipCode>String</ZipCode>
</CreateCompany>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<CompanyQueryResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BokaMera.API.ServiceModel.Dtos">
<Active>false</Active>
<BookingAgreements>String</BookingAgreements>
<BookingSettings>
<BookOnlyOnExistingCustomers>false</BookOnlyOnExistingCustomers>
<BookingAgreement>String</BookingAgreement>
<BookingPinCodeRestriction>String</BookingPinCodeRestriction>
<BookingReceiptMessage>String</BookingReceiptMessage>
<CustomerInvoiceAdressRequired>false</CustomerInvoiceAdressRequired>
<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: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>
<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>
<EmailMessageDailySendLimit>0</EmailMessageDailySendLimit>
<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>
<SMSMessageDailySendLimit>0</SMSMessageDailySendLimit>
<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>
</CompanyQueryResponse>