Required role: | API |
All Verbs | /api/Query/BranchGetBranches |
---|
Imports System
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports ClubManager.Api.Services.Query
Namespace Global
Namespace ClubManager.Api.Services.Query
Public Partial Class BranchGetBranchesInstance
Public Sub New()
Logo = New Byte(){}
End Sub
Public Overridable Property BranchType As Integer
Public Overridable Property Name As String
Public Overridable Property Prefix As String
Public Overridable Property CompanyName As String
Public Overridable Property CompanyAddress As String
Public Overridable Property CompanyOfficialName As String
Public Overridable Property DirectDebitReference As String
Public Overridable Property FastDDReference As String
Public Overridable Property FastDDPlatinumRef As String
Public Overridable Property Style As String
Public Overridable Property PaymentStartDate As Nullable(Of Date)
Public Overridable Property PublicKey As Guid
Public Overridable Property TrialStart As Nullable(Of Date)
Public Overridable Property TrialEnd As Nullable(Of Date)
Public Overridable Property InTrial As Boolean
Public Overridable Property UseMembershipTypes As Boolean
Public Overridable Property DDUserName As String
Public Overridable Property DDPassword As String
Public Overridable Property DDServiceUser As String
Public Overridable Property DfcUserName As String
Public Overridable Property DfcPassword As String
Public Overridable Property DfcClubNumber As String
Public Overridable Property CompanyEmail As String
Public Overridable Property SmsOriginator As String
Public Overridable Property LanguageId As Nullable(Of Integer)
Public Overridable Property VatRate As Decimal
Public Overridable Property SwipeAction As Integer
Public Overridable Property Modules As Integer
Public Overridable Property UseFreeText As Boolean
Public Overridable Property FreeTextTitle As String
Public Overridable Property TimeZone As String
Public Overridable Property UseCreditBalance As Boolean
Public Overridable Property AllowNegativeBalance As Boolean
Public Overridable Property DefaultCreditLimit As Decimal
Public Overridable Property ApplicationType As Integer
Public Overridable Property ExternalProviderWarning As String
Public Overridable Property Domain As String
Public Overridable Property MobileDomain As String
Public Overridable Property OnlineBookingTimetableLimit As Integer
Public Overridable Property OnlineBookingCancellationLimit As Integer
Public Overridable Property Feature As Integer
Public Overridable Property ShowGoCardlessAd As Boolean
Public Overridable Property ProviderSaving As Decimal
Public Overridable Property SROAddress As String
Public Overridable Property Telephone As String
Public Overridable Property MCAClubNo As String
Public Overridable Property Transferred As Nullable(Of Boolean)
Public Overridable Property OnlineBookingAllowNonActives As Boolean
Public Overridable Property MemberLimit As Integer
Public Overridable Property SortCode As String
Public Overridable Property AccountNumber As String
Public Overridable Property SendSMSAppointmentRemindersDefault As Boolean
Public Overridable Property SendSMSBookingReminders As Boolean
Public Overridable Property Website As String
Public Overridable Property GiftAid As Boolean
Public Overridable Property GlobalBookingStartTime As TimeSpan
Public Overridable Property GlobalBookingEndTime As TimeSpan
Public Overridable Property BookingMinuteIncrements As Integer
Public Overridable Property CancelReason As String
Public Overridable Property CancelFurther As String
Public Overridable Property CancelDate As Nullable(Of Date)
Public Overridable Property TwilioNumber As String
Public Overridable Property CreditCardFee As Decimal
Public Overridable Property DirectDebitFee As Decimal
Public Overridable Property Culture As String
Public Overridable Property BookingsPayLinkOnTrack As Boolean
Public Overridable Property AccessControlTimeLimit As Integer
Public Overridable Property Minimiser As Integer
Public Overridable Property AutoGenerateLicenses As Boolean
Public Overridable Property Terms As String
Public Overridable Property FingerprintThreshold As Integer
Public Overridable Property FingerprintMatcherThreshold As Integer
Public Overridable Property CurrencyCulture As String
Public Overridable Property AutoShutoff As Boolean
Public Overridable Property PrimaryColors As String
Public Overridable Property Logo As Byte()
Public Overridable Property ReportFormat As Integer
Public Overridable Property Country As String
Public Overridable Property SMSPriceAdjustment As Decimal
Public Overridable Property LogoHash As String
Public Overridable Property FixPayments As Boolean
Public Overridable Property FixPaymentSchedle As String
Public Overridable Property AppFeature As Integer
Public Overridable Property AppOptions As String
Public Overridable Property CompanyDescription As String
Public Overridable Property Capacity As Nullable(Of Integer)
Public Overridable Property SignInScreenFeature As Integer
Public Overridable Property BookingAccessTimeLimit As Integer
Public Overridable Property DeductSessionsOnBooking As Boolean
Public Overridable Property MonthlySalesTarget As Integer
Public Overridable Property ShowTrustedBranchBookings As Boolean
Public Overridable Property Facebook As String
Public Overridable Property Twitter As String
Public Overridable Property Instagram As String
Public Overridable Property YouTube As String
Public Overridable Property TikTok As String
Public Overridable Property Shopify As String
Public Overridable Property MinimumMemberAge As Integer
Public Overridable Property UsingPaymentMethods As Nullable(Of Integer)
Public Overridable Property TermsAndConditionsVersionDate As Nullable(Of Date)
Public Overridable Property TermsAndConditionsAcceptedDate As Nullable(Of Date)
Public Overridable Property SendMarketingInviteWhenMemberAdded As Nullable(Of Boolean)
Public Overridable Property SendMarketingInviteWhenMemberJoinedOnline As Nullable(Of Boolean)
Public Overridable Property MarketingComplianceManagedExternally As Nullable(Of Boolean)
Public Overridable Property OnlineBookingAllowWaitingList As Nullable(Of Boolean)
Public Overridable Property OnlineMultiSiteEnabled As Boolean
Public Overridable Property OnlineBookingLimit As Nullable(Of Integer)
Public Overridable Property PublicMembershipTypes As Nullable(Of Integer)
Public Overridable Property TrustedBranches As Nullable(Of Integer)
Public Overridable Property ScoreBranchId As Integer
Public Overridable Property iOSAppLink As String
Public Overridable Property AndroidAppLink As String
End Class
<AutoQueryViewer(Description:="", IconUrl:="octicon:database", Title:="BranchGetBranches")>
Public Partial Class ViewBranchGetBranches
Inherits QueryDb(Of BranchGetBranchesInstance)
End Class
End Namespace
Namespace ServiceStack
<DataContract>
Public Partial Class QueryBase
Public Sub New()
Meta = New Dictionary(Of String, String)
End Sub
<DataMember(Order:=1)>
Public Overridable Property Skip As Nullable(Of Integer)
<DataMember(Order:=2)>
Public Overridable Property Take As Nullable(Of Integer)
<DataMember(Order:=3)>
Public Overridable Property OrderBy As String
<DataMember(Order:=4)>
Public Overridable Property OrderByDesc As String
<DataMember(Order:=5)>
Public Overridable Property Include As String
<DataMember(Order:=6)>
Public Overridable Property Fields As String
<DataMember(Order:=7)>
Public Overridable Property Meta As Dictionary(Of String, String)
End Class
Public Partial Class QueryDb(Of T)
Inherits QueryBase
End Class
<DataContract>
Public Partial Class QueryResponse(Of T)
Public Sub New()
Results = New List(Of T)
Meta = New Dictionary(Of String, String)
End Sub
<DataMember(Order:=1)>
Public Overridable Property Offset As Integer
<DataMember(Order:=2)>
Public Overridable Property Total As Integer
<DataMember(Order:=3)>
Public Overridable Property Results As List(Of T)
<DataMember(Order:=4)>
Public Overridable Property Meta As Dictionary(Of String, String)
<DataMember(Order:=5)>
Public Overridable Property ResponseStatus As ResponseStatus
End Class
End Namespace
End Namespace
VB.NET 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>