ClubManager.Api

<back to all web services

BranchService.GetBranchAppInfoForBuildRequest

The following routes are available for this service:
POST,GET/api/Branch/GetBranchAppInfoForBuild

// @Flags()
export 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,
}

export class BranchAppInfo
{
    public TitleText?: string;
    public AddText?: string;
    public RegisterText?: string;
    public JoinText?: string;
    public ARNiOS?: string;
    public ARNAndroid?: string;
    public AppIdentifier?: string;
    public AppBundleName?: string;
    public AppName?: string;
    public AppCenterAndroid?: string;
    public AppCenterIOS?: string;
    public BranchId?: number;
    public Name?: string;
    public BranchKey?: string;
    public Terms?: string;
    public CancelDate?: string;
    public AppFeature?: AppFeature;
    public CanBookOnline?: boolean;
    public PrimaryColor?: string;
    public SecondaryColor?: string;
    public BackgroundColor?: string;
    public HeaderTopColor?: string;
    public HeaderBottomColor?: string;
    public SideLeftColor?: string;
    public SideRightColor?: string;
    public SideFontColor?: string;
    public SideFontActiveColor?: string;
    public ExtWebBackgroundColor?: string;
    public ExtWebTextColor?: string;
    public ExtWebTintBackColor?: string;
    public ExtWebHighlightBackColor?: string;
    public ExtWebTabBackColor?: string;
    public HeadingColor?: string;

    public constructor(init?: Partial<BranchAppInfo>) { (Object as any).assign(this, init); }
}

TypeScript BranchService.GetBranchAppInfoForBuildRequest DTOs

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

HTTP + XML

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

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

<BranchService.GetBranchAppInfoForBuildRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ClubManager.Api.Services">
  <Id>0</Id>
</BranchService.GetBranchAppInfoForBuildRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<BranchAppInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ClubManager.Interfaces.Models.Branch">
  <_x003C_ARNAndroid_x003E_k__BackingField>String</_x003C_ARNAndroid_x003E_k__BackingField>
  <_x003C_ARNiOS_x003E_k__BackingField>String</_x003C_ARNiOS_x003E_k__BackingField>
  <_x003C_AddText_x003E_k__BackingField>String</_x003C_AddText_x003E_k__BackingField>
  <_x003C_AppBundleName_x003E_k__BackingField>String</_x003C_AppBundleName_x003E_k__BackingField>
  <_x003C_AppCenterAndroid_x003E_k__BackingField>String</_x003C_AppCenterAndroid_x003E_k__BackingField>
  <_x003C_AppCenterIOS_x003E_k__BackingField>String</_x003C_AppCenterIOS_x003E_k__BackingField>
  <_x003C_AppIdentifier_x003E_k__BackingField>String</_x003C_AppIdentifier_x003E_k__BackingField>
  <_x003C_AppName_x003E_k__BackingField>String</_x003C_AppName_x003E_k__BackingField>
  <_x003C_BranchId_x003E_k__BackingField>0</_x003C_BranchId_x003E_k__BackingField>
  <_x003C_JoinText_x003E_k__BackingField>String</_x003C_JoinText_x003E_k__BackingField>
  <_x003C_Name_x003E_k__BackingField>String</_x003C_Name_x003E_k__BackingField>
  <_x003C_RegisterText_x003E_k__BackingField>String</_x003C_RegisterText_x003E_k__BackingField>
  <_x003C_TitleText_x003E_k__BackingField>String</_x003C_TitleText_x003E_k__BackingField>
  <branch i:nil="true" />
</BranchAppInfo>