Required role: | API |
All Verbs | /api/Query/BranchGetBranches |
---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
import com.google.gson.annotations.*;
import com.google.gson.reflect.*;
public class dtos
{
@AutoQueryViewer(Description="", IconUrl="octicon:database", Title="BranchGetBranches")
public static class ViewBranchGetBranches extends QueryDb<BranchGetBranchesInstance>
{
}
public static class QueryDb<T> extends QueryBase
{
}
@DataContract
public static class QueryBase
{
@DataMember(Order=1)
public Integer Skip = null;
@DataMember(Order=2)
public Integer Take = null;
@DataMember(Order=3)
public String OrderBy = null;
@DataMember(Order=4)
public String OrderByDesc = null;
@DataMember(Order=5)
public String Include = null;
@DataMember(Order=6)
public String Fields = null;
@DataMember(Order=7)
public HashMap<String,String> Meta = null;
public Integer getSkip() { return Skip; }
public QueryBase setSkip(Integer value) { this.Skip = value; return this; }
public Integer getTake() { return Take; }
public QueryBase setTake(Integer value) { this.Take = value; return this; }
public String getOrderBy() { return OrderBy; }
public QueryBase setOrderBy(String value) { this.OrderBy = value; return this; }
public String getOrderByDesc() { return OrderByDesc; }
public QueryBase setOrderByDesc(String value) { this.OrderByDesc = value; return this; }
public String getInclude() { return Include; }
public QueryBase setInclude(String value) { this.Include = value; return this; }
public String getFields() { return Fields; }
public QueryBase setFields(String value) { this.Fields = value; return this; }
public HashMap<String,String> getMeta() { return Meta; }
public QueryBase setMeta(HashMap<String,String> value) { this.Meta = value; return this; }
}
public static class BranchGetBranchesInstance
{
public Integer BranchType = null;
public String Name = null;
public String Prefix = null;
public String CompanyName = null;
public String CompanyAddress = null;
public String CompanyOfficialName = null;
public String DirectDebitReference = null;
public String FastDDReference = null;
public String FastDDPlatinumRef = null;
public String Style = null;
public Date PaymentStartDate = null;
public UUID PublicKey = null;
public Date TrialStart = null;
public Date TrialEnd = null;
public Boolean InTrial = null;
public Boolean UseMembershipTypes = null;
public String DDUserName = null;
public String DDPassword = null;
public String DDServiceUser = null;
public String DfcUserName = null;
public String DfcPassword = null;
public String DfcClubNumber = null;
public String CompanyEmail = null;
public String SmsOriginator = null;
public Integer LanguageId = null;
public BigDecimal VatRate = null;
public Integer SwipeAction = null;
public Integer Modules = null;
public Boolean UseFreeText = null;
public String FreeTextTitle = null;
public String TimeZone = null;
public Boolean UseCreditBalance = null;
public Boolean AllowNegativeBalance = null;
public BigDecimal DefaultCreditLimit = null;
public Integer ApplicationType = null;
public String ExternalProviderWarning = null;
public String Domain = null;
public String MobileDomain = null;
public Integer OnlineBookingTimetableLimit = null;
public Integer OnlineBookingCancellationLimit = null;
public Integer Feature = null;
public Boolean ShowGoCardlessAd = null;
public BigDecimal ProviderSaving = null;
public String SROAddress = null;
public String Telephone = null;
public String MCAClubNo = null;
public Boolean Transferred = null;
public Boolean OnlineBookingAllowNonActives = null;
public Integer MemberLimit = null;
public String SortCode = null;
public String AccountNumber = null;
public Boolean SendSMSAppointmentRemindersDefault = null;
public Boolean SendSMSBookingReminders = null;
public String Website = null;
public Boolean GiftAid = null;
public TimeSpan GlobalBookingStartTime = null;
public TimeSpan GlobalBookingEndTime = null;
public Integer BookingMinuteIncrements = null;
public String CancelReason = null;
public String CancelFurther = null;
public Date CancelDate = null;
public String TwilioNumber = null;
public BigDecimal CreditCardFee = null;
public BigDecimal DirectDebitFee = null;
public String Culture = null;
public Boolean BookingsPayLinkOnTrack = null;
public Integer AccessControlTimeLimit = null;
public Integer Minimiser = null;
public Boolean AutoGenerateLicenses = null;
public String Terms = null;
public Integer FingerprintThreshold = null;
public Integer FingerprintMatcherThreshold = null;
public String CurrencyCulture = null;
public Boolean AutoShutoff = null;
public String PrimaryColors = null;
public byte[] Logo = null;
public Integer ReportFormat = null;
public String Country = null;
public BigDecimal SMSPriceAdjustment = null;
public String LogoHash = null;
public Boolean FixPayments = null;
public String FixPaymentSchedle = null;
public Integer AppFeature = null;
public String AppOptions = null;
public String CompanyDescription = null;
public Integer Capacity = null;
public Integer SignInScreenFeature = null;
public Integer BookingAccessTimeLimit = null;
public Boolean DeductSessionsOnBooking = null;
public Integer MonthlySalesTarget = null;
public Boolean ShowTrustedBranchBookings = null;
public String Facebook = null;
public String Twitter = null;
public String Instagram = null;
public String YouTube = null;
public String TikTok = null;
public String Shopify = null;
public Integer MinimumMemberAge = null;
public Integer UsingPaymentMethods = null;
public Date TermsAndConditionsVersionDate = null;
public Date TermsAndConditionsAcceptedDate = null;
public Boolean SendMarketingInviteWhenMemberAdded = null;
public Boolean SendMarketingInviteWhenMemberJoinedOnline = null;
public Boolean MarketingComplianceManagedExternally = null;
public Boolean OnlineBookingAllowWaitingList = null;
public Boolean OnlineMultiSiteEnabled = null;
public Integer OnlineBookingLimit = null;
public Integer PublicMembershipTypes = null;
public Integer TrustedBranches = null;
public Integer ScoreBranchId = null;
public String iOSAppLink = null;
public String AndroidAppLink = null;
public Integer getBranchType() { return BranchType; }
public BranchGetBranchesInstance setBranchType(Integer value) { this.BranchType = value; return this; }
public String getName() { return Name; }
public BranchGetBranchesInstance setName(String value) { this.Name = value; return this; }
public String getPrefix() { return Prefix; }
public BranchGetBranchesInstance setPrefix(String value) { this.Prefix = value; return this; }
public String getCompanyName() { return CompanyName; }
public BranchGetBranchesInstance setCompanyName(String value) { this.CompanyName = value; return this; }
public String getCompanyAddress() { return CompanyAddress; }
public BranchGetBranchesInstance setCompanyAddress(String value) { this.CompanyAddress = value; return this; }
public String getCompanyOfficialName() { return CompanyOfficialName; }
public BranchGetBranchesInstance setCompanyOfficialName(String value) { this.CompanyOfficialName = value; return this; }
public String getDirectDebitReference() { return DirectDebitReference; }
public BranchGetBranchesInstance setDirectDebitReference(String value) { this.DirectDebitReference = value; return this; }
public String getFastDDReference() { return FastDDReference; }
public BranchGetBranchesInstance setFastDDReference(String value) { this.FastDDReference = value; return this; }
public String getFastDDPlatinumRef() { return FastDDPlatinumRef; }
public BranchGetBranchesInstance setFastDDPlatinumRef(String value) { this.FastDDPlatinumRef = value; return this; }
public String getStyle() { return Style; }
public BranchGetBranchesInstance setStyle(String value) { this.Style = value; return this; }
public Date getPaymentStartDate() { return PaymentStartDate; }
public BranchGetBranchesInstance setPaymentStartDate(Date value) { this.PaymentStartDate = value; return this; }
public UUID getPublicKey() { return PublicKey; }
public BranchGetBranchesInstance setPublicKey(UUID value) { this.PublicKey = value; return this; }
public Date getTrialStart() { return TrialStart; }
public BranchGetBranchesInstance setTrialStart(Date value) { this.TrialStart = value; return this; }
public Date getTrialEnd() { return TrialEnd; }
public BranchGetBranchesInstance setTrialEnd(Date value) { this.TrialEnd = value; return this; }
public Boolean isInTrial() { return InTrial; }
public BranchGetBranchesInstance setInTrial(Boolean value) { this.InTrial = value; return this; }
public Boolean isUseMembershipTypes() { return UseMembershipTypes; }
public BranchGetBranchesInstance setUseMembershipTypes(Boolean value) { this.UseMembershipTypes = value; return this; }
public String getDdUserName() { return DDUserName; }
public BranchGetBranchesInstance setDdUserName(String value) { this.DDUserName = value; return this; }
public String getDdPassword() { return DDPassword; }
public BranchGetBranchesInstance setDdPassword(String value) { this.DDPassword = value; return this; }
public String getDdServiceUser() { return DDServiceUser; }
public BranchGetBranchesInstance setDdServiceUser(String value) { this.DDServiceUser = value; return this; }
public String getDfcUserName() { return DfcUserName; }
public BranchGetBranchesInstance setDfcUserName(String value) { this.DfcUserName = value; return this; }
public String getDfcPassword() { return DfcPassword; }
public BranchGetBranchesInstance setDfcPassword(String value) { this.DfcPassword = value; return this; }
public String getDfcClubNumber() { return DfcClubNumber; }
public BranchGetBranchesInstance setDfcClubNumber(String value) { this.DfcClubNumber = value; return this; }
public String getCompanyEmail() { return CompanyEmail; }
public BranchGetBranchesInstance setCompanyEmail(String value) { this.CompanyEmail = value; return this; }
public String getSmsOriginator() { return SmsOriginator; }
public BranchGetBranchesInstance setSmsOriginator(String value) { this.SmsOriginator = value; return this; }
public Integer getLanguageId() { return LanguageId; }
public BranchGetBranchesInstance setLanguageId(Integer value) { this.LanguageId = value; return this; }
public BigDecimal getVatRate() { return VatRate; }
public BranchGetBranchesInstance setVatRate(BigDecimal value) { this.VatRate = value; return this; }
public Integer getSwipeAction() { return SwipeAction; }
public BranchGetBranchesInstance setSwipeAction(Integer value) { this.SwipeAction = value; return this; }
public Integer getModules() { return Modules; }
public BranchGetBranchesInstance setModules(Integer value) { this.Modules = value; return this; }
public Boolean isUseFreeText() { return UseFreeText; }
public BranchGetBranchesInstance setUseFreeText(Boolean value) { this.UseFreeText = value; return this; }
public String getFreeTextTitle() { return FreeTextTitle; }
public BranchGetBranchesInstance setFreeTextTitle(String value) { this.FreeTextTitle = value; return this; }
public String getTimeZone() { return TimeZone; }
public BranchGetBranchesInstance setTimeZone(String value) { this.TimeZone = value; return this; }
public Boolean isUseCreditBalance() { return UseCreditBalance; }
public BranchGetBranchesInstance setUseCreditBalance(Boolean value) { this.UseCreditBalance = value; return this; }
public Boolean isAllowNegativeBalance() { return AllowNegativeBalance; }
public BranchGetBranchesInstance setAllowNegativeBalance(Boolean value) { this.AllowNegativeBalance = value; return this; }
public BigDecimal getDefaultCreditLimit() { return DefaultCreditLimit; }
public BranchGetBranchesInstance setDefaultCreditLimit(BigDecimal value) { this.DefaultCreditLimit = value; return this; }
public Integer getApplicationType() { return ApplicationType; }
public BranchGetBranchesInstance setApplicationType(Integer value) { this.ApplicationType = value; return this; }
public String getExternalProviderWarning() { return ExternalProviderWarning; }
public BranchGetBranchesInstance setExternalProviderWarning(String value) { this.ExternalProviderWarning = value; return this; }
public String getDomain() { return Domain; }
public BranchGetBranchesInstance setDomain(String value) { this.Domain = value; return this; }
public String getMobileDomain() { return MobileDomain; }
public BranchGetBranchesInstance setMobileDomain(String value) { this.MobileDomain = value; return this; }
public Integer getOnlineBookingTimetableLimit() { return OnlineBookingTimetableLimit; }
public BranchGetBranchesInstance setOnlineBookingTimetableLimit(Integer value) { this.OnlineBookingTimetableLimit = value; return this; }
public Integer getOnlineBookingCancellationLimit() { return OnlineBookingCancellationLimit; }
public BranchGetBranchesInstance setOnlineBookingCancellationLimit(Integer value) { this.OnlineBookingCancellationLimit = value; return this; }
public Integer getFeature() { return Feature; }
public BranchGetBranchesInstance setFeature(Integer value) { this.Feature = value; return this; }
public Boolean isShowGoCardlessAd() { return ShowGoCardlessAd; }
public BranchGetBranchesInstance setShowGoCardlessAd(Boolean value) { this.ShowGoCardlessAd = value; return this; }
public BigDecimal getProviderSaving() { return ProviderSaving; }
public BranchGetBranchesInstance setProviderSaving(BigDecimal value) { this.ProviderSaving = value; return this; }
public String getSroAddress() { return SROAddress; }
public BranchGetBranchesInstance setSroAddress(String value) { this.SROAddress = value; return this; }
public String getTelephone() { return Telephone; }
public BranchGetBranchesInstance setTelephone(String value) { this.Telephone = value; return this; }
public String getMcaClubNo() { return MCAClubNo; }
public BranchGetBranchesInstance setMcaClubNo(String value) { this.MCAClubNo = value; return this; }
public Boolean isTransferred() { return Transferred; }
public BranchGetBranchesInstance setTransferred(Boolean value) { this.Transferred = value; return this; }
public Boolean isOnlineBookingAllowNonActives() { return OnlineBookingAllowNonActives; }
public BranchGetBranchesInstance setOnlineBookingAllowNonActives(Boolean value) { this.OnlineBookingAllowNonActives = value; return this; }
public Integer getMemberLimit() { return MemberLimit; }
public BranchGetBranchesInstance setMemberLimit(Integer value) { this.MemberLimit = value; return this; }
public String getSortCode() { return SortCode; }
public BranchGetBranchesInstance setSortCode(String value) { this.SortCode = value; return this; }
public String getAccountNumber() { return AccountNumber; }
public BranchGetBranchesInstance setAccountNumber(String value) { this.AccountNumber = value; return this; }
public Boolean isSendSMSAppointmentRemindersDefault() { return SendSMSAppointmentRemindersDefault; }
public BranchGetBranchesInstance setSendSMSAppointmentRemindersDefault(Boolean value) { this.SendSMSAppointmentRemindersDefault = value; return this; }
public Boolean isSendSMSBookingReminders() { return SendSMSBookingReminders; }
public BranchGetBranchesInstance setSendSMSBookingReminders(Boolean value) { this.SendSMSBookingReminders = value; return this; }
public String getWebsite() { return Website; }
public BranchGetBranchesInstance setWebsite(String value) { this.Website = value; return this; }
public Boolean isGiftAid() { return GiftAid; }
public BranchGetBranchesInstance setGiftAid(Boolean value) { this.GiftAid = value; return this; }
public TimeSpan getGlobalBookingStartTime() { return GlobalBookingStartTime; }
public BranchGetBranchesInstance setGlobalBookingStartTime(TimeSpan value) { this.GlobalBookingStartTime = value; return this; }
public TimeSpan getGlobalBookingEndTime() { return GlobalBookingEndTime; }
public BranchGetBranchesInstance setGlobalBookingEndTime(TimeSpan value) { this.GlobalBookingEndTime = value; return this; }
public Integer getBookingMinuteIncrements() { return BookingMinuteIncrements; }
public BranchGetBranchesInstance setBookingMinuteIncrements(Integer value) { this.BookingMinuteIncrements = value; return this; }
public String getCancelReason() { return CancelReason; }
public BranchGetBranchesInstance setCancelReason(String value) { this.CancelReason = value; return this; }
public String getCancelFurther() { return CancelFurther; }
public BranchGetBranchesInstance setCancelFurther(String value) { this.CancelFurther = value; return this; }
public Date getCancelDate() { return CancelDate; }
public BranchGetBranchesInstance setCancelDate(Date value) { this.CancelDate = value; return this; }
public String getTwilioNumber() { return TwilioNumber; }
public BranchGetBranchesInstance setTwilioNumber(String value) { this.TwilioNumber = value; return this; }
public BigDecimal getCreditCardFee() { return CreditCardFee; }
public BranchGetBranchesInstance setCreditCardFee(BigDecimal value) { this.CreditCardFee = value; return this; }
public BigDecimal getDirectDebitFee() { return DirectDebitFee; }
public BranchGetBranchesInstance setDirectDebitFee(BigDecimal value) { this.DirectDebitFee = value; return this; }
public String getCulture() { return Culture; }
public BranchGetBranchesInstance setCulture(String value) { this.Culture = value; return this; }
public Boolean isBookingsPayLinkOnTrack() { return BookingsPayLinkOnTrack; }
public BranchGetBranchesInstance setBookingsPayLinkOnTrack(Boolean value) { this.BookingsPayLinkOnTrack = value; return this; }
public Integer getAccessControlTimeLimit() { return AccessControlTimeLimit; }
public BranchGetBranchesInstance setAccessControlTimeLimit(Integer value) { this.AccessControlTimeLimit = value; return this; }
public Integer getMinimiser() { return Minimiser; }
public BranchGetBranchesInstance setMinimiser(Integer value) { this.Minimiser = value; return this; }
public Boolean isAutoGenerateLicenses() { return AutoGenerateLicenses; }
public BranchGetBranchesInstance setAutoGenerateLicenses(Boolean value) { this.AutoGenerateLicenses = value; return this; }
public String getTerms() { return Terms; }
public BranchGetBranchesInstance setTerms(String value) { this.Terms = value; return this; }
public Integer getFingerprintThreshold() { return FingerprintThreshold; }
public BranchGetBranchesInstance setFingerprintThreshold(Integer value) { this.FingerprintThreshold = value; return this; }
public Integer getFingerprintMatcherThreshold() { return FingerprintMatcherThreshold; }
public BranchGetBranchesInstance setFingerprintMatcherThreshold(Integer value) { this.FingerprintMatcherThreshold = value; return this; }
public String getCurrencyCulture() { return CurrencyCulture; }
public BranchGetBranchesInstance setCurrencyCulture(String value) { this.CurrencyCulture = value; return this; }
public Boolean isAutoShutoff() { return AutoShutoff; }
public BranchGetBranchesInstance setAutoShutoff(Boolean value) { this.AutoShutoff = value; return this; }
public String getPrimaryColors() { return PrimaryColors; }
public BranchGetBranchesInstance setPrimaryColors(String value) { this.PrimaryColors = value; return this; }
public byte[] getLogo() { return Logo; }
public BranchGetBranchesInstance setLogo(byte[] value) { this.Logo = value; return this; }
public Integer getReportFormat() { return ReportFormat; }
public BranchGetBranchesInstance setReportFormat(Integer value) { this.ReportFormat = value; return this; }
public String getCountry() { return Country; }
public BranchGetBranchesInstance setCountry(String value) { this.Country = value; return this; }
public BigDecimal getSmsPriceAdjustment() { return SMSPriceAdjustment; }
public BranchGetBranchesInstance setSmsPriceAdjustment(BigDecimal value) { this.SMSPriceAdjustment = value; return this; }
public String getLogoHash() { return LogoHash; }
public BranchGetBranchesInstance setLogoHash(String value) { this.LogoHash = value; return this; }
public Boolean isFixPayments() { return FixPayments; }
public BranchGetBranchesInstance setFixPayments(Boolean value) { this.FixPayments = value; return this; }
public String getFixPaymentSchedle() { return FixPaymentSchedle; }
public BranchGetBranchesInstance setFixPaymentSchedle(String value) { this.FixPaymentSchedle = value; return this; }
public Integer getAppFeature() { return AppFeature; }
public BranchGetBranchesInstance setAppFeature(Integer value) { this.AppFeature = value; return this; }
public String getAppOptions() { return AppOptions; }
public BranchGetBranchesInstance setAppOptions(String value) { this.AppOptions = value; return this; }
public String getCompanyDescription() { return CompanyDescription; }
public BranchGetBranchesInstance setCompanyDescription(String value) { this.CompanyDescription = value; return this; }
public Integer getCapacity() { return Capacity; }
public BranchGetBranchesInstance setCapacity(Integer value) { this.Capacity = value; return this; }
public Integer getSignInScreenFeature() { return SignInScreenFeature; }
public BranchGetBranchesInstance setSignInScreenFeature(Integer value) { this.SignInScreenFeature = value; return this; }
public Integer getBookingAccessTimeLimit() { return BookingAccessTimeLimit; }
public BranchGetBranchesInstance setBookingAccessTimeLimit(Integer value) { this.BookingAccessTimeLimit = value; return this; }
public Boolean isDeductSessionsOnBooking() { return DeductSessionsOnBooking; }
public BranchGetBranchesInstance setDeductSessionsOnBooking(Boolean value) { this.DeductSessionsOnBooking = value; return this; }
public Integer getMonthlySalesTarget() { return MonthlySalesTarget; }
public BranchGetBranchesInstance setMonthlySalesTarget(Integer value) { this.MonthlySalesTarget = value; return this; }
public Boolean isShowTrustedBranchBookings() { return ShowTrustedBranchBookings; }
public BranchGetBranchesInstance setShowTrustedBranchBookings(Boolean value) { this.ShowTrustedBranchBookings = value; return this; }
public String getFacebook() { return Facebook; }
public BranchGetBranchesInstance setFacebook(String value) { this.Facebook = value; return this; }
public String getTwitter() { return Twitter; }
public BranchGetBranchesInstance setTwitter(String value) { this.Twitter = value; return this; }
public String getInstagram() { return Instagram; }
public BranchGetBranchesInstance setInstagram(String value) { this.Instagram = value; return this; }
public String getYouTube() { return YouTube; }
public BranchGetBranchesInstance setYouTube(String value) { this.YouTube = value; return this; }
public String getTikTok() { return TikTok; }
public BranchGetBranchesInstance setTikTok(String value) { this.TikTok = value; return this; }
public String getShopify() { return Shopify; }
public BranchGetBranchesInstance setShopify(String value) { this.Shopify = value; return this; }
public Integer getMinimumMemberAge() { return MinimumMemberAge; }
public BranchGetBranchesInstance setMinimumMemberAge(Integer value) { this.MinimumMemberAge = value; return this; }
public Integer getUsingPaymentMethods() { return UsingPaymentMethods; }
public BranchGetBranchesInstance setUsingPaymentMethods(Integer value) { this.UsingPaymentMethods = value; return this; }
public Date getTermsAndConditionsVersionDate() { return TermsAndConditionsVersionDate; }
public BranchGetBranchesInstance setTermsAndConditionsVersionDate(Date value) { this.TermsAndConditionsVersionDate = value; return this; }
public Date getTermsAndConditionsAcceptedDate() { return TermsAndConditionsAcceptedDate; }
public BranchGetBranchesInstance setTermsAndConditionsAcceptedDate(Date value) { this.TermsAndConditionsAcceptedDate = value; return this; }
public Boolean isSendMarketingInviteWhenMemberAdded() { return SendMarketingInviteWhenMemberAdded; }
public BranchGetBranchesInstance setSendMarketingInviteWhenMemberAdded(Boolean value) { this.SendMarketingInviteWhenMemberAdded = value; return this; }
public Boolean isSendMarketingInviteWhenMemberJoinedOnline() { return SendMarketingInviteWhenMemberJoinedOnline; }
public BranchGetBranchesInstance setSendMarketingInviteWhenMemberJoinedOnline(Boolean value) { this.SendMarketingInviteWhenMemberJoinedOnline = value; return this; }
public Boolean isMarketingComplianceManagedExternally() { return MarketingComplianceManagedExternally; }
public BranchGetBranchesInstance setMarketingComplianceManagedExternally(Boolean value) { this.MarketingComplianceManagedExternally = value; return this; }
public Boolean isOnlineBookingAllowWaitingList() { return OnlineBookingAllowWaitingList; }
public BranchGetBranchesInstance setOnlineBookingAllowWaitingList(Boolean value) { this.OnlineBookingAllowWaitingList = value; return this; }
public Boolean isOnlineMultiSiteEnabled() { return OnlineMultiSiteEnabled; }
public BranchGetBranchesInstance setOnlineMultiSiteEnabled(Boolean value) { this.OnlineMultiSiteEnabled = value; return this; }
public Integer getOnlineBookingLimit() { return OnlineBookingLimit; }
public BranchGetBranchesInstance setOnlineBookingLimit(Integer value) { this.OnlineBookingLimit = value; return this; }
public Integer getPublicMembershipTypes() { return PublicMembershipTypes; }
public BranchGetBranchesInstance setPublicMembershipTypes(Integer value) { this.PublicMembershipTypes = value; return this; }
public Integer getTrustedBranches() { return TrustedBranches; }
public BranchGetBranchesInstance setTrustedBranches(Integer value) { this.TrustedBranches = value; return this; }
public Integer getScoreBranchId() { return ScoreBranchId; }
public BranchGetBranchesInstance setScoreBranchId(Integer value) { this.ScoreBranchId = value; return this; }
public String getIOSAppLink() { return iOSAppLink; }
public BranchGetBranchesInstance setIOSAppLink(String value) { this.iOSAppLink = value; return this; }
public String getAndroidAppLink() { return AndroidAppLink; }
public BranchGetBranchesInstance setAndroidAppLink(String value) { this.AndroidAppLink = value; return this; }
}
@DataContract
public static class QueryResponse<T>
{
@DataMember(Order=1)
public Integer Offset = null;
@DataMember(Order=2)
public Integer Total = null;
@DataMember(Order=3)
public ArrayList<T> Results = null;
@DataMember(Order=4)
public HashMap<String,String> Meta = null;
@DataMember(Order=5)
public ResponseStatus ResponseStatus = null;
public Integer getOffset() { return Offset; }
public QueryResponse<T> setOffset(Integer value) { this.Offset = value; return this; }
public Integer getTotal() { return Total; }
public QueryResponse<T> setTotal(Integer value) { this.Total = value; return this; }
public ArrayList<T> getResults() { return Results; }
public QueryResponse<T> setResults(ArrayList<T> value) { this.Results = value; return this; }
public HashMap<String,String> getMeta() { return Meta; }
public QueryResponse<T> setMeta(HashMap<String,String> value) { this.Meta = value; return this; }
public ResponseStatus getResponseStatus() { return ResponseStatus; }
public QueryResponse<T> setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; }
}
}
Java ViewBranchGetBranches DTOs
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 /api/Query/BranchGetBranches HTTP/1.1
Host: api.clubmanagercentral.com
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<ViewBranchGetBranches xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ClubManager.Api.Services.Query">
<Skip xmlns="http://schemas.servicestack.net/types">0</Skip>
<Take xmlns="http://schemas.servicestack.net/types">0</Take>
<OrderBy xmlns="http://schemas.servicestack.net/types">String</OrderBy>
<OrderByDesc xmlns="http://schemas.servicestack.net/types">String</OrderByDesc>
<Include xmlns="http://schemas.servicestack.net/types">String</Include>
<Fields xmlns="http://schemas.servicestack.net/types">String</Fields>
<Meta xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.servicestack.net/types">
<d2p1:KeyValueOfstringstring>
<d2p1:Key>String</d2p1:Key>
<d2p1:Value>String</d2p1:Value>
</d2p1:KeyValueOfstringstring>
</Meta>
</ViewBranchGetBranches>
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <QueryResponseOfBranchGetBranchesInstancePEZRWkv_P xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.servicestack.net/types"> <Offset>0</Offset> <Total>0</Total> <Results xmlns:d2p1="http://schemas.datacontract.org/2004/07/ClubManager.Api.Services.Query"> <d2p1:BranchGetBranchesInstance> <d2p1:AccessControlTimeLimit>0</d2p1:AccessControlTimeLimit> <d2p1:AccountNumber>String</d2p1:AccountNumber> <d2p1:AllowNegativeBalance>false</d2p1:AllowNegativeBalance> <d2p1:AndroidAppLink>String</d2p1:AndroidAppLink> <d2p1:AppFeature>0</d2p1:AppFeature> <d2p1:AppOptions>String</d2p1:AppOptions> <d2p1:ApplicationType>0</d2p1:ApplicationType> <d2p1:AutoGenerateLicenses>false</d2p1:AutoGenerateLicenses> <d2p1:AutoShutoff>false</d2p1:AutoShutoff> <d2p1:BookingAccessTimeLimit>0</d2p1:BookingAccessTimeLimit> <d2p1:BookingMinuteIncrements>0</d2p1:BookingMinuteIncrements> <d2p1:BookingsPayLinkOnTrack>false</d2p1:BookingsPayLinkOnTrack> <d2p1:BranchType>0</d2p1:BranchType> <d2p1:CancelDate>0001-01-01T00:00:00</d2p1:CancelDate> <d2p1:CancelFurther>String</d2p1:CancelFurther> <d2p1:CancelReason>String</d2p1:CancelReason> <d2p1:Capacity>0</d2p1:Capacity> <d2p1:CompanyAddress>String</d2p1:CompanyAddress> <d2p1:CompanyDescription>String</d2p1:CompanyDescription> <d2p1:CompanyEmail>String</d2p1:CompanyEmail> <d2p1:CompanyName>String</d2p1:CompanyName> <d2p1:CompanyOfficialName>String</d2p1:CompanyOfficialName> <d2p1:Country>String</d2p1:Country> <d2p1:CreditCardFee>0</d2p1:CreditCardFee> <d2p1:Culture>String</d2p1:Culture> <d2p1:CurrencyCulture>String</d2p1:CurrencyCulture> <d2p1:DDPassword>String</d2p1:DDPassword> <d2p1:DDServiceUser>String</d2p1:DDServiceUser> <d2p1:DDUserName>String</d2p1:DDUserName> <d2p1:DeductSessionsOnBooking>false</d2p1:DeductSessionsOnBooking> <d2p1:DefaultCreditLimit>0</d2p1:DefaultCreditLimit> <d2p1:DfcClubNumber>String</d2p1:DfcClubNumber> <d2p1:DfcPassword>String</d2p1:DfcPassword> <d2p1:DfcUserName>String</d2p1:DfcUserName> <d2p1:DirectDebitFee>0</d2p1:DirectDebitFee> <d2p1:DirectDebitReference>String</d2p1:DirectDebitReference> <d2p1:Domain>String</d2p1:Domain> <d2p1:ExternalProviderWarning>String</d2p1:ExternalProviderWarning> <d2p1:Facebook>String</d2p1:Facebook> <d2p1:FastDDPlatinumRef>String</d2p1:FastDDPlatinumRef> <d2p1:FastDDReference>String</d2p1:FastDDReference> <d2p1:Feature>0</d2p1:Feature> <d2p1:FingerprintMatcherThreshold>0</d2p1:FingerprintMatcherThreshold> <d2p1:FingerprintThreshold>0</d2p1:FingerprintThreshold> <d2p1:FixPaymentSchedle>String</d2p1:FixPaymentSchedle> <d2p1:FixPayments>false</d2p1:FixPayments> <d2p1:FreeTextTitle>String</d2p1:FreeTextTitle> <d2p1:GiftAid>false</d2p1:GiftAid> <d2p1:GlobalBookingEndTime>PT0S</d2p1:GlobalBookingEndTime> <d2p1:GlobalBookingStartTime>PT0S</d2p1:GlobalBookingStartTime> <d2p1:InTrial>false</d2p1:InTrial> <d2p1:Instagram>String</d2p1:Instagram> <d2p1:LanguageId>0</d2p1:LanguageId> <d2p1:Logo>AA==</d2p1:Logo> <d2p1:LogoHash>String</d2p1:LogoHash> <d2p1:MCAClubNo>String</d2p1:MCAClubNo> <d2p1:MarketingComplianceManagedExternally>false</d2p1:MarketingComplianceManagedExternally> <d2p1:MemberLimit>0</d2p1:MemberLimit> <d2p1:Minimiser>0</d2p1:Minimiser> <d2p1:MinimumMemberAge>0</d2p1:MinimumMemberAge> <d2p1:MobileDomain>String</d2p1:MobileDomain> <d2p1:Modules>0</d2p1:Modules> <d2p1:MonthlySalesTarget>0</d2p1:MonthlySalesTarget> <d2p1:Name>String</d2p1:Name> <d2p1:OnlineBookingAllowNonActives>false</d2p1:OnlineBookingAllowNonActives> <d2p1:OnlineBookingAllowWaitingList>false</d2p1:OnlineBookingAllowWaitingList> <d2p1:OnlineBookingCancellationLimit>0</d2p1:OnlineBookingCancellationLimit> <d2p1:OnlineBookingLimit>0</d2p1:OnlineBookingLimit> <d2p1:OnlineBookingTimetableLimit>0</d2p1:OnlineBookingTimetableLimit> <d2p1:OnlineMultiSiteEnabled>false</d2p1:OnlineMultiSiteEnabled> <d2p1:PaymentStartDate>0001-01-01T00:00:00</d2p1:PaymentStartDate> <d2p1:Prefix>String</d2p1:Prefix> <d2p1:PrimaryColors>String</d2p1:PrimaryColors> <d2p1:ProviderSaving>0</d2p1:ProviderSaving> <d2p1:PublicKey>00000000-0000-0000-0000-000000000000</d2p1:PublicKey> <d2p1:PublicMembershipTypes>0</d2p1:PublicMembershipTypes> <d2p1:ReportFormat>0</d2p1:ReportFormat> <d2p1:SMSPriceAdjustment>0</d2p1:SMSPriceAdjustment> <d2p1:SROAddress>String</d2p1:SROAddress> <d2p1:ScoreBranchId>0</d2p1:ScoreBranchId> <d2p1:SendMarketingInviteWhenMemberAdded>false</d2p1:SendMarketingInviteWhenMemberAdded> <d2p1:SendMarketingInviteWhenMemberJoinedOnline>false</d2p1:SendMarketingInviteWhenMemberJoinedOnline> <d2p1:SendSMSAppointmentRemindersDefault>false</d2p1:SendSMSAppointmentRemindersDefault> <d2p1:SendSMSBookingReminders>false</d2p1:SendSMSBookingReminders> <d2p1:Shopify>String</d2p1:Shopify> <d2p1:ShowGoCardlessAd>false</d2p1:ShowGoCardlessAd> <d2p1:ShowTrustedBranchBookings>false</d2p1:ShowTrustedBranchBookings> <d2p1:SignInScreenFeature>0</d2p1:SignInScreenFeature> <d2p1:SmsOriginator>String</d2p1:SmsOriginator> <d2p1:SortCode>String</d2p1:SortCode> <d2p1:Style>String</d2p1:Style> <d2p1:SwipeAction>0</d2p1:SwipeAction> <d2p1:Telephone>String</d2p1:Telephone> <d2p1:Terms>String</d2p1:Terms> <d2p1:TermsAndConditionsAcceptedDate>0001-01-01T00:00:00</d2p1:TermsAndConditionsAcceptedDate> <d2p1:TermsAndConditionsVersionDate>0001-01-01T00:00:00</d2p1:TermsAndConditionsVersionDate> <d2p1:TikTok>String</d2p1:TikTok> <d2p1:TimeZone>String</d2p1:TimeZone> <d2p1:Transferred>false</d2p1:Transferred> <d2p1:TrialEnd>0001-01-01T00:00:00</d2p1:TrialEnd> <d2p1:TrialStart>0001-01-01T00:00:00</d2p1:TrialStart> <d2p1:TrustedBranches>0</d2p1:TrustedBranches> <d2p1:TwilioNumber>String</d2p1:TwilioNumber> <d2p1:Twitter>String</d2p1:Twitter> <d2p1:UseCreditBalance>false</d2p1:UseCreditBalance> <d2p1:UseFreeText>false</d2p1:UseFreeText> <d2p1:UseMembershipTypes>false</d2p1:UseMembershipTypes> <d2p1:UsingPaymentMethods>0</d2p1:UsingPaymentMethods> <d2p1:VatRate>0</d2p1:VatRate> <d2p1:Website>String</d2p1:Website> <d2p1:YouTube>String</d2p1:YouTube> <d2p1:iOSAppLink>String</d2p1:iOSAppLink> </d2p1:BranchGetBranchesInstance> </Results> <Meta xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:KeyValueOfstringstring> <d2p1:Key>String</d2p1:Key> <d2p1:Value>String</d2p1:Value> </d2p1:KeyValueOfstringstring> </Meta> <ResponseStatus> <ErrorCode>String</ErrorCode> <Message>String</Message> <StackTrace>String</StackTrace> <Errors> <ResponseError> <ErrorCode>String</ErrorCode> <FieldName>String</FieldName> <Message>String</Message> <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> </Meta> </ResponseError> </Errors> <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> </Meta> </ResponseStatus> </QueryResponseOfBranchGetBranchesInstancePEZRWkv_P>