ClubManager.Api

<back to all web services

BranchService.GetBranchAppInfoRequest

The following routes are available for this service:
POST,GET/api/Branch/GetBranchAppInfo
Imports System
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports ClubManager.Interfaces.Models.Branch

Namespace Global

    Namespace ClubManager.Interfaces.Models.Branch

        <Flags>
        Public Enum AppFeature
            None = 0
            JoinOnline = 1
            TodaysClasses = 2
            RegistrationForm = 4
            ForthcomingBookings = 8
            WeeklyTimetable = 16
            SessionTimetable = 32
            FacilityTimetable = 64
            TasterSessions = 128
            HowToFindUs = 256
            AttendanceLeaderboard = 512
            MemberMessages = 1024
            AchievementGallery = 2048
            FreeText = 4096
            QRCode = 8192
            ShareAndInviteAFriend = 16384
            RenewalPrompt = 32768
            CurrentCapacity = 65536
            JoinFriend = 131072
            MemberPoints = 262144
            PromoMembership = 524288
            Shop = 1048576
            ShowFacebook = 2097152
            ShowTwitter = 4194304
            ShowInstagram = 8388608
            ShowYouTube = 16777216
            ShowTikTok = 33554432
            ShowShopify = 67108864
            AttendanceStreak = 134217728
            BookingCategories = 268435456
            ShowSessionsRemaining = 536870912
        End Enum

        Public Partial Class BranchAppInfo
            Public Overridable Property TitleText As String
            Public Overridable Property AddText As String
            Public Overridable Property RegisterText As String
            Public Overridable Property JoinText As String
            Public Overridable Property ARNiOS As String
            Public Overridable Property ARNAndroid As String
            Public Overridable Property AppIdentifier As String
            Public Overridable Property AppBundleName As String
            Public Overridable Property AppName As String
            Public Overridable Property AppCenterAndroid As String
            Public Overridable Property AppCenterIOS As String
            Public Overridable Property BranchId As Nullable(Of Integer)
            Public Overridable Property Name As String
            Public Overridable Property BranchKey As String
            Public Overridable Property Terms As String
            Public Overridable Property CancelDate As Nullable(Of Date)
            Public Overridable Property AppFeature As AppFeature
            Public Overridable Property CanBookOnline As Boolean
            Public Overridable Property PrimaryColor As String
            Public Overridable Property SecondaryColor As String
            Public Overridable Property BackgroundColor As String
            Public Overridable Property HeaderTopColor As String
            Public Overridable Property HeaderBottomColor As String
            Public Overridable Property SideLeftColor As String
            Public Overridable Property SideRightColor As String
            Public Overridable Property SideFontColor As String
            Public Overridable Property SideFontActiveColor As String
            Public Overridable Property ExtWebBackgroundColor As String
            Public Overridable Property ExtWebTextColor As String
            Public Overridable Property ExtWebTintBackColor As String
            Public Overridable Property ExtWebHighlightBackColor As String
            Public Overridable Property ExtWebTabBackColor As String
            Public Overridable Property HeadingColor As String
        End Class
    End Namespace
End Namespace

VB.NET BranchService.GetBranchAppInfoRequest DTOs

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

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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

POST /api/Branch/GetBranchAppInfo HTTP/1.1 
Host: api.clubmanagercentral.com 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"Id":0}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"TitleText":"String","AddText":"String","RegisterText":"String","JoinText":"String","ARNiOS":"String","ARNAndroid":"String","AppIdentifier":"String","AppBundleName":"String","AppName":"String","AppCenterAndroid":"String","AppCenterIOS":"String","BranchId":0,"Name":"String","BranchKey":"00000000-0000-0000-0000-000000000000","Terms":null,"CancelDate":null,"AppFeature":0,"CanBookOnline":false,"PrimaryColor":null,"SecondaryColor":null,"BackgroundColor":null,"HeaderTopColor":null,"HeaderBottomColor":null,"SideLeftColor":null,"SideRightColor":null,"SideFontColor":null,"SideFontActiveColor":null,"ExtWebBackgroundColor":null,"ExtWebTextColor":null,"ExtWebTintBackColor":null,"ExtWebHighlightBackColor":null,"ExtWebTabBackColor":null,"HeadingColor":null}