ClubManager.Api

<back to all web services

BranchService.GetBranchAppInfoRequest

The following routes are available for this service:
POST,GET/api/Branch/GetBranchAppInfo
import java.math.*
import java.util.*
import net.servicestack.client.*


open class BranchAppInfo
{
    var TitleText:String? = null
    var AddText:String? = null
    var RegisterText:String? = null
    var JoinText:String? = null
    var ARNiOS:String? = null
    var ARNAndroid:String? = null
    var AppIdentifier:String? = null
    var AppBundleName:String? = null
    var AppName:String? = null
    var AppCenterAndroid:String? = null
    var AppCenterIOS:String? = null
    var BranchId:Int? = null
    var Name:String? = null
    var BranchKey:String? = null
    var Terms:String? = null
    var CancelDate:Date? = null
    var AppFeature:AppFeature? = null
    var CanBookOnline:Boolean? = null
    var PrimaryColor:String? = null
    var SecondaryColor:String? = null
    var BackgroundColor:String? = null
    var HeaderTopColor:String? = null
    var HeaderBottomColor:String? = null
    var SideLeftColor:String? = null
    var SideRightColor:String? = null
    var SideFontColor:String? = null
    var SideFontActiveColor:String? = null
    var ExtWebBackgroundColor:String? = null
    var ExtWebTextColor:String? = null
    var ExtWebTintBackColor:String? = null
    var ExtWebHighlightBackColor:String? = null
    var ExtWebTabBackColor:String? = null
    var HeadingColor:String? = null
}

@Flags()
enum class AppFeature(val value:Int)
{
    @SerializedName("0") None(0),
    @SerializedName("1") JoinOnline(1),
    @SerializedName("2") TodaysClasses(2),
    @SerializedName("4") RegistrationForm(4),
    @SerializedName("8") ForthcomingBookings(8),
    @SerializedName("16") WeeklyTimetable(16),
    @SerializedName("32") SessionTimetable(32),
    @SerializedName("64") FacilityTimetable(64),
    @SerializedName("128") TasterSessions(128),
    @SerializedName("256") HowToFindUs(256),
    @SerializedName("512") AttendanceLeaderboard(512),
    @SerializedName("1024") MemberMessages(1024),
    @SerializedName("2048") AchievementGallery(2048),
    @SerializedName("4096") FreeText(4096),
    @SerializedName("8192") QrCode(8192),
    @SerializedName("16384") ShareAndInviteAFriend(16384),
    @SerializedName("32768") RenewalPrompt(32768),
    @SerializedName("65536") CurrentCapacity(65536),
    @SerializedName("131072") JoinFriend(131072),
    @SerializedName("262144") MemberPoints(262144),
    @SerializedName("524288") PromoMembership(524288),
    @SerializedName("1048576") Shop(1048576),
    @SerializedName("2097152") ShowFacebook(2097152),
    @SerializedName("4194304") ShowTwitter(4194304),
    @SerializedName("8388608") ShowInstagram(8388608),
    @SerializedName("16777216") ShowYouTube(16777216),
    @SerializedName("33554432") ShowTikTok(33554432),
    @SerializedName("67108864") ShowShopify(67108864),
    @SerializedName("134217728") AttendanceStreak(134217728),
    @SerializedName("268435456") BookingCategories(268435456),
    @SerializedName("536870912") ShowSessionsRemaining(536870912),
}

Kotlin 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}