ClubManager.Api

<back to all web services

BranchService.GetBranchAppInfoRequest

The following routes are available for this service:
POST,GET/api/Branch/GetBranchAppInfo
namespace ClubManager.Interfaces.Models.Branch

open System
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations

    [<Flags>]
    type 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

    [<AllowNullLiteral>]
    type BranchAppInfo() = 
        member val TitleText:String = null with get,set
        member val AddText:String = null with get,set
        member val RegisterText:String = null with get,set
        member val JoinText:String = null with get,set
        member val ARNiOS:String = null with get,set
        member val ARNAndroid:String = null with get,set
        member val AppIdentifier:String = null with get,set
        member val AppBundleName:String = null with get,set
        member val AppName:String = null with get,set
        member val AppCenterAndroid:String = null with get,set
        member val AppCenterIOS:String = null with get,set
        member val BranchId:Nullable<Int32> = new Nullable<Int32>() with get,set
        member val Name:String = null with get,set
        member val BranchKey:String = null with get,set
        member val Terms:String = null with get,set
        member val CancelDate:Nullable<DateTime> = new Nullable<DateTime>() with get,set
        member val AppFeature:AppFeature = new AppFeature() with get,set
        member val CanBookOnline:Boolean = new Boolean() with get,set
        member val PrimaryColor:String = null with get,set
        member val SecondaryColor:String = null with get,set
        member val BackgroundColor:String = null with get,set
        member val HeaderTopColor:String = null with get,set
        member val HeaderBottomColor:String = null with get,set
        member val SideLeftColor:String = null with get,set
        member val SideRightColor:String = null with get,set
        member val SideFontColor:String = null with get,set
        member val SideFontActiveColor:String = null with get,set
        member val ExtWebBackgroundColor:String = null with get,set
        member val ExtWebTextColor:String = null with get,set
        member val ExtWebTintBackColor:String = null with get,set
        member val ExtWebHighlightBackColor:String = null with get,set
        member val ExtWebTabBackColor:String = null with get,set
        member val HeadingColor:String = null with get,set

F# 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}