ClubManager.Api

<back to all web services

MemberService.GetMembersForAccessControlRequest

Requires Authentication
The following routes are available for this service:
POST,GET/api/Member/GetMembersForAccessControl
import 'package:servicestack/servicestack.dart';
import 'dart:typed_data';

enum MembershipState
{
    Prospect,
    Active,
    Expired,
    Cancelled,
    PaymentRequired,
    Suspended,
}

enum ExternalStatus
{
    Off,
    Active,
    Pending,
    CancelledInsideContract,
    CancelledOutsideContract,
    WithDebtRecovery,
    Suspended,
}

enum MemberAccess
{
    AccessAllowed,
    NoAccess,
    NoMultiSiteAccess,
    NoSessions,
    NoScheduleAccess,
    NoAccessTimeLimitExceeded,
    Suspended,
}

class AccessControlMember implements IConvertible
{
    int? MemberId;
    int? EnrolmentId;
    int? BranchId;
    MembershipState? MembershipState;
    String? MembershipNumber;
    String? CardNumber;
    String? Forenames;
    String? Surname;
    bool? MultiSiteAccess;
    bool? UseExternalStatus;
    ExternalStatus? ExternalStatus;
    String? MembershipTypeName;
    DateTime? StartDate;
    DateTime? EndDate;
    int? ScheduleId;
    int? SessionsRemaining;
    DateTime? LastAttendance;
    MemberAccess? MemberAccess;

    AccessControlMember({this.MemberId,this.EnrolmentId,this.BranchId,this.MembershipState,this.MembershipNumber,this.CardNumber,this.Forenames,this.Surname,this.MultiSiteAccess,this.UseExternalStatus,this.ExternalStatus,this.MembershipTypeName,this.StartDate,this.EndDate,this.ScheduleId,this.SessionsRemaining,this.LastAttendance,this.MemberAccess});
    AccessControlMember.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        MemberId = json['MemberId'];
        EnrolmentId = json['EnrolmentId'];
        BranchId = json['BranchId'];
        MembershipState = JsonConverters.fromJson(json['MembershipState'],'MembershipState',context!);
        MembershipNumber = json['MembershipNumber'];
        CardNumber = json['CardNumber'];
        Forenames = json['Forenames'];
        Surname = json['Surname'];
        MultiSiteAccess = json['MultiSiteAccess'];
        UseExternalStatus = json['UseExternalStatus'];
        ExternalStatus = JsonConverters.fromJson(json['ExternalStatus'],'ExternalStatus',context!);
        MembershipTypeName = json['MembershipTypeName'];
        StartDate = JsonConverters.fromJson(json['StartDate'],'DateTime',context!);
        EndDate = JsonConverters.fromJson(json['EndDate'],'DateTime',context!);
        ScheduleId = json['ScheduleId'];
        SessionsRemaining = json['SessionsRemaining'];
        LastAttendance = JsonConverters.fromJson(json['LastAttendance'],'DateTime',context!);
        MemberAccess = JsonConverters.fromJson(json['MemberAccess'],'MemberAccess',context!);
        return this;
    }

    Map<String, dynamic> toJson() => {
        'MemberId': MemberId,
        'EnrolmentId': EnrolmentId,
        'BranchId': BranchId,
        'MembershipState': JsonConverters.toJson(MembershipState,'MembershipState',context!),
        'MembershipNumber': MembershipNumber,
        'CardNumber': CardNumber,
        'Forenames': Forenames,
        'Surname': Surname,
        'MultiSiteAccess': MultiSiteAccess,
        'UseExternalStatus': UseExternalStatus,
        'ExternalStatus': JsonConverters.toJson(ExternalStatus,'ExternalStatus',context!),
        'MembershipTypeName': MembershipTypeName,
        'StartDate': JsonConverters.toJson(StartDate,'DateTime',context!),
        'EndDate': JsonConverters.toJson(EndDate,'DateTime',context!),
        'ScheduleId': ScheduleId,
        'SessionsRemaining': SessionsRemaining,
        'LastAttendance': JsonConverters.toJson(LastAttendance,'DateTime',context!),
        'MemberAccess': JsonConverters.toJson(MemberAccess,'MemberAccess',context!)
    };

    getTypeName() => "AccessControlMember";
    TypeContext? context = _ctx;
}

class Schedule implements IConvertible
{
    int? ScheduleId;
    String? Name;
    String? Description;
    Duration? MondayFrom;
    Duration? MondayTo;
    Duration? TuesdayFrom;
    Duration? TuesdayTo;
    Duration? WednesdayFrom;
    Duration? WednesdayTo;
    Duration? ThursdayFrom;
    Duration? ThursdayTo;
    Duration? FridayFrom;
    Duration? FridayTo;
    Duration? SaturdayFrom;
    Duration? SaturdayTo;
    Duration? SundayFrom;
    Duration? SundayTo;
    int? ScheduleType;
    int? BranchId;
    bool? Deleted;
    bool? Demo;
    bool? Monday;
    bool? Tuesday;
    bool? Wednesday;
    bool? Thursday;
    bool? Friday;
    bool? Saturday;
    bool? Sunday;
    Duration? MondayTotalTime;
    Duration? TuesdayTotalTime;
    Duration? WednesdayTotalTime;
    Duration? ThursdayTotalTime;
    Duration? FridayTotalTime;
    Duration? SaturdayTotalTime;
    Duration? SundayTotalTime;
    Duration? TotalTime;

    Schedule({this.ScheduleId,this.Name,this.Description,this.MondayFrom,this.MondayTo,this.TuesdayFrom,this.TuesdayTo,this.WednesdayFrom,this.WednesdayTo,this.ThursdayFrom,this.ThursdayTo,this.FridayFrom,this.FridayTo,this.SaturdayFrom,this.SaturdayTo,this.SundayFrom,this.SundayTo,this.ScheduleType,this.BranchId,this.Deleted,this.Demo,this.Monday,this.Tuesday,this.Wednesday,this.Thursday,this.Friday,this.Saturday,this.Sunday,this.MondayTotalTime,this.TuesdayTotalTime,this.WednesdayTotalTime,this.ThursdayTotalTime,this.FridayTotalTime,this.SaturdayTotalTime,this.SundayTotalTime,this.TotalTime});
    Schedule.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        ScheduleId = json['ScheduleId'];
        Name = json['Name'];
        Description = json['Description'];
        MondayFrom = JsonConverters.fromJson(json['MondayFrom'],'Duration',context!);
        MondayTo = JsonConverters.fromJson(json['MondayTo'],'Duration',context!);
        TuesdayFrom = JsonConverters.fromJson(json['TuesdayFrom'],'Duration',context!);
        TuesdayTo = JsonConverters.fromJson(json['TuesdayTo'],'Duration',context!);
        WednesdayFrom = JsonConverters.fromJson(json['WednesdayFrom'],'Duration',context!);
        WednesdayTo = JsonConverters.fromJson(json['WednesdayTo'],'Duration',context!);
        ThursdayFrom = JsonConverters.fromJson(json['ThursdayFrom'],'Duration',context!);
        ThursdayTo = JsonConverters.fromJson(json['ThursdayTo'],'Duration',context!);
        FridayFrom = JsonConverters.fromJson(json['FridayFrom'],'Duration',context!);
        FridayTo = JsonConverters.fromJson(json['FridayTo'],'Duration',context!);
        SaturdayFrom = JsonConverters.fromJson(json['SaturdayFrom'],'Duration',context!);
        SaturdayTo = JsonConverters.fromJson(json['SaturdayTo'],'Duration',context!);
        SundayFrom = JsonConverters.fromJson(json['SundayFrom'],'Duration',context!);
        SundayTo = JsonConverters.fromJson(json['SundayTo'],'Duration',context!);
        ScheduleType = json['ScheduleType'];
        BranchId = json['BranchId'];
        Deleted = json['Deleted'];
        Demo = json['Demo'];
        Monday = json['Monday'];
        Tuesday = json['Tuesday'];
        Wednesday = json['Wednesday'];
        Thursday = json['Thursday'];
        Friday = json['Friday'];
        Saturday = json['Saturday'];
        Sunday = json['Sunday'];
        MondayTotalTime = JsonConverters.fromJson(json['MondayTotalTime'],'Duration',context!);
        TuesdayTotalTime = JsonConverters.fromJson(json['TuesdayTotalTime'],'Duration',context!);
        WednesdayTotalTime = JsonConverters.fromJson(json['WednesdayTotalTime'],'Duration',context!);
        ThursdayTotalTime = JsonConverters.fromJson(json['ThursdayTotalTime'],'Duration',context!);
        FridayTotalTime = JsonConverters.fromJson(json['FridayTotalTime'],'Duration',context!);
        SaturdayTotalTime = JsonConverters.fromJson(json['SaturdayTotalTime'],'Duration',context!);
        SundayTotalTime = JsonConverters.fromJson(json['SundayTotalTime'],'Duration',context!);
        TotalTime = JsonConverters.fromJson(json['TotalTime'],'Duration',context!);
        return this;
    }

    Map<String, dynamic> toJson() => {
        'ScheduleId': ScheduleId,
        'Name': Name,
        'Description': Description,
        'MondayFrom': JsonConverters.toJson(MondayFrom,'Duration',context!),
        'MondayTo': JsonConverters.toJson(MondayTo,'Duration',context!),
        'TuesdayFrom': JsonConverters.toJson(TuesdayFrom,'Duration',context!),
        'TuesdayTo': JsonConverters.toJson(TuesdayTo,'Duration',context!),
        'WednesdayFrom': JsonConverters.toJson(WednesdayFrom,'Duration',context!),
        'WednesdayTo': JsonConverters.toJson(WednesdayTo,'Duration',context!),
        'ThursdayFrom': JsonConverters.toJson(ThursdayFrom,'Duration',context!),
        'ThursdayTo': JsonConverters.toJson(ThursdayTo,'Duration',context!),
        'FridayFrom': JsonConverters.toJson(FridayFrom,'Duration',context!),
        'FridayTo': JsonConverters.toJson(FridayTo,'Duration',context!),
        'SaturdayFrom': JsonConverters.toJson(SaturdayFrom,'Duration',context!),
        'SaturdayTo': JsonConverters.toJson(SaturdayTo,'Duration',context!),
        'SundayFrom': JsonConverters.toJson(SundayFrom,'Duration',context!),
        'SundayTo': JsonConverters.toJson(SundayTo,'Duration',context!),
        'ScheduleType': ScheduleType,
        'BranchId': BranchId,
        'Deleted': Deleted,
        'Demo': Demo,
        'Monday': Monday,
        'Tuesday': Tuesday,
        'Wednesday': Wednesday,
        'Thursday': Thursday,
        'Friday': Friday,
        'Saturday': Saturday,
        'Sunday': Sunday,
        'MondayTotalTime': JsonConverters.toJson(MondayTotalTime,'Duration',context!),
        'TuesdayTotalTime': JsonConverters.toJson(TuesdayTotalTime,'Duration',context!),
        'WednesdayTotalTime': JsonConverters.toJson(WednesdayTotalTime,'Duration',context!),
        'ThursdayTotalTime': JsonConverters.toJson(ThursdayTotalTime,'Duration',context!),
        'FridayTotalTime': JsonConverters.toJson(FridayTotalTime,'Duration',context!),
        'SaturdayTotalTime': JsonConverters.toJson(SaturdayTotalTime,'Duration',context!),
        'SundayTotalTime': JsonConverters.toJson(SundayTotalTime,'Duration',context!),
        'TotalTime': JsonConverters.toJson(TotalTime,'Duration',context!)
    };

    getTypeName() => "Schedule";
    TypeContext? context = _ctx;
}

enum BranchType
{
    DebitFinance,
    SmartDebit,
    Standard,
    Root,
    Reseller,
    Referrer,
}

// @Flags()
class Module
{
    static const Module Standard = const Module._(0);
    static const Module Bookings = const Module._(1);

    final int _value;
    const Module._(this._value);
    int get value => _value;
    static List<Module> get values => const [Standard,Bookings];
}

enum ApplicationType
{
    Gym,
    Golf,
    Dance,
    Soccer,
    Vanilla,
    Association,
    MartialArts,
    Gymnastics,
    Swimming,
    Nurseries,
    Racquet,
    SubscriptionBox,
    Clinic,
    Wellness,
    HealthAndBeauty,
    Climbing,
    AfterSchoolClub,
    PersonalTrainer,
}

// @Flags()
class Feature
{
    static const Feature None = const Feature._(0);
    static const Feature Standard = const Feature._(1);
    static const Feature Bookings = const Feature._(2);
    static const Feature Rota = const Feature._(4);
    static const Feature GoCardless = const Feature._(8);
    static const Feature HomeScreen = const Feature._(16);
    static const Feature EPos = const Feature._(32);
    static const Feature Attendance = const Feature._(64);
    static const Feature Sales = const Feature._(128);
    static const Feature PaymentCollections = const Feature._(256);
    static const Feature MailChimp = const Feature._(512);
    static const Feature MultiSite = const Feature._(1024);
    static const Feature AccountingDashboard = const Feature._(2048);
    static const Feature OtherDashboards = const Feature._(4096);
    static const Feature Reports = const Feature._(8192);
    static const Feature AdvancedAccounting = const Feature._(16384);
    static const Feature MemberLicenseDates = const Feature._(32768);
    static const Feature FaceRecognition = const Feature._(65536);
    static const Feature MemberAccountCreation = const Feature._(131072);
    static const Feature Automation = const Feature._(262144);
    static const Feature FacebookMarketing = const Feature._(524288);
    static const Feature Grades = const Feature._(1048576);
    static const Feature ZoomIntegration = const Feature._(2097152);
    static const Feature SalesTargetChart = const Feature._(4194304);
    static const Feature CustomApp = const Feature._(8388608);
    static const Feature CustomAttributesOnPortal = const Feature._(16777216);
    static const Feature NoExport = const Feature._(33554432);
    static const Feature EnterpriseClubPerformanceDashboards = const Feature._(67108864);

    final int _value;
    const Feature._(this._value);
    int get value => _value;
    static List<Feature> get values => const [None,Standard,Bookings,Rota,GoCardless,HomeScreen,EPos,Attendance,Sales,PaymentCollections,MailChimp,MultiSite,AccountingDashboard,OtherDashboards,Reports,AdvancedAccounting,MemberLicenseDates,FaceRecognition,MemberAccountCreation,Automation,FacebookMarketing,Grades,ZoomIntegration,SalesTargetChart,CustomApp,CustomAttributesOnPortal,NoExport,EnterpriseClubPerformanceDashboards];
}

class Iso3166Country implements IConvertible
{
    String? Name;
    String? TwoLetterCode;
    String? ThreeLetterCode;
    int? NumericCode;
    List<String>? PhonePrefix;

    Iso3166Country({this.Name,this.TwoLetterCode,this.ThreeLetterCode,this.NumericCode,this.PhonePrefix});
    Iso3166Country.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        Name = json['Name'];
        TwoLetterCode = json['TwoLetterCode'];
        ThreeLetterCode = json['ThreeLetterCode'];
        NumericCode = json['NumericCode'];
        PhonePrefix = JsonConverters.fromJson(json['PhonePrefix'],'List<String>',context!);
        return this;
    }

    Map<String, dynamic> toJson() => {
        'Name': Name,
        'TwoLetterCode': TwoLetterCode,
        'ThreeLetterCode': ThreeLetterCode,
        'NumericCode': NumericCode,
        'PhonePrefix': JsonConverters.toJson(PhonePrefix,'List<String>',context!)
    };

    getTypeName() => "Iso3166Country";
    TypeContext? context = _ctx;
}

enum BranchMinimiser
{
    None,
    CMGo,
    BasicPortal,
}

enum ReportFormat
{
    PDF,
    Word,
    Excel,
    PNG,
    XPS,
    CSV,
    Html5,
}

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

    final int _value;
    const AppFeature._(this._value);
    int get value => _value;
    static List<AppFeature> get values => const [None,JoinOnline,TodaysClasses,RegistrationForm,ForthcomingBookings,WeeklyTimetable,SessionTimetable,FacilityTimetable,TasterSessions,HowToFindUs,AttendanceLeaderboard,MemberMessages,AchievementGallery,FreeText,QRCode,ShareAndInviteAFriend,RenewalPrompt,CurrentCapacity,JoinFriend,MemberPoints,PromoMembership,Shop,ShowFacebook,ShowTwitter,ShowInstagram,ShowYouTube,ShowTikTok,ShowShopify,AttendanceStreak,BookingCategories,ShowSessionsRemaining];
}

// @Flags()
class SignInScreenFeature
{
    static const SignInScreenFeature None = const SignInScreenFeature._(0);
    static const SignInScreenFeature SignInNumPad = const SignInScreenFeature._(1);

    final int _value;
    const SignInScreenFeature._(this._value);
    int get value => _value;
    static List<SignInScreenFeature> get values => const [None,SignInNumPad];
}

class Branch implements IConvertible
{
    int? BranchId;
    BranchType? BranchType;
    String? Name;
    String? Prefix;
    String? CompanyName;
    String? CompanyAddress;
    String? CompanyOfficialName;
    String? DirectDebitReference;
    String? FastDDReference;
    String? FastDDPlatinumRef;
    String? Style;
    String? PublicKey;
    String? PrivateKey;
    DateTime? TrialStart;
    DateTime? TrialEnd;
    DateTime? PaymentStartDate;
    bool? InTrial;
    bool? UseFreeText;
    String? FreeTextTitle;
    bool? UseMembershipTypes;
    String? DDUserName;
    String? DDPassword;
    String? DDServiceUser;
    String? DfcUserName;
    String? DfcPassword;
    String? DfcClubNumber;
    String? CompanyEmail;
    String? SmsOriginator;
    int? LanguageId;
    double? VatRate;
    int? SwipeAction;
    Module? Modules;
    bool? UseCreditBalance;
    bool? AllowNegativeBalance;
    double? DefaultCreditLimit;
    ApplicationType? ApplicationType;
    String? ExternalProviderWarning;
    String? Domain;
    String? MobileDomain;
    int? OnlineBookingTimetableLimit;
    int? OnlineBookingCancellationLimit;
    int? OnlineBookingLimit;
    Feature? Feature;
    String? TimeZone;
    String? Culture;
    String? Country;
    Iso3166Country? Iso3166Country;
    String? CurrencyCulture;
    bool? ShowGoCardlessAd;
    double? GoCardlessSaving;
    String? SROAddress;
    String? MCAClubNo;
    String? MCAClubRef;
    String? TwilioNumber;
    String? Telephone;
    bool? Transferred;
    bool? OnlineBookingAllowNonActives;
    int? MemberLimit;
    String? SortCode;
    String? AccountNumber;
    String? Website;
    bool? SendSMSAppointmentRemindersDefault;
    bool? SendSMSBookingReminders;
    bool? GiftAid;
    Duration? GlobalBookingStartTime;
    Duration? GlobalBookingEndTime;
    int? BookingMinuteIncrements;
    String? CancelReason;
    String? CancelFurther;
    DateTime? CancelDate;
    double? DirectDebitFee;
    double? CreditCardFee;
    double? SMSPriceAdjustment;
    bool? BookingsPayLinkOnTrack;
    int? AccessControlTimeLimit;
    BranchMinimiser? Minimiser;
    bool? AutoGenerateLicenses;
    String? Terms;
    int? FingerprintThreshold;
    int? FingerprintMatcherThreshold;
    bool? AutoShutoff;
    String? PrimaryColors;
    bool? HasColors;
    String? PrimaryColor;
    String? SecondaryColor;
    String? BackgroundColor;
    String? HeaderTopColor;
    String? HeaderBottomColor;
    String? SideLeftColor;
    String? SideRightColor;
    String? SideFontColor;
    String? SideFontActiveColor;
    String? ExtWebBackgroundColor;
    String? ExtWebTextColor;
    String? ExtWebTintBackColor;
    String? ExtWebHighlightBackColor;
    String? ExtWebTabBackColor;
    String? HeadingColor;
    ReportFormat? ReportFormat;
    bool? FixPayments;
    String? FixPaymentSchedle;
    AppFeature? AppFeature;
    SignInScreenFeature? SignInScreenFeature;
    String? AppOptions;
    String? CompanyDescription;
    int? Capacity;
    int? MonthlySalesTarget;
    int? BookingAccessTimeLimit;
    String? Facebook;
    String? Twitter;
    String? Instagram;
    String? YouTube;
    String? TikTok;
    String? Shopify;
    int? MinimumMemberAge;
    DateTime? TermsAndConditionsVersionDate;
    DateTime? TermsAndConditionsAcceptedDate;
    bool? TermsAndConditionsAccepted;
    String? SiteUrl;
    bool? IsUsingSmartDebit;
    bool? IsUsingDfc;
    bool? IsSouthAfrica;
    bool? SmartDebitConfigured;
    bool? DfcConfigured;
    bool? UsingPaymentMethods;
    String? SmsPrefix;
    String? Logo;
    String? LogoThumbnail;
    String? LogoHash;
    bool? SendMarketingInviteWhenMemberAdded;
    bool? SendMarketingInviteWhenMemberJoinedOnline;
    bool? MarketingComplianceManagedExternally;
    bool? OnlineBookingAllowWaitingList;
    bool? OnlineMultiSiteEnabled;
    bool? CanBookOnline;
    int? PublicMembershipTypes;
    int? TrustedBranches;
    bool? IsAddingProspects;
    bool? IsSellingMemberships;
    bool? IsCreatingTasks;
    bool? IsCreatingAppointments;
    bool? IsBookingClasses;
    bool? IsRegisteringAttendance;
    bool? IsSellingProducts;
    bool? IsSendingEmails;
    bool? IsSendingSMS;
    bool? IsUsingAutomation;
    bool? DeductSessionsOnBooking;
    bool? ShowTrustedBranchBookings;
    int? Score;
    String? ApplicationId;
    String? iOSAppLink;
    String? AndroidAppLink;

    Branch({this.BranchId,this.BranchType,this.Name,this.Prefix,this.CompanyName,this.CompanyAddress,this.CompanyOfficialName,this.DirectDebitReference,this.FastDDReference,this.FastDDPlatinumRef,this.Style,this.PublicKey,this.PrivateKey,this.TrialStart,this.TrialEnd,this.PaymentStartDate,this.InTrial,this.UseFreeText,this.FreeTextTitle,this.UseMembershipTypes,this.DDUserName,this.DDPassword,this.DDServiceUser,this.DfcUserName,this.DfcPassword,this.DfcClubNumber,this.CompanyEmail,this.SmsOriginator,this.LanguageId,this.VatRate,this.SwipeAction,this.Modules,this.UseCreditBalance,this.AllowNegativeBalance,this.DefaultCreditLimit,this.ApplicationType,this.ExternalProviderWarning,this.Domain,this.MobileDomain,this.OnlineBookingTimetableLimit,this.OnlineBookingCancellationLimit,this.OnlineBookingLimit,this.Feature,this.TimeZone,this.Culture,this.Country,this.Iso3166Country,this.CurrencyCulture,this.ShowGoCardlessAd,this.GoCardlessSaving,this.SROAddress,this.MCAClubNo,this.MCAClubRef,this.TwilioNumber,this.Telephone,this.Transferred,this.OnlineBookingAllowNonActives,this.MemberLimit,this.SortCode,this.AccountNumber,this.Website,this.SendSMSAppointmentRemindersDefault,this.SendSMSBookingReminders,this.GiftAid,this.GlobalBookingStartTime,this.GlobalBookingEndTime,this.BookingMinuteIncrements,this.CancelReason,this.CancelFurther,this.CancelDate,this.DirectDebitFee,this.CreditCardFee,this.SMSPriceAdjustment,this.BookingsPayLinkOnTrack,this.AccessControlTimeLimit,this.Minimiser,this.AutoGenerateLicenses,this.Terms,this.FingerprintThreshold,this.FingerprintMatcherThreshold,this.AutoShutoff,this.PrimaryColors,this.HasColors,this.PrimaryColor,this.SecondaryColor,this.BackgroundColor,this.HeaderTopColor,this.HeaderBottomColor,this.SideLeftColor,this.SideRightColor,this.SideFontColor,this.SideFontActiveColor,this.ExtWebBackgroundColor,this.ExtWebTextColor,this.ExtWebTintBackColor,this.ExtWebHighlightBackColor,this.ExtWebTabBackColor,this.HeadingColor,this.ReportFormat,this.FixPayments,this.FixPaymentSchedle,this.AppFeature,this.SignInScreenFeature,this.AppOptions,this.CompanyDescription,this.Capacity,this.MonthlySalesTarget,this.BookingAccessTimeLimit,this.Facebook,this.Twitter,this.Instagram,this.YouTube,this.TikTok,this.Shopify,this.MinimumMemberAge,this.TermsAndConditionsVersionDate,this.TermsAndConditionsAcceptedDate,this.TermsAndConditionsAccepted,this.SiteUrl,this.IsUsingSmartDebit,this.IsUsingDfc,this.IsSouthAfrica,this.SmartDebitConfigured,this.DfcConfigured,this.UsingPaymentMethods,this.SmsPrefix,this.Logo,this.LogoThumbnail,this.LogoHash,this.SendMarketingInviteWhenMemberAdded,this.SendMarketingInviteWhenMemberJoinedOnline,this.MarketingComplianceManagedExternally,this.OnlineBookingAllowWaitingList,this.OnlineMultiSiteEnabled,this.CanBookOnline,this.PublicMembershipTypes,this.TrustedBranches,this.IsAddingProspects,this.IsSellingMemberships,this.IsCreatingTasks,this.IsCreatingAppointments,this.IsBookingClasses,this.IsRegisteringAttendance,this.IsSellingProducts,this.IsSendingEmails,this.IsSendingSMS,this.IsUsingAutomation,this.DeductSessionsOnBooking,this.ShowTrustedBranchBookings,this.Score,this.ApplicationId,this.iOSAppLink,this.AndroidAppLink});
    Branch.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        BranchId = json['BranchId'];
        BranchType = JsonConverters.fromJson(json['BranchType'],'BranchType',context!);
        Name = json['Name'];
        Prefix = json['Prefix'];
        CompanyName = json['CompanyName'];
        CompanyAddress = json['CompanyAddress'];
        CompanyOfficialName = json['CompanyOfficialName'];
        DirectDebitReference = json['DirectDebitReference'];
        FastDDReference = json['FastDDReference'];
        FastDDPlatinumRef = json['FastDDPlatinumRef'];
        Style = json['Style'];
        PublicKey = json['PublicKey'];
        PrivateKey = json['PrivateKey'];
        TrialStart = JsonConverters.fromJson(json['TrialStart'],'DateTime',context!);
        TrialEnd = JsonConverters.fromJson(json['TrialEnd'],'DateTime',context!);
        PaymentStartDate = JsonConverters.fromJson(json['PaymentStartDate'],'DateTime',context!);
        InTrial = json['InTrial'];
        UseFreeText = json['UseFreeText'];
        FreeTextTitle = json['FreeTextTitle'];
        UseMembershipTypes = json['UseMembershipTypes'];
        DDUserName = json['DDUserName'];
        DDPassword = json['DDPassword'];
        DDServiceUser = json['DDServiceUser'];
        DfcUserName = json['DfcUserName'];
        DfcPassword = json['DfcPassword'];
        DfcClubNumber = json['DfcClubNumber'];
        CompanyEmail = json['CompanyEmail'];
        SmsOriginator = json['SmsOriginator'];
        LanguageId = json['LanguageId'];
        VatRate = JsonConverters.toDouble(json['VatRate']);
        SwipeAction = json['SwipeAction'];
        Modules = JsonConverters.fromJson(json['Modules'],'Module',context!);
        UseCreditBalance = json['UseCreditBalance'];
        AllowNegativeBalance = json['AllowNegativeBalance'];
        DefaultCreditLimit = JsonConverters.toDouble(json['DefaultCreditLimit']);
        ApplicationType = JsonConverters.fromJson(json['ApplicationType'],'ApplicationType',context!);
        ExternalProviderWarning = json['ExternalProviderWarning'];
        Domain = json['Domain'];
        MobileDomain = json['MobileDomain'];
        OnlineBookingTimetableLimit = json['OnlineBookingTimetableLimit'];
        OnlineBookingCancellationLimit = json['OnlineBookingCancellationLimit'];
        OnlineBookingLimit = json['OnlineBookingLimit'];
        Feature = JsonConverters.fromJson(json['Feature'],'Feature',context!);
        TimeZone = json['TimeZone'];
        Culture = json['Culture'];
        Country = json['Country'];
        Iso3166Country = JsonConverters.fromJson(json['Iso3166Country'],'Iso3166Country',context!);
        CurrencyCulture = json['CurrencyCulture'];
        ShowGoCardlessAd = json['ShowGoCardlessAd'];
        GoCardlessSaving = JsonConverters.toDouble(json['GoCardlessSaving']);
        SROAddress = json['SROAddress'];
        MCAClubNo = json['MCAClubNo'];
        MCAClubRef = json['MCAClubRef'];
        TwilioNumber = json['TwilioNumber'];
        Telephone = json['Telephone'];
        Transferred = json['Transferred'];
        OnlineBookingAllowNonActives = json['OnlineBookingAllowNonActives'];
        MemberLimit = json['MemberLimit'];
        SortCode = json['SortCode'];
        AccountNumber = json['AccountNumber'];
        Website = json['Website'];
        SendSMSAppointmentRemindersDefault = json['SendSMSAppointmentRemindersDefault'];
        SendSMSBookingReminders = json['SendSMSBookingReminders'];
        GiftAid = json['GiftAid'];
        GlobalBookingStartTime = JsonConverters.fromJson(json['GlobalBookingStartTime'],'Duration',context!);
        GlobalBookingEndTime = JsonConverters.fromJson(json['GlobalBookingEndTime'],'Duration',context!);
        BookingMinuteIncrements = json['BookingMinuteIncrements'];
        CancelReason = json['CancelReason'];
        CancelFurther = json['CancelFurther'];
        CancelDate = JsonConverters.fromJson(json['CancelDate'],'DateTime',context!);
        DirectDebitFee = JsonConverters.toDouble(json['DirectDebitFee']);
        CreditCardFee = JsonConverters.toDouble(json['CreditCardFee']);
        SMSPriceAdjustment = JsonConverters.toDouble(json['SMSPriceAdjustment']);
        BookingsPayLinkOnTrack = json['BookingsPayLinkOnTrack'];
        AccessControlTimeLimit = json['AccessControlTimeLimit'];
        Minimiser = JsonConverters.fromJson(json['Minimiser'],'BranchMinimiser',context!);
        AutoGenerateLicenses = json['AutoGenerateLicenses'];
        Terms = json['Terms'];
        FingerprintThreshold = json['FingerprintThreshold'];
        FingerprintMatcherThreshold = json['FingerprintMatcherThreshold'];
        AutoShutoff = json['AutoShutoff'];
        PrimaryColors = json['PrimaryColors'];
        HasColors = json['HasColors'];
        PrimaryColor = json['PrimaryColor'];
        SecondaryColor = json['SecondaryColor'];
        BackgroundColor = json['BackgroundColor'];
        HeaderTopColor = json['HeaderTopColor'];
        HeaderBottomColor = json['HeaderBottomColor'];
        SideLeftColor = json['SideLeftColor'];
        SideRightColor = json['SideRightColor'];
        SideFontColor = json['SideFontColor'];
        SideFontActiveColor = json['SideFontActiveColor'];
        ExtWebBackgroundColor = json['ExtWebBackgroundColor'];
        ExtWebTextColor = json['ExtWebTextColor'];
        ExtWebTintBackColor = json['ExtWebTintBackColor'];
        ExtWebHighlightBackColor = json['ExtWebHighlightBackColor'];
        ExtWebTabBackColor = json['ExtWebTabBackColor'];
        HeadingColor = json['HeadingColor'];
        ReportFormat = JsonConverters.fromJson(json['ReportFormat'],'ReportFormat',context!);
        FixPayments = json['FixPayments'];
        FixPaymentSchedle = json['FixPaymentSchedle'];
        AppFeature = JsonConverters.fromJson(json['AppFeature'],'AppFeature',context!);
        SignInScreenFeature = JsonConverters.fromJson(json['SignInScreenFeature'],'SignInScreenFeature',context!);
        AppOptions = json['AppOptions'];
        CompanyDescription = json['CompanyDescription'];
        Capacity = json['Capacity'];
        MonthlySalesTarget = json['MonthlySalesTarget'];
        BookingAccessTimeLimit = json['BookingAccessTimeLimit'];
        Facebook = json['Facebook'];
        Twitter = json['Twitter'];
        Instagram = json['Instagram'];
        YouTube = json['YouTube'];
        TikTok = json['TikTok'];
        Shopify = json['Shopify'];
        MinimumMemberAge = json['MinimumMemberAge'];
        TermsAndConditionsVersionDate = JsonConverters.fromJson(json['TermsAndConditionsVersionDate'],'DateTime',context!);
        TermsAndConditionsAcceptedDate = JsonConverters.fromJson(json['TermsAndConditionsAcceptedDate'],'DateTime',context!);
        TermsAndConditionsAccepted = json['TermsAndConditionsAccepted'];
        SiteUrl = json['SiteUrl'];
        IsUsingSmartDebit = json['IsUsingSmartDebit'];
        IsUsingDfc = json['IsUsingDfc'];
        IsSouthAfrica = json['IsSouthAfrica'];
        SmartDebitConfigured = json['SmartDebitConfigured'];
        DfcConfigured = json['DfcConfigured'];
        UsingPaymentMethods = json['UsingPaymentMethods'];
        SmsPrefix = json['SmsPrefix'];
        Logo = json['Logo'];
        LogoThumbnail = json['LogoThumbnail'];
        LogoHash = json['LogoHash'];
        SendMarketingInviteWhenMemberAdded = json['SendMarketingInviteWhenMemberAdded'];
        SendMarketingInviteWhenMemberJoinedOnline = json['SendMarketingInviteWhenMemberJoinedOnline'];
        MarketingComplianceManagedExternally = json['MarketingComplianceManagedExternally'];
        OnlineBookingAllowWaitingList = json['OnlineBookingAllowWaitingList'];
        OnlineMultiSiteEnabled = json['OnlineMultiSiteEnabled'];
        CanBookOnline = json['CanBookOnline'];
        PublicMembershipTypes = json['PublicMembershipTypes'];
        TrustedBranches = json['TrustedBranches'];
        IsAddingProspects = json['IsAddingProspects'];
        IsSellingMemberships = json['IsSellingMemberships'];
        IsCreatingTasks = json['IsCreatingTasks'];
        IsCreatingAppointments = json['IsCreatingAppointments'];
        IsBookingClasses = json['IsBookingClasses'];
        IsRegisteringAttendance = json['IsRegisteringAttendance'];
        IsSellingProducts = json['IsSellingProducts'];
        IsSendingEmails = json['IsSendingEmails'];
        IsSendingSMS = json['IsSendingSMS'];
        IsUsingAutomation = json['IsUsingAutomation'];
        DeductSessionsOnBooking = json['DeductSessionsOnBooking'];
        ShowTrustedBranchBookings = json['ShowTrustedBranchBookings'];
        Score = json['Score'];
        ApplicationId = json['ApplicationId'];
        iOSAppLink = json['iOSAppLink'];
        AndroidAppLink = json['AndroidAppLink'];
        return this;
    }

    Map<String, dynamic> toJson() => {
        'BranchId': BranchId,
        'BranchType': JsonConverters.toJson(BranchType,'BranchType',context!),
        'Name': Name,
        'Prefix': Prefix,
        'CompanyName': CompanyName,
        'CompanyAddress': CompanyAddress,
        'CompanyOfficialName': CompanyOfficialName,
        'DirectDebitReference': DirectDebitReference,
        'FastDDReference': FastDDReference,
        'FastDDPlatinumRef': FastDDPlatinumRef,
        'Style': Style,
        'PublicKey': PublicKey,
        'PrivateKey': PrivateKey,
        'TrialStart': JsonConverters.toJson(TrialStart,'DateTime',context!),
        'TrialEnd': JsonConverters.toJson(TrialEnd,'DateTime',context!),
        'PaymentStartDate': JsonConverters.toJson(PaymentStartDate,'DateTime',context!),
        'InTrial': InTrial,
        'UseFreeText': UseFreeText,
        'FreeTextTitle': FreeTextTitle,
        'UseMembershipTypes': UseMembershipTypes,
        'DDUserName': DDUserName,
        'DDPassword': DDPassword,
        'DDServiceUser': DDServiceUser,
        'DfcUserName': DfcUserName,
        'DfcPassword': DfcPassword,
        'DfcClubNumber': DfcClubNumber,
        'CompanyEmail': CompanyEmail,
        'SmsOriginator': SmsOriginator,
        'LanguageId': LanguageId,
        'VatRate': VatRate,
        'SwipeAction': SwipeAction,
        'Modules': JsonConverters.toJson(Modules,'Module',context!),
        'UseCreditBalance': UseCreditBalance,
        'AllowNegativeBalance': AllowNegativeBalance,
        'DefaultCreditLimit': DefaultCreditLimit,
        'ApplicationType': JsonConverters.toJson(ApplicationType,'ApplicationType',context!),
        'ExternalProviderWarning': ExternalProviderWarning,
        'Domain': Domain,
        'MobileDomain': MobileDomain,
        'OnlineBookingTimetableLimit': OnlineBookingTimetableLimit,
        'OnlineBookingCancellationLimit': OnlineBookingCancellationLimit,
        'OnlineBookingLimit': OnlineBookingLimit,
        'Feature': JsonConverters.toJson(Feature,'Feature',context!),
        'TimeZone': TimeZone,
        'Culture': Culture,
        'Country': Country,
        'Iso3166Country': JsonConverters.toJson(Iso3166Country,'Iso3166Country',context!),
        'CurrencyCulture': CurrencyCulture,
        'ShowGoCardlessAd': ShowGoCardlessAd,
        'GoCardlessSaving': GoCardlessSaving,
        'SROAddress': SROAddress,
        'MCAClubNo': MCAClubNo,
        'MCAClubRef': MCAClubRef,
        'TwilioNumber': TwilioNumber,
        'Telephone': Telephone,
        'Transferred': Transferred,
        'OnlineBookingAllowNonActives': OnlineBookingAllowNonActives,
        'MemberLimit': MemberLimit,
        'SortCode': SortCode,
        'AccountNumber': AccountNumber,
        'Website': Website,
        'SendSMSAppointmentRemindersDefault': SendSMSAppointmentRemindersDefault,
        'SendSMSBookingReminders': SendSMSBookingReminders,
        'GiftAid': GiftAid,
        'GlobalBookingStartTime': JsonConverters.toJson(GlobalBookingStartTime,'Duration',context!),
        'GlobalBookingEndTime': JsonConverters.toJson(GlobalBookingEndTime,'Duration',context!),
        'BookingMinuteIncrements': BookingMinuteIncrements,
        'CancelReason': CancelReason,
        'CancelFurther': CancelFurther,
        'CancelDate': JsonConverters.toJson(CancelDate,'DateTime',context!),
        'DirectDebitFee': DirectDebitFee,
        'CreditCardFee': CreditCardFee,
        'SMSPriceAdjustment': SMSPriceAdjustment,
        'BookingsPayLinkOnTrack': BookingsPayLinkOnTrack,
        'AccessControlTimeLimit': AccessControlTimeLimit,
        'Minimiser': JsonConverters.toJson(Minimiser,'BranchMinimiser',context!),
        'AutoGenerateLicenses': AutoGenerateLicenses,
        'Terms': Terms,
        'FingerprintThreshold': FingerprintThreshold,
        'FingerprintMatcherThreshold': FingerprintMatcherThreshold,
        'AutoShutoff': AutoShutoff,
        'PrimaryColors': PrimaryColors,
        'HasColors': HasColors,
        'PrimaryColor': PrimaryColor,
        'SecondaryColor': SecondaryColor,
        'BackgroundColor': BackgroundColor,
        'HeaderTopColor': HeaderTopColor,
        'HeaderBottomColor': HeaderBottomColor,
        'SideLeftColor': SideLeftColor,
        'SideRightColor': SideRightColor,
        'SideFontColor': SideFontColor,
        'SideFontActiveColor': SideFontActiveColor,
        'ExtWebBackgroundColor': ExtWebBackgroundColor,
        'ExtWebTextColor': ExtWebTextColor,
        'ExtWebTintBackColor': ExtWebTintBackColor,
        'ExtWebHighlightBackColor': ExtWebHighlightBackColor,
        'ExtWebTabBackColor': ExtWebTabBackColor,
        'HeadingColor': HeadingColor,
        'ReportFormat': JsonConverters.toJson(ReportFormat,'ReportFormat',context!),
        'FixPayments': FixPayments,
        'FixPaymentSchedle': FixPaymentSchedle,
        'AppFeature': JsonConverters.toJson(AppFeature,'AppFeature',context!),
        'SignInScreenFeature': JsonConverters.toJson(SignInScreenFeature,'SignInScreenFeature',context!),
        'AppOptions': AppOptions,
        'CompanyDescription': CompanyDescription,
        'Capacity': Capacity,
        'MonthlySalesTarget': MonthlySalesTarget,
        'BookingAccessTimeLimit': BookingAccessTimeLimit,
        'Facebook': Facebook,
        'Twitter': Twitter,
        'Instagram': Instagram,
        'YouTube': YouTube,
        'TikTok': TikTok,
        'Shopify': Shopify,
        'MinimumMemberAge': MinimumMemberAge,
        'TermsAndConditionsVersionDate': JsonConverters.toJson(TermsAndConditionsVersionDate,'DateTime',context!),
        'TermsAndConditionsAcceptedDate': JsonConverters.toJson(TermsAndConditionsAcceptedDate,'DateTime',context!),
        'TermsAndConditionsAccepted': TermsAndConditionsAccepted,
        'SiteUrl': SiteUrl,
        'IsUsingSmartDebit': IsUsingSmartDebit,
        'IsUsingDfc': IsUsingDfc,
        'IsSouthAfrica': IsSouthAfrica,
        'SmartDebitConfigured': SmartDebitConfigured,
        'DfcConfigured': DfcConfigured,
        'UsingPaymentMethods': UsingPaymentMethods,
        'SmsPrefix': SmsPrefix,
        'Logo': Logo,
        'LogoThumbnail': LogoThumbnail,
        'LogoHash': LogoHash,
        'SendMarketingInviteWhenMemberAdded': SendMarketingInviteWhenMemberAdded,
        'SendMarketingInviteWhenMemberJoinedOnline': SendMarketingInviteWhenMemberJoinedOnline,
        'MarketingComplianceManagedExternally': MarketingComplianceManagedExternally,
        'OnlineBookingAllowWaitingList': OnlineBookingAllowWaitingList,
        'OnlineMultiSiteEnabled': OnlineMultiSiteEnabled,
        'CanBookOnline': CanBookOnline,
        'PublicMembershipTypes': PublicMembershipTypes,
        'TrustedBranches': TrustedBranches,
        'IsAddingProspects': IsAddingProspects,
        'IsSellingMemberships': IsSellingMemberships,
        'IsCreatingTasks': IsCreatingTasks,
        'IsCreatingAppointments': IsCreatingAppointments,
        'IsBookingClasses': IsBookingClasses,
        'IsRegisteringAttendance': IsRegisteringAttendance,
        'IsSellingProducts': IsSellingProducts,
        'IsSendingEmails': IsSendingEmails,
        'IsSendingSMS': IsSendingSMS,
        'IsUsingAutomation': IsUsingAutomation,
        'DeductSessionsOnBooking': DeductSessionsOnBooking,
        'ShowTrustedBranchBookings': ShowTrustedBranchBookings,
        'Score': Score,
        'ApplicationId': ApplicationId,
        'iOSAppLink': iOSAppLink,
        'AndroidAppLink': AndroidAppLink
    };

    getTypeName() => "Branch";
    TypeContext? context = _ctx;
}

class AccessControlMembers implements IConvertible
{
    List<AccessControlMember>? Members;
    List<Schedule>? Schedules;
    Branch? Branch;

    AccessControlMembers({this.Members,this.Schedules,this.Branch});
    AccessControlMembers.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        Members = JsonConverters.fromJson(json['Members'],'List<AccessControlMember>',context!);
        Schedules = JsonConverters.fromJson(json['Schedules'],'List<Schedule>',context!);
        Branch = JsonConverters.fromJson(json['Branch'],'Branch',context!);
        return this;
    }

    Map<String, dynamic> toJson() => {
        'Members': JsonConverters.toJson(Members,'List<AccessControlMember>',context!),
        'Schedules': JsonConverters.toJson(Schedules,'List<Schedule>',context!),
        'Branch': JsonConverters.toJson(Branch,'Branch',context!)
    };

    getTypeName() => "AccessControlMembers";
    TypeContext? context = _ctx;
}

TypeContext _ctx = TypeContext(library: 'api.clubmanagercentral.com', types: <String, TypeInfo> {
    'MembershipState': TypeInfo(TypeOf.Enum, enumValues:MembershipState.values),
    'ExternalStatus': TypeInfo(TypeOf.Enum, enumValues:ExternalStatus.values),
    'MemberAccess': TypeInfo(TypeOf.Enum, enumValues:MemberAccess.values),
    'AccessControlMember': TypeInfo(TypeOf.Class, create:() => AccessControlMember()),
    'Schedule': TypeInfo(TypeOf.Class, create:() => Schedule()),
    'BranchType': TypeInfo(TypeOf.Enum, enumValues:BranchType.values),
    'Module': TypeInfo(TypeOf.Enum, enumValues:Module.values),
    'ApplicationType': TypeInfo(TypeOf.Enum, enumValues:ApplicationType.values),
    'Feature': TypeInfo(TypeOf.Enum, enumValues:Feature.values),
    'Iso3166Country': TypeInfo(TypeOf.Class, create:() => Iso3166Country()),
    'BranchMinimiser': TypeInfo(TypeOf.Enum, enumValues:BranchMinimiser.values),
    'ReportFormat': TypeInfo(TypeOf.Enum, enumValues:ReportFormat.values),
    'AppFeature': TypeInfo(TypeOf.Enum, enumValues:AppFeature.values),
    'SignInScreenFeature': TypeInfo(TypeOf.Enum, enumValues:SignInScreenFeature.values),
    'Branch': TypeInfo(TypeOf.Class, create:() => Branch()),
    'AccessControlMembers': TypeInfo(TypeOf.Class, create:() => AccessControlMembers()),
    'List<AccessControlMember>': TypeInfo(TypeOf.Class, create:() => <AccessControlMember>[]),
    'List<Schedule>': TypeInfo(TypeOf.Class, create:() => <Schedule>[]),
});

Dart MemberService.GetMembersForAccessControlRequest DTOs

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

HTTP + CSV

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

POST /api/Member/GetMembersForAccessControl HTTP/1.1 
Host: api.clubmanagercentral.com 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"MemberId":0,"Date":"0001-01-01T00:00:00.0000000"}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"Members":[{"MemberId":0,"EnrolmentId":0,"BranchId":0,"MembershipState":"Prospect","MembershipNumber":"String","CardNumber":"String","Forenames":"String","Surname":"String","MultiSiteAccess":false,"UseExternalStatus":false,"ExternalStatus":"Off","MembershipTypeName":"String","StartDate":"0001-01-01T00:00:00.0000000","EndDate":"0001-01-01T00:00:00.0000000","ScheduleId":0,"SessionsRemaining":0,"LastAttendance":"0001-01-01T00:00:00.0000000","MemberAccess":"AccessAllowed"}],"Schedules":[{"ScheduleId":0,"Name":"String","Description":"String","MondayFrom":"PT0S","MondayTo":"PT0S","TuesdayFrom":"PT0S","TuesdayTo":"PT0S","WednesdayFrom":"PT0S","WednesdayTo":"PT0S","ThursdayFrom":"PT0S","ThursdayTo":"PT0S","FridayFrom":"PT0S","FridayTo":"PT0S","SaturdayFrom":"PT0S","SaturdayTo":"PT0S","SundayFrom":"PT0S","SundayTo":"PT0S","ScheduleType":0,"BranchId":0,"Deleted":false,"Demo":false,"Monday":true,"Tuesday":true,"Wednesday":true,"Thursday":true,"Friday":true,"Saturday":true,"Sunday":true,"MondayTotalTime":"P1D","TuesdayTotalTime":"P1D","WednesdayTotalTime":"P1D","ThursdayTotalTime":"P1D","FridayTotalTime":"P1D","SaturdayTotalTime":"P1D","SundayTotalTime":"P1D","TotalTime":"P7D"}],"Branch":{"BranchId":0,"BranchType":"DebitFinance","Name":"String","Prefix":"String","CompanyName":"String","CompanyAddress":"String","CompanyOfficialName":"String","DirectDebitReference":"String","FastDDReference":"String","FastDDPlatinumRef":"String","Style":"String","PublicKey":"00000000000000000000000000000000","PrivateKey":"00000000000000000000000000000000","TrialStart":"0001-01-01T00:00:00.0000000","TrialEnd":"0001-01-01T00:00:00.0000000","PaymentStartDate":"0001-01-01T00:00:00.0000000","InTrial":false,"UseFreeText":false,"FreeTextTitle":"String","UseMembershipTypes":false,"DDUserName":"String","DDPassword":"String","DDServiceUser":"String","DfcUserName":"String","DfcPassword":"String","DfcClubNumber":"String","CompanyEmail":"String","SmsOriginator":"String","LanguageId":0,"VatRate":0,"SwipeAction":0,"Modules":0,"UseCreditBalance":false,"AllowNegativeBalance":false,"DefaultCreditLimit":0,"ApplicationType":"Gym","ExternalProviderWarning":"String","Domain":"String","MobileDomain":"String","OnlineBookingTimetableLimit":0,"OnlineBookingCancellationLimit":0,"OnlineBookingLimit":0,"Feature":0,"TimeZone":"String","Culture":"String","Country":"String","Iso3166Country":null,"CurrencyCulture":"String","ShowGoCardlessAd":false,"GoCardlessSaving":0,"SROAddress":"String","MCAClubNo":"String","MCAClubRef":"String","TwilioNumber":"String","Telephone":"String","Transferred":false,"OnlineBookingAllowNonActives":false,"MemberLimit":0,"SortCode":"String","AccountNumber":"String","Website":"String","SendSMSAppointmentRemindersDefault":false,"SendSMSBookingReminders":false,"GiftAid":false,"GlobalBookingStartTime":"PT0S","GlobalBookingEndTime":"PT0S","BookingMinuteIncrements":0,"CancelReason":"String","CancelFurther":"String","CancelDate":"0001-01-01T00:00:00.0000000","DirectDebitFee":0,"CreditCardFee":0,"SMSPriceAdjustment":0,"BookingsPayLinkOnTrack":false,"AccessControlTimeLimit":0,"Minimiser":"None","AutoGenerateLicenses":false,"Terms":"String","FingerprintThreshold":0,"FingerprintMatcherThreshold":0,"AutoShutoff":false,"PrimaryColors":"String","HasColors":false,"PrimaryColor":"String","SecondaryColor":"#FF0C67","BackgroundColor":"#ffffff","HeaderTopColor":"#d4fd04","HeaderBottomColor":"#d4fd04","SideLeftColor":"#F0F0F0","SideRightColor":"#F0F0F0","SideFontColor":"#555555","SideFontActiveColor":"#808080","ExtWebBackgroundColor":"#FFFFFF","ExtWebTextColor":"#404040","ExtWebTintBackColor":"#B9DE00","ExtWebHighlightBackColor":"#FF0C67","ExtWebTabBackColor":"#e8e8e8","HeadingColor":"#000000","ReportFormat":"PDF","FixPayments":false,"FixPaymentSchedle":"String","AppFeature":0,"SignInScreenFeature":0,"AppOptions":"String","CompanyDescription":"String","Capacity":0,"MonthlySalesTarget":0,"BookingAccessTimeLimit":0,"Facebook":"String","Twitter":"String","Instagram":"String","YouTube":"String","TikTok":"String","Shopify":"String","MinimumMemberAge":0,"TermsAndConditionsVersionDate":"0001-01-01T00:00:00.0000000","TermsAndConditionsAcceptedDate":"0001-01-01T00:00:00.0000000","TermsAndConditionsAccepted":false,"SiteUrl":"https://string","IsUsingSmartDebit":false,"IsUsingDfc":true,"IsSouthAfrica":false,"SmartDebitConfigured":true,"DfcConfigured":true,"UsingPaymentMethods":false,"SmsPrefix":"String","Logo":"https:///Template.mvc/GetImage?id=UgByAHUAeQBNAHMAZABmADQASQBMAFEAZwBIAGMAcgArADAAQgBoADEAQQA9AD0A","LogoThumbnail":"https:///Template.mvc/GetThumbnail?id=UgByAHUAeQBNAHMAZABmADQASQBMAFEAZwBIAGMAcgArADAAQgBoADEAQQA9AD0A","LogoHash":"String","SendMarketingInviteWhenMemberAdded":false,"SendMarketingInviteWhenMemberJoinedOnline":false,"MarketingComplianceManagedExternally":false,"OnlineBookingAllowWaitingList":false,"OnlineMultiSiteEnabled":false,"CanBookOnline":false,"PublicMembershipTypes":0,"TrustedBranches":0,"IsAddingProspects":false,"IsSellingMemberships":false,"IsCreatingTasks":false,"IsCreatingAppointments":false,"IsBookingClasses":false,"IsRegisteringAttendance":false,"IsSellingProducts":false,"IsSendingEmails":false,"IsSendingSMS":false,"IsUsingAutomation":false,"DeductSessionsOnBooking":false,"ShowTrustedBranchBookings":false,"Score":0,"ApplicationId":"com.clubmanagercentral.clublink","iOSAppLink":"String","AndroidAppLink":"String"}}