ClubManager.Api

<back to all web services

FindBookingMembershipType

Requires Authentication
Required role:API
The following routes are available for this service:
All Verbs/api/Query/BookingMembershipType
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
import com.google.gson.annotations.*;
import com.google.gson.reflect.*;

public class dtos
{

    @AutoQueryViewer(Description="", IconUrl="octicon:database", Title="BookingMembershipType")
    public static class FindBookingMembershipType extends QueryDb<BookingMembershipTypeInstance>
    {
        
    }

    public static class QueryDb<T> extends QueryBase
    {
        
    }

    @DataContract
    public static class QueryBase
    {
        @DataMember(Order=1)
        public Integer Skip = null;

        @DataMember(Order=2)
        public Integer Take = null;

        @DataMember(Order=3)
        public String OrderBy = null;

        @DataMember(Order=4)
        public String OrderByDesc = null;

        @DataMember(Order=5)
        public String Include = null;

        @DataMember(Order=6)
        public String Fields = null;

        @DataMember(Order=7)
        public HashMap<String,String> Meta = null;
        
        public Integer getSkip() { return Skip; }
        public QueryBase setSkip(Integer value) { this.Skip = value; return this; }
        public Integer getTake() { return Take; }
        public QueryBase setTake(Integer value) { this.Take = value; return this; }
        public String getOrderBy() { return OrderBy; }
        public QueryBase setOrderBy(String value) { this.OrderBy = value; return this; }
        public String getOrderByDesc() { return OrderByDesc; }
        public QueryBase setOrderByDesc(String value) { this.OrderByDesc = value; return this; }
        public String getInclude() { return Include; }
        public QueryBase setInclude(String value) { this.Include = value; return this; }
        public String getFields() { return Fields; }
        public QueryBase setFields(String value) { this.Fields = value; return this; }
        public HashMap<String,String> getMeta() { return Meta; }
        public QueryBase setMeta(HashMap<String,String> value) { this.Meta = value; return this; }
    }

    public static class BookingMembershipTypeInstance
    {
        public Integer BookingMembershipTypeId = null;
        public BookingInstance Booking = null;
        @References(BookingInstance.class)
        public Integer BookingId = null;

        public MembershipTypeInstance MembershipType = null;
        @References(MembershipTypeInstance.class)
        public Integer MembershipTypeId = null;
        
        public Integer getBookingMembershipTypeId() { return BookingMembershipTypeId; }
        public BookingMembershipTypeInstance setBookingMembershipTypeId(Integer value) { this.BookingMembershipTypeId = value; return this; }
        public BookingInstance getBooking() { return Booking; }
        public BookingMembershipTypeInstance setBooking(BookingInstance value) { this.Booking = value; return this; }
        public Integer getBookingId() { return BookingId; }
        public BookingMembershipTypeInstance setBookingId(Integer value) { this.BookingId = value; return this; }
        public MembershipTypeInstance getMembershipType() { return MembershipType; }
        public BookingMembershipTypeInstance setMembershipType(MembershipTypeInstance value) { this.MembershipType = value; return this; }
        public Integer getMembershipTypeId() { return MembershipTypeId; }
        public BookingMembershipTypeInstance setMembershipTypeId(Integer value) { this.MembershipTypeId = value; return this; }
    }

    public static class BookingInstance
    {
        public Integer BookingId = null;
        public String Name = null;
        public String Notes = null;
        public Date StartDate = null;
        public Integer Duration = null;
        public Boolean AllDay = null;
        public String Recurrence = null;
        public Boolean UseRecurrence = null;
        public Integer MinAttendees = null;
        public Integer MaxAttendees = null;
        public ProductInstance Product = null;
        @References(ProductInstance.class)
        public Integer ProductId = null;

        public FacilityInstance Facility = null;
        @References(FacilityInstance.class)
        public Integer FacilityId = null;

        public StaffInstance Staff = null;
        @References(StaffInstance.class)
        public Integer StaffId = null;

        public BookingInstance ParentBooking = null;
        @References(BookingInstance.class)
        public Integer ParentBookingId = null;

        public Integer SeriesIndex = null;
        public Boolean Deleted = null;
        public Boolean Demo = null;
        public MemberInstance Member = null;
        @References(MemberInstance.class)
        public Integer MemberId = null;

        public Date EndDate = null;
        public Boolean TasterSession = null;
        public Boolean ImmediatePayment = null;
        public Boolean GradingEvent = null;
        public String Url = null;
        public Boolean Visible = null;
        public Boolean Bookable = null;
        public Integer NonMemberProductId = null;
        public Integer TasterSessionProductId = null;
        public Boolean ActiveMemberCanBook = null;
        public Boolean NonMemberCanBook = null;
        public Integer OnlineBookingTimetableLimit = null;
        public Integer OnlineBookingCancellationLimit = null;
        public Integer BookingCategoryId = null;
        
        public Integer getBookingId() { return BookingId; }
        public BookingInstance setBookingId(Integer value) { this.BookingId = value; return this; }
        public String getName() { return Name; }
        public BookingInstance setName(String value) { this.Name = value; return this; }
        public String getNotes() { return Notes; }
        public BookingInstance setNotes(String value) { this.Notes = value; return this; }
        public Date getStartDate() { return StartDate; }
        public BookingInstance setStartDate(Date value) { this.StartDate = value; return this; }
        public Integer getDuration() { return Duration; }
        public BookingInstance setDuration(Integer value) { this.Duration = value; return this; }
        public Boolean isAllDay() { return AllDay; }
        public BookingInstance setAllDay(Boolean value) { this.AllDay = value; return this; }
        public String getRecurrence() { return Recurrence; }
        public BookingInstance setRecurrence(String value) { this.Recurrence = value; return this; }
        public Boolean isUseRecurrence() { return UseRecurrence; }
        public BookingInstance setUseRecurrence(Boolean value) { this.UseRecurrence = value; return this; }
        public Integer getMinAttendees() { return MinAttendees; }
        public BookingInstance setMinAttendees(Integer value) { this.MinAttendees = value; return this; }
        public Integer getMaxAttendees() { return MaxAttendees; }
        public BookingInstance setMaxAttendees(Integer value) { this.MaxAttendees = value; return this; }
        public ProductInstance getProduct() { return Product; }
        public BookingInstance setProduct(ProductInstance value) { this.Product = value; return this; }
        public Integer getProductId() { return ProductId; }
        public BookingInstance setProductId(Integer value) { this.ProductId = value; return this; }
        public FacilityInstance getFacility() { return Facility; }
        public BookingInstance setFacility(FacilityInstance value) { this.Facility = value; return this; }
        public Integer getFacilityId() { return FacilityId; }
        public BookingInstance setFacilityId(Integer value) { this.FacilityId = value; return this; }
        public StaffInstance getStaff() { return Staff; }
        public BookingInstance setStaff(StaffInstance value) { this.Staff = value; return this; }
        public Integer getStaffId() { return StaffId; }
        public BookingInstance setStaffId(Integer value) { this.StaffId = value; return this; }
        public BookingInstance getParentBooking() { return ParentBooking; }
        public BookingInstance setParentBooking(BookingInstance value) { this.ParentBooking = value; return this; }
        public Integer getParentBookingId() { return ParentBookingId; }
        public BookingInstance setParentBookingId(Integer value) { this.ParentBookingId = value; return this; }
        public Integer getSeriesIndex() { return SeriesIndex; }
        public BookingInstance setSeriesIndex(Integer value) { this.SeriesIndex = value; return this; }
        public Boolean isDeleted() { return Deleted; }
        public BookingInstance setDeleted(Boolean value) { this.Deleted = value; return this; }
        public Boolean isDemo() { return Demo; }
        public BookingInstance setDemo(Boolean value) { this.Demo = value; return this; }
        public MemberInstance getMember() { return Member; }
        public BookingInstance setMember(MemberInstance value) { this.Member = value; return this; }
        public Integer getMemberId() { return MemberId; }
        public BookingInstance setMemberId(Integer value) { this.MemberId = value; return this; }
        public Date getEndDate() { return EndDate; }
        public BookingInstance setEndDate(Date value) { this.EndDate = value; return this; }
        public Boolean isTasterSession() { return TasterSession; }
        public BookingInstance setTasterSession(Boolean value) { this.TasterSession = value; return this; }
        public Boolean isImmediatePayment() { return ImmediatePayment; }
        public BookingInstance setImmediatePayment(Boolean value) { this.ImmediatePayment = value; return this; }
        public Boolean isGradingEvent() { return GradingEvent; }
        public BookingInstance setGradingEvent(Boolean value) { this.GradingEvent = value; return this; }
        public String getUrl() { return Url; }
        public BookingInstance setUrl(String value) { this.Url = value; return this; }
        public Boolean isVisible() { return Visible; }
        public BookingInstance setVisible(Boolean value) { this.Visible = value; return this; }
        public Boolean isBookable() { return Bookable; }
        public BookingInstance setBookable(Boolean value) { this.Bookable = value; return this; }
        public Integer getNonMemberProductId() { return NonMemberProductId; }
        public BookingInstance setNonMemberProductId(Integer value) { this.NonMemberProductId = value; return this; }
        public Integer getTasterSessionProductId() { return TasterSessionProductId; }
        public BookingInstance setTasterSessionProductId(Integer value) { this.TasterSessionProductId = value; return this; }
        public Boolean isActiveMemberCanBook() { return ActiveMemberCanBook; }
        public BookingInstance setActiveMemberCanBook(Boolean value) { this.ActiveMemberCanBook = value; return this; }
        public Boolean isNonMemberCanBook() { return NonMemberCanBook; }
        public BookingInstance setNonMemberCanBook(Boolean value) { this.NonMemberCanBook = value; return this; }
        public Integer getOnlineBookingTimetableLimit() { return OnlineBookingTimetableLimit; }
        public BookingInstance setOnlineBookingTimetableLimit(Integer value) { this.OnlineBookingTimetableLimit = value; return this; }
        public Integer getOnlineBookingCancellationLimit() { return OnlineBookingCancellationLimit; }
        public BookingInstance setOnlineBookingCancellationLimit(Integer value) { this.OnlineBookingCancellationLimit = value; return this; }
        public Integer getBookingCategoryId() { return BookingCategoryId; }
        public BookingInstance setBookingCategoryId(Integer value) { this.BookingCategoryId = value; return this; }
    }

    public static class ProductInstance
    {
        public Integer ProductId = null;
        public String Group = null;
        public String Name = null;
        public String Description = null;
        public BigDecimal Price = null;
        public BigDecimal VAT = null;
        public BigDecimal TotalPrice = null;
        public Integer ProductType = null;
        public Boolean Deleted = null;
        public Boolean Demo = null;
        public Integer UsageCount = null;
        public Integer StockLevel = null;
        public Integer ReorderFlag = null;
        public Boolean VisibleOnline = null;
        
        public Integer getProductId() { return ProductId; }
        public ProductInstance setProductId(Integer value) { this.ProductId = value; return this; }
        public String getGroup() { return Group; }
        public ProductInstance setGroup(String value) { this.Group = value; return this; }
        public String getName() { return Name; }
        public ProductInstance setName(String value) { this.Name = value; return this; }
        public String getDescription() { return Description; }
        public ProductInstance setDescription(String value) { this.Description = value; return this; }
        public BigDecimal getPrice() { return Price; }
        public ProductInstance setPrice(BigDecimal value) { this.Price = value; return this; }
        public BigDecimal getVat() { return VAT; }
        public ProductInstance setVat(BigDecimal value) { this.VAT = value; return this; }
        public BigDecimal getTotalPrice() { return TotalPrice; }
        public ProductInstance setTotalPrice(BigDecimal value) { this.TotalPrice = value; return this; }
        public Integer getProductType() { return ProductType; }
        public ProductInstance setProductType(Integer value) { this.ProductType = value; return this; }
        public Boolean isDeleted() { return Deleted; }
        public ProductInstance setDeleted(Boolean value) { this.Deleted = value; return this; }
        public Boolean isDemo() { return Demo; }
        public ProductInstance setDemo(Boolean value) { this.Demo = value; return this; }
        public Integer getUsageCount() { return UsageCount; }
        public ProductInstance setUsageCount(Integer value) { this.UsageCount = value; return this; }
        public Integer getStockLevel() { return StockLevel; }
        public ProductInstance setStockLevel(Integer value) { this.StockLevel = value; return this; }
        public Integer getReorderFlag() { return ReorderFlag; }
        public ProductInstance setReorderFlag(Integer value) { this.ReorderFlag = value; return this; }
        public Boolean isVisibleOnline() { return VisibleOnline; }
        public ProductInstance setVisibleOnline(Boolean value) { this.VisibleOnline = value; return this; }
    }

    public static class FacilityInstance
    {
        public Integer FacilityId = null;
        public String Name = null;
        public String Description = null;
        public ScheduleInstance Schedule = null;
        @References(ScheduleInstance.class)
        public Integer ScheduleId = null;

        public String Colour = null;
        public Boolean Bookable = null;
        public Boolean Deleted = null;
        public Boolean Demo = null;
        public String Group = null;
        
        public Integer getFacilityId() { return FacilityId; }
        public FacilityInstance setFacilityId(Integer value) { this.FacilityId = value; return this; }
        public String getName() { return Name; }
        public FacilityInstance setName(String value) { this.Name = value; return this; }
        public String getDescription() { return Description; }
        public FacilityInstance setDescription(String value) { this.Description = value; return this; }
        public ScheduleInstance getSchedule() { return Schedule; }
        public FacilityInstance setSchedule(ScheduleInstance value) { this.Schedule = value; return this; }
        public Integer getScheduleId() { return ScheduleId; }
        public FacilityInstance setScheduleId(Integer value) { this.ScheduleId = value; return this; }
        public String getColour() { return Colour; }
        public FacilityInstance setColour(String value) { this.Colour = value; return this; }
        public Boolean isBookable() { return Bookable; }
        public FacilityInstance setBookable(Boolean value) { this.Bookable = value; return this; }
        public Boolean isDeleted() { return Deleted; }
        public FacilityInstance setDeleted(Boolean value) { this.Deleted = value; return this; }
        public Boolean isDemo() { return Demo; }
        public FacilityInstance setDemo(Boolean value) { this.Demo = value; return this; }
        public String getGroup() { return Group; }
        public FacilityInstance setGroup(String value) { this.Group = value; return this; }
    }

    public static class ScheduleInstance
    {
        public Integer ScheduleId = null;
        public String Name = null;
        public String Description = null;
        public TimeSpan MondayFrom = null;
        public TimeSpan MondayTo = null;
        public TimeSpan TuesdayFrom = null;
        public TimeSpan TuesdayTo = null;
        public TimeSpan WednesdayFrom = null;
        public TimeSpan WednesdayTo = null;
        public TimeSpan ThursdayFrom = null;
        public TimeSpan ThursdayTo = null;
        public TimeSpan FridayFrom = null;
        public TimeSpan FridayTo = null;
        public TimeSpan SaturdayFrom = null;
        public TimeSpan SaturdayTo = null;
        public TimeSpan SundayFrom = null;
        public TimeSpan SundayTo = null;
        public Integer ScheduleType = null;
        public Boolean Deleted = null;
        public Boolean Demo = null;
        
        public Integer getScheduleId() { return ScheduleId; }
        public ScheduleInstance setScheduleId(Integer value) { this.ScheduleId = value; return this; }
        public String getName() { return Name; }
        public ScheduleInstance setName(String value) { this.Name = value; return this; }
        public String getDescription() { return Description; }
        public ScheduleInstance setDescription(String value) { this.Description = value; return this; }
        public TimeSpan getMondayFrom() { return MondayFrom; }
        public ScheduleInstance setMondayFrom(TimeSpan value) { this.MondayFrom = value; return this; }
        public TimeSpan getMondayTo() { return MondayTo; }
        public ScheduleInstance setMondayTo(TimeSpan value) { this.MondayTo = value; return this; }
        public TimeSpan getTuesdayFrom() { return TuesdayFrom; }
        public ScheduleInstance setTuesdayFrom(TimeSpan value) { this.TuesdayFrom = value; return this; }
        public TimeSpan getTuesdayTo() { return TuesdayTo; }
        public ScheduleInstance setTuesdayTo(TimeSpan value) { this.TuesdayTo = value; return this; }
        public TimeSpan getWednesdayFrom() { return WednesdayFrom; }
        public ScheduleInstance setWednesdayFrom(TimeSpan value) { this.WednesdayFrom = value; return this; }
        public TimeSpan getWednesdayTo() { return WednesdayTo; }
        public ScheduleInstance setWednesdayTo(TimeSpan value) { this.WednesdayTo = value; return this; }
        public TimeSpan getThursdayFrom() { return ThursdayFrom; }
        public ScheduleInstance setThursdayFrom(TimeSpan value) { this.ThursdayFrom = value; return this; }
        public TimeSpan getThursdayTo() { return ThursdayTo; }
        public ScheduleInstance setThursdayTo(TimeSpan value) { this.ThursdayTo = value; return this; }
        public TimeSpan getFridayFrom() { return FridayFrom; }
        public ScheduleInstance setFridayFrom(TimeSpan value) { this.FridayFrom = value; return this; }
        public TimeSpan getFridayTo() { return FridayTo; }
        public ScheduleInstance setFridayTo(TimeSpan value) { this.FridayTo = value; return this; }
        public TimeSpan getSaturdayFrom() { return SaturdayFrom; }
        public ScheduleInstance setSaturdayFrom(TimeSpan value) { this.SaturdayFrom = value; return this; }
        public TimeSpan getSaturdayTo() { return SaturdayTo; }
        public ScheduleInstance setSaturdayTo(TimeSpan value) { this.SaturdayTo = value; return this; }
        public TimeSpan getSundayFrom() { return SundayFrom; }
        public ScheduleInstance setSundayFrom(TimeSpan value) { this.SundayFrom = value; return this; }
        public TimeSpan getSundayTo() { return SundayTo; }
        public ScheduleInstance setSundayTo(TimeSpan value) { this.SundayTo = value; return this; }
        public Integer getScheduleType() { return ScheduleType; }
        public ScheduleInstance setScheduleType(Integer value) { this.ScheduleType = value; return this; }
        public Boolean isDeleted() { return Deleted; }
        public ScheduleInstance setDeleted(Boolean value) { this.Deleted = value; return this; }
        public Boolean isDemo() { return Demo; }
        public ScheduleInstance setDemo(Boolean value) { this.Demo = value; return this; }
    }

    public static class StaffInstance
    {
        public Integer StaffId = null;
        public String Name = null;
        public ScheduleInstance Schedule = null;
        @References(ScheduleInstance.class)
        public Integer ScheduleId = null;

        public Boolean Deleted = null;
        public Boolean Demo = null;
        public String Group = null;
        public String Profile = null;
        public Boolean FirstAidTrained = null;
        public Date DBSCheck = null;
        public Date InsuranceExpires = null;
        
        public Integer getStaffId() { return StaffId; }
        public StaffInstance setStaffId(Integer value) { this.StaffId = value; return this; }
        public String getName() { return Name; }
        public StaffInstance setName(String value) { this.Name = value; return this; }
        public ScheduleInstance getSchedule() { return Schedule; }
        public StaffInstance setSchedule(ScheduleInstance value) { this.Schedule = value; return this; }
        public Integer getScheduleId() { return ScheduleId; }
        public StaffInstance setScheduleId(Integer value) { this.ScheduleId = value; return this; }
        public Boolean isDeleted() { return Deleted; }
        public StaffInstance setDeleted(Boolean value) { this.Deleted = value; return this; }
        public Boolean isDemo() { return Demo; }
        public StaffInstance setDemo(Boolean value) { this.Demo = value; return this; }
        public String getGroup() { return Group; }
        public StaffInstance setGroup(String value) { this.Group = value; return this; }
        public String getProfile() { return Profile; }
        public StaffInstance setProfile(String value) { this.Profile = value; return this; }
        public Boolean isFirstAidTrained() { return FirstAidTrained; }
        public StaffInstance setFirstAidTrained(Boolean value) { this.FirstAidTrained = value; return this; }
        public Date getDbsCheck() { return DBSCheck; }
        public StaffInstance setDbsCheck(Date value) { this.DBSCheck = value; return this; }
        public Date getInsuranceExpires() { return InsuranceExpires; }
        public StaffInstance setInsuranceExpires(Date value) { this.InsuranceExpires = value; return this; }
    }

    public static class MemberInstance
    {
        public Integer MemberId = null;
        public Integer MemberType = null;
        public String MembershipNumber = null;
        public String CardNumber = null;
        public String CompanyName = null;
        public String Surname = null;
        public String Forenames = null;
        public String Title = null;
        public Integer Gender = null;
        public Date DateOfBirth = null;
        public String Address1 = null;
        public String Address2 = null;
        public String City = null;
        public String County = null;
        public String Postcode = null;
        public String HomePhone = null;
        public String MobilePhone = null;
        public String EmailAddress = null;
        public Boolean EmailOptOut = null;
        public Boolean SmsOptOut = null;
        public Boolean PhoneOptOut = null;
        public Boolean LetterOptOut = null;
        public String DirectDebitAccountHolder = null;
        public String DirectDebitAccountNumber = null;
        public String DirectDebitSortCode = null;
        public Date JoinedDate = null;
        public String DirectDebitBankAddress = null;
        public String FullName = null;
        public String ExternalReference = null;
        public byte[] Photo = null;
        public Date PhotoModifiedDate = null;
        public String Notes = null;
        public Boolean Deleted = null;
        public Boolean Demo = null;
        public Boolean UseExternalStatus = null;
        public Integer ExternalStatus = null;
        public String FreeText = null;
        public UUID MemberKey = null;
        public BigDecimal Balance = null;
        public BigDecimal CreditLimit = null;
        public Date CreatedDate = null;
        public Date ModifiedDate = null;
        public Date DeletedDate = null;
        public Integer ExternalSource = null;
        public BigDecimal RetentionMetric = null;
        public BigDecimal MonthlyAttendanceFrequency = null;
        public Integer AssignedToUserId = null;
        public Integer CreatedByUserId = null;
        public Integer DeletedByUserId = null;
        public LossReasonInstance LossReason = null;
        @References(LossReasonInstance.class)
        public Integer LossReasonId = null;

        public Integer WonOrLost = null;
        public Date WonOrLostDate = null;
        public Boolean GiftAidPermission = null;
        public Boolean PhotoPermission = null;
        public Boolean FirstAidPermission = null;
        public String EmergencyContact = null;
        public UserInstance WonOrLostByUser = null;
        @References(UserInstance.class)
        public Integer WonOrLostByUserId = null;

        public Date AgreedToTerms = null;
        public Boolean OnlineBookingBanned = null;
        public String Country = null;
        public Date FingerprintEnrolled = null;
        public BigDecimal LastPaymentAmount = null;
        public String Pin = null;
        public Integer ProspectingPoints = null;
        public Integer AchievementPoints = null;
        public String ParentForenames = null;
        public String ParentSurname = null;
        
        public Integer getMemberId() { return MemberId; }
        public MemberInstance setMemberId(Integer value) { this.MemberId = value; return this; }
        public Integer getMemberType() { return MemberType; }
        public MemberInstance setMemberType(Integer value) { this.MemberType = value; return this; }
        public String getMembershipNumber() { return MembershipNumber; }
        public MemberInstance setMembershipNumber(String value) { this.MembershipNumber = value; return this; }
        public String getCardNumber() { return CardNumber; }
        public MemberInstance setCardNumber(String value) { this.CardNumber = value; return this; }
        public String getCompanyName() { return CompanyName; }
        public MemberInstance setCompanyName(String value) { this.CompanyName = value; return this; }
        public String getSurname() { return Surname; }
        public MemberInstance setSurname(String value) { this.Surname = value; return this; }
        public String getForenames() { return Forenames; }
        public MemberInstance setForenames(String value) { this.Forenames = value; return this; }
        public String getTitle() { return Title; }
        public MemberInstance setTitle(String value) { this.Title = value; return this; }
        public Integer getGender() { return Gender; }
        public MemberInstance setGender(Integer value) { this.Gender = value; return this; }
        public Date getDateOfBirth() { return DateOfBirth; }
        public MemberInstance setDateOfBirth(Date value) { this.DateOfBirth = value; return this; }
        public String getAddress1() { return Address1; }
        public MemberInstance setAddress1(String value) { this.Address1 = value; return this; }
        public String getAddress2() { return Address2; }
        public MemberInstance setAddress2(String value) { this.Address2 = value; return this; }
        public String getCity() { return City; }
        public MemberInstance setCity(String value) { this.City = value; return this; }
        public String getCounty() { return County; }
        public MemberInstance setCounty(String value) { this.County = value; return this; }
        public String getPostcode() { return Postcode; }
        public MemberInstance setPostcode(String value) { this.Postcode = value; return this; }
        public String getHomePhone() { return HomePhone; }
        public MemberInstance setHomePhone(String value) { this.HomePhone = value; return this; }
        public String getMobilePhone() { return MobilePhone; }
        public MemberInstance setMobilePhone(String value) { this.MobilePhone = value; return this; }
        public String getEmailAddress() { return EmailAddress; }
        public MemberInstance setEmailAddress(String value) { this.EmailAddress = value; return this; }
        public Boolean isEmailOptOut() { return EmailOptOut; }
        public MemberInstance setEmailOptOut(Boolean value) { this.EmailOptOut = value; return this; }
        public Boolean isSmsOptOut() { return SmsOptOut; }
        public MemberInstance setSmsOptOut(Boolean value) { this.SmsOptOut = value; return this; }
        public Boolean isPhoneOptOut() { return PhoneOptOut; }
        public MemberInstance setPhoneOptOut(Boolean value) { this.PhoneOptOut = value; return this; }
        public Boolean isLetterOptOut() { return LetterOptOut; }
        public MemberInstance setLetterOptOut(Boolean value) { this.LetterOptOut = value; return this; }
        public String getDirectDebitAccountHolder() { return DirectDebitAccountHolder; }
        public MemberInstance setDirectDebitAccountHolder(String value) { this.DirectDebitAccountHolder = value; return this; }
        public String getDirectDebitAccountNumber() { return DirectDebitAccountNumber; }
        public MemberInstance setDirectDebitAccountNumber(String value) { this.DirectDebitAccountNumber = value; return this; }
        public String getDirectDebitSortCode() { return DirectDebitSortCode; }
        public MemberInstance setDirectDebitSortCode(String value) { this.DirectDebitSortCode = value; return this; }
        public Date getJoinedDate() { return JoinedDate; }
        public MemberInstance setJoinedDate(Date value) { this.JoinedDate = value; return this; }
        public String getDirectDebitBankAddress() { return DirectDebitBankAddress; }
        public MemberInstance setDirectDebitBankAddress(String value) { this.DirectDebitBankAddress = value; return this; }
        public String getFullName() { return FullName; }
        public MemberInstance setFullName(String value) { this.FullName = value; return this; }
        public String getExternalReference() { return ExternalReference; }
        public MemberInstance setExternalReference(String value) { this.ExternalReference = value; return this; }
        public byte[] getPhoto() { return Photo; }
        public MemberInstance setPhoto(byte[] value) { this.Photo = value; return this; }
        public Date getPhotoModifiedDate() { return PhotoModifiedDate; }
        public MemberInstance setPhotoModifiedDate(Date value) { this.PhotoModifiedDate = value; return this; }
        public String getNotes() { return Notes; }
        public MemberInstance setNotes(String value) { this.Notes = value; return this; }
        public Boolean isDeleted() { return Deleted; }
        public MemberInstance setDeleted(Boolean value) { this.Deleted = value; return this; }
        public Boolean isDemo() { return Demo; }
        public MemberInstance setDemo(Boolean value) { this.Demo = value; return this; }
        public Boolean isUseExternalStatus() { return UseExternalStatus; }
        public MemberInstance setUseExternalStatus(Boolean value) { this.UseExternalStatus = value; return this; }
        public Integer getExternalStatus() { return ExternalStatus; }
        public MemberInstance setExternalStatus(Integer value) { this.ExternalStatus = value; return this; }
        public String getFreeText() { return FreeText; }
        public MemberInstance setFreeText(String value) { this.FreeText = value; return this; }
        public UUID getMemberKey() { return MemberKey; }
        public MemberInstance setMemberKey(UUID value) { this.MemberKey = value; return this; }
        public BigDecimal getBalance() { return Balance; }
        public MemberInstance setBalance(BigDecimal value) { this.Balance = value; return this; }
        public BigDecimal getCreditLimit() { return CreditLimit; }
        public MemberInstance setCreditLimit(BigDecimal value) { this.CreditLimit = value; return this; }
        public Date getCreatedDate() { return CreatedDate; }
        public MemberInstance setCreatedDate(Date value) { this.CreatedDate = value; return this; }
        public Date getModifiedDate() { return ModifiedDate; }
        public MemberInstance setModifiedDate(Date value) { this.ModifiedDate = value; return this; }
        public Date getDeletedDate() { return DeletedDate; }
        public MemberInstance setDeletedDate(Date value) { this.DeletedDate = value; return this; }
        public Integer getExternalSource() { return ExternalSource; }
        public MemberInstance setExternalSource(Integer value) { this.ExternalSource = value; return this; }
        public BigDecimal getRetentionMetric() { return RetentionMetric; }
        public MemberInstance setRetentionMetric(BigDecimal value) { this.RetentionMetric = value; return this; }
        public BigDecimal getMonthlyAttendanceFrequency() { return MonthlyAttendanceFrequency; }
        public MemberInstance setMonthlyAttendanceFrequency(BigDecimal value) { this.MonthlyAttendanceFrequency = value; return this; }
        public Integer getAssignedToUserId() { return AssignedToUserId; }
        public MemberInstance setAssignedToUserId(Integer value) { this.AssignedToUserId = value; return this; }
        public Integer getCreatedByUserId() { return CreatedByUserId; }
        public MemberInstance setCreatedByUserId(Integer value) { this.CreatedByUserId = value; return this; }
        public Integer getDeletedByUserId() { return DeletedByUserId; }
        public MemberInstance setDeletedByUserId(Integer value) { this.DeletedByUserId = value; return this; }
        public LossReasonInstance getLossReason() { return LossReason; }
        public MemberInstance setLossReason(LossReasonInstance value) { this.LossReason = value; return this; }
        public Integer getLossReasonId() { return LossReasonId; }
        public MemberInstance setLossReasonId(Integer value) { this.LossReasonId = value; return this; }
        public Integer getWonOrLost() { return WonOrLost; }
        public MemberInstance setWonOrLost(Integer value) { this.WonOrLost = value; return this; }
        public Date getWonOrLostDate() { return WonOrLostDate; }
        public MemberInstance setWonOrLostDate(Date value) { this.WonOrLostDate = value; return this; }
        public Boolean isGiftAidPermission() { return GiftAidPermission; }
        public MemberInstance setGiftAidPermission(Boolean value) { this.GiftAidPermission = value; return this; }
        public Boolean isPhotoPermission() { return PhotoPermission; }
        public MemberInstance setPhotoPermission(Boolean value) { this.PhotoPermission = value; return this; }
        public Boolean isFirstAidPermission() { return FirstAidPermission; }
        public MemberInstance setFirstAidPermission(Boolean value) { this.FirstAidPermission = value; return this; }
        public String getEmergencyContact() { return EmergencyContact; }
        public MemberInstance setEmergencyContact(String value) { this.EmergencyContact = value; return this; }
        public UserInstance getWonOrLostByUser() { return WonOrLostByUser; }
        public MemberInstance setWonOrLostByUser(UserInstance value) { this.WonOrLostByUser = value; return this; }
        public Integer getWonOrLostByUserId() { return WonOrLostByUserId; }
        public MemberInstance setWonOrLostByUserId(Integer value) { this.WonOrLostByUserId = value; return this; }
        public Date getAgreedToTerms() { return AgreedToTerms; }
        public MemberInstance setAgreedToTerms(Date value) { this.AgreedToTerms = value; return this; }
        public Boolean isOnlineBookingBanned() { return OnlineBookingBanned; }
        public MemberInstance setOnlineBookingBanned(Boolean value) { this.OnlineBookingBanned = value; return this; }
        public String getCountry() { return Country; }
        public MemberInstance setCountry(String value) { this.Country = value; return this; }
        public Date getFingerprintEnrolled() { return FingerprintEnrolled; }
        public MemberInstance setFingerprintEnrolled(Date value) { this.FingerprintEnrolled = value; return this; }
        public BigDecimal getLastPaymentAmount() { return LastPaymentAmount; }
        public MemberInstance setLastPaymentAmount(BigDecimal value) { this.LastPaymentAmount = value; return this; }
        public String getPin() { return Pin; }
        public MemberInstance setPin(String value) { this.Pin = value; return this; }
        public Integer getProspectingPoints() { return ProspectingPoints; }
        public MemberInstance setProspectingPoints(Integer value) { this.ProspectingPoints = value; return this; }
        public Integer getAchievementPoints() { return AchievementPoints; }
        public MemberInstance setAchievementPoints(Integer value) { this.AchievementPoints = value; return this; }
        public String getParentForenames() { return ParentForenames; }
        public MemberInstance setParentForenames(String value) { this.ParentForenames = value; return this; }
        public String getParentSurname() { return ParentSurname; }
        public MemberInstance setParentSurname(String value) { this.ParentSurname = value; return this; }
    }

    public static class LossReasonInstance
    {
        public Integer LossReasonId = null;
        public String Reason = null;
        public Boolean Deleted = null;
        public Boolean Demo = null;
        public Boolean Selectable = null;
        
        public Integer getLossReasonId() { return LossReasonId; }
        public LossReasonInstance setLossReasonId(Integer value) { this.LossReasonId = value; return this; }
        public String getReason() { return Reason; }
        public LossReasonInstance setReason(String value) { this.Reason = value; return this; }
        public Boolean isDeleted() { return Deleted; }
        public LossReasonInstance setDeleted(Boolean value) { this.Deleted = value; return this; }
        public Boolean isDemo() { return Demo; }
        public LossReasonInstance setDemo(Boolean value) { this.Demo = value; return this; }
        public Boolean isSelectable() { return Selectable; }
        public LossReasonInstance setSelectable(Boolean value) { this.Selectable = value; return this; }
    }

    public static class UserInstance
    {
        public Integer UserId = null;
        public String UserName = null;
        public String Name = null;
        public String Email = null;
        public String MobilePhone = null;
        public Boolean Enabled = null;
        public Date LastLogin = null;
        public Date Created = null;
        public Boolean Training = null;
        public Boolean Deleted = null;
        public Integer CoursesCompleted = null;
        public Boolean DisplayHomeNotification = null;
        public Boolean TwoFactorEnabled = null;
        public Boolean EmailConfirmed = null;
        public Boolean MobilePhoneConfirmed = null;
        public Boolean Notifications = null;
        public Date ChangePassword = null;
        public Date Activated = null;
        
        public Integer getUserId() { return UserId; }
        public UserInstance setUserId(Integer value) { this.UserId = value; return this; }
        public String getUserName() { return UserName; }
        public UserInstance setUserName(String value) { this.UserName = value; return this; }
        public String getName() { return Name; }
        public UserInstance setName(String value) { this.Name = value; return this; }
        public String getEmail() { return Email; }
        public UserInstance setEmail(String value) { this.Email = value; return this; }
        public String getMobilePhone() { return MobilePhone; }
        public UserInstance setMobilePhone(String value) { this.MobilePhone = value; return this; }
        public Boolean isEnabled() { return Enabled; }
        public UserInstance setEnabled(Boolean value) { this.Enabled = value; return this; }
        public Date getLastLogin() { return LastLogin; }
        public UserInstance setLastLogin(Date value) { this.LastLogin = value; return this; }
        public Date getCreated() { return Created; }
        public UserInstance setCreated(Date value) { this.Created = value; return this; }
        public Boolean isTraining() { return Training; }
        public UserInstance setTraining(Boolean value) { this.Training = value; return this; }
        public Boolean isDeleted() { return Deleted; }
        public UserInstance setDeleted(Boolean value) { this.Deleted = value; return this; }
        public Integer getCoursesCompleted() { return CoursesCompleted; }
        public UserInstance setCoursesCompleted(Integer value) { this.CoursesCompleted = value; return this; }
        public Boolean isDisplayHomeNotification() { return DisplayHomeNotification; }
        public UserInstance setDisplayHomeNotification(Boolean value) { this.DisplayHomeNotification = value; return this; }
        public Boolean isTwoFactorEnabled() { return TwoFactorEnabled; }
        public UserInstance setTwoFactorEnabled(Boolean value) { this.TwoFactorEnabled = value; return this; }
        public Boolean isEmailConfirmed() { return EmailConfirmed; }
        public UserInstance setEmailConfirmed(Boolean value) { this.EmailConfirmed = value; return this; }
        public Boolean isMobilePhoneConfirmed() { return MobilePhoneConfirmed; }
        public UserInstance setMobilePhoneConfirmed(Boolean value) { this.MobilePhoneConfirmed = value; return this; }
        public Boolean isNotifications() { return Notifications; }
        public UserInstance setNotifications(Boolean value) { this.Notifications = value; return this; }
        public Date getChangePassword() { return ChangePassword; }
        public UserInstance setChangePassword(Date value) { this.ChangePassword = value; return this; }
        public Date getActivated() { return Activated; }
        public UserInstance setActivated(Date value) { this.Activated = value; return this; }
    }

    public static class MembershipTypeInstance
    {
        public Integer MembershipTypeId = null;
        public String Name = null;
        public String Description = null;
        public String Definition = null;
        public ScheduleInstance Schedule = null;
        @References(ScheduleInstance.class)
        public Integer ScheduleId = null;

        public Boolean Deleted = null;
        public Boolean Demo = null;
        public Boolean Public = null;
        public Integer SessionsRemaining = null;
        public Integer ClassesRemaining = null;
        public Integer SortOrder = null;
        public Boolean Special = null;
        public Boolean MultiSiteAccess = null;
        public Integer MemberLimit = null;
        public String PromotionCode = null;
        public Date PromotionStart = null;
        public Date PromotionEnd = null;
        public Integer LicensesRemaining = null;
        public Boolean BookingAccessOnly = null;
        public Integer SessionsPeriod = null;
        public Integer SessionsFrequency = null;
        public Date StartsOn = null;
        public Boolean AllowSelectionAfterStartsOn = null;
        
        public Integer getMembershipTypeId() { return MembershipTypeId; }
        public MembershipTypeInstance setMembershipTypeId(Integer value) { this.MembershipTypeId = value; return this; }
        public String getName() { return Name; }
        public MembershipTypeInstance setName(String value) { this.Name = value; return this; }
        public String getDescription() { return Description; }
        public MembershipTypeInstance setDescription(String value) { this.Description = value; return this; }
        public String getDefinition() { return Definition; }
        public MembershipTypeInstance setDefinition(String value) { this.Definition = value; return this; }
        public ScheduleInstance getSchedule() { return Schedule; }
        public MembershipTypeInstance setSchedule(ScheduleInstance value) { this.Schedule = value; return this; }
        public Integer getScheduleId() { return ScheduleId; }
        public MembershipTypeInstance setScheduleId(Integer value) { this.ScheduleId = value; return this; }
        public Boolean isDeleted() { return Deleted; }
        public MembershipTypeInstance setDeleted(Boolean value) { this.Deleted = value; return this; }
        public Boolean isDemo() { return Demo; }
        public MembershipTypeInstance setDemo(Boolean value) { this.Demo = value; return this; }
        public Boolean isPublic() { return Public; }
        public MembershipTypeInstance setPublic(Boolean value) { this.Public = value; return this; }
        public Integer getSessionsRemaining() { return SessionsRemaining; }
        public MembershipTypeInstance setSessionsRemaining(Integer value) { this.SessionsRemaining = value; return this; }
        public Integer getClassesRemaining() { return ClassesRemaining; }
        public MembershipTypeInstance setClassesRemaining(Integer value) { this.ClassesRemaining = value; return this; }
        public Integer getSortOrder() { return SortOrder; }
        public MembershipTypeInstance setSortOrder(Integer value) { this.SortOrder = value; return this; }
        public Boolean isSpecial() { return Special; }
        public MembershipTypeInstance setSpecial(Boolean value) { this.Special = value; return this; }
        public Boolean isMultiSiteAccess() { return MultiSiteAccess; }
        public MembershipTypeInstance setMultiSiteAccess(Boolean value) { this.MultiSiteAccess = value; return this; }
        public Integer getMemberLimit() { return MemberLimit; }
        public MembershipTypeInstance setMemberLimit(Integer value) { this.MemberLimit = value; return this; }
        public String getPromotionCode() { return PromotionCode; }
        public MembershipTypeInstance setPromotionCode(String value) { this.PromotionCode = value; return this; }
        public Date getPromotionStart() { return PromotionStart; }
        public MembershipTypeInstance setPromotionStart(Date value) { this.PromotionStart = value; return this; }
        public Date getPromotionEnd() { return PromotionEnd; }
        public MembershipTypeInstance setPromotionEnd(Date value) { this.PromotionEnd = value; return this; }
        public Integer getLicensesRemaining() { return LicensesRemaining; }
        public MembershipTypeInstance setLicensesRemaining(Integer value) { this.LicensesRemaining = value; return this; }
        public Boolean isBookingAccessOnly() { return BookingAccessOnly; }
        public MembershipTypeInstance setBookingAccessOnly(Boolean value) { this.BookingAccessOnly = value; return this; }
        public Integer getSessionsPeriod() { return SessionsPeriod; }
        public MembershipTypeInstance setSessionsPeriod(Integer value) { this.SessionsPeriod = value; return this; }
        public Integer getSessionsFrequency() { return SessionsFrequency; }
        public MembershipTypeInstance setSessionsFrequency(Integer value) { this.SessionsFrequency = value; return this; }
        public Date getStartsOn() { return StartsOn; }
        public MembershipTypeInstance setStartsOn(Date value) { this.StartsOn = value; return this; }
        public Boolean isAllowSelectionAfterStartsOn() { return AllowSelectionAfterStartsOn; }
        public MembershipTypeInstance setAllowSelectionAfterStartsOn(Boolean value) { this.AllowSelectionAfterStartsOn = value; return this; }
    }

    @DataContract
    public static class QueryResponse<T>
    {
        @DataMember(Order=1)
        public Integer Offset = null;

        @DataMember(Order=2)
        public Integer Total = null;

        @DataMember(Order=3)
        public ArrayList<T> Results = null;

        @DataMember(Order=4)
        public HashMap<String,String> Meta = null;

        @DataMember(Order=5)
        public ResponseStatus ResponseStatus = null;
        
        public Integer getOffset() { return Offset; }
        public QueryResponse<T> setOffset(Integer value) { this.Offset = value; return this; }
        public Integer getTotal() { return Total; }
        public QueryResponse<T> setTotal(Integer value) { this.Total = value; return this; }
        public ArrayList<T> getResults() { return Results; }
        public QueryResponse<T> setResults(ArrayList<T> value) { this.Results = value; return this; }
        public HashMap<String,String> getMeta() { return Meta; }
        public QueryResponse<T> setMeta(HashMap<String,String> value) { this.Meta = value; return this; }
        public ResponseStatus getResponseStatus() { return ResponseStatus; }
        public QueryResponse<T> setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; }
    }

}

Java FindBookingMembershipType DTOs

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

HTTP + JSV

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

POST /api/Query/BookingMembershipType HTTP/1.1 
Host: api.clubmanagercentral.com 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	Skip: 0,
	Take: 0,
	OrderBy: String,
	OrderByDesc: String,
	Include: String,
	Fields: String,
	Meta: 
	{
		String: String
	}
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	Offset: 0,
	Total: 0,
	Results: 
	[
		{
			BookingMembershipTypeId: 0,
			Booking: 
			{
				BookingId: 0,
				Name: String,
				Notes: String,
				StartDate: 0001-01-01,
				Duration: 0,
				AllDay: False,
				Recurrence: String,
				UseRecurrence: False,
				MinAttendees: 0,
				MaxAttendees: 0,
				Product: 
				{
					ProductId: 0,
					Group: String,
					Name: String,
					Description: String,
					Price: 0,
					VAT: 0,
					TotalPrice: 0,
					ProductType: 0,
					Deleted: False,
					Demo: False,
					UsageCount: 0,
					StockLevel: 0,
					ReorderFlag: 0,
					VisibleOnline: False
				},
				ProductId: 0,
				Facility: 
				{
					FacilityId: 0,
					Name: String,
					Description: String,
					Schedule: 
					{
						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,
						Deleted: False,
						Demo: False
					},
					ScheduleId: 0,
					Colour: String,
					Bookable: False,
					Deleted: False,
					Demo: False,
					Group: String
				},
				FacilityId: 0,
				Staff: 
				{
					StaffId: 0,
					Name: String,
					Schedule: 
					{
						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,
						Deleted: False,
						Demo: False
					},
					ScheduleId: 0,
					Deleted: False,
					Demo: False,
					Group: String,
					Profile: String,
					FirstAidTrained: False,
					DBSCheck: 0001-01-01,
					InsuranceExpires: 0001-01-01
				},
				StaffId: 0,
				ParentBooking: 
				{
					BookingId: 0,
					Name: String,
					Notes: String,
					StartDate: 0001-01-01,
					Duration: 0,
					AllDay: False,
					Recurrence: String,
					UseRecurrence: False,
					MinAttendees: 0,
					MaxAttendees: 0,
					Product: 
					{
						ProductId: 0,
						Group: String,
						Name: String,
						Description: String,
						Price: 0,
						VAT: 0,
						TotalPrice: 0,
						ProductType: 0,
						Deleted: False,
						Demo: False,
						UsageCount: 0,
						StockLevel: 0,
						ReorderFlag: 0,
						VisibleOnline: False
					},
					ProductId: 0,
					Facility: 
					{
						FacilityId: 0,
						Name: String,
						Description: String,
						Schedule: 
						{
							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,
							Deleted: False,
							Demo: False
						},
						ScheduleId: 0,
						Colour: String,
						Bookable: False,
						Deleted: False,
						Demo: False,
						Group: String
					},
					FacilityId: 0,
					Staff: 
					{
						StaffId: 0,
						Name: String,
						Schedule: 
						{
							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,
							Deleted: False,
							Demo: False
						},
						ScheduleId: 0,
						Deleted: False,
						Demo: False,
						Group: String,
						Profile: String,
						FirstAidTrained: False,
						DBSCheck: 0001-01-01,
						InsuranceExpires: 0001-01-01
					},
					StaffId: 0,
					ParentBooking: 
					{
						BookingId: 0,
						Name: String,
						Notes: String,
						StartDate: 0001-01-01,
						Duration: 0,
						AllDay: False,
						Recurrence: String,
						UseRecurrence: False,
						MinAttendees: 0,
						MaxAttendees: 0,
						Product: 
						{
							ProductId: 0,
							Group: String,
							Name: String,
							Description: String,
							Price: 0,
							VAT: 0,
							TotalPrice: 0,
							ProductType: 0,
							Deleted: False,
							Demo: False,
							UsageCount: 0,
							StockLevel: 0,
							ReorderFlag: 0,
							VisibleOnline: False
						},
						ProductId: 0,
						Facility: 
						{
							FacilityId: 0,
							Name: String,
							Description: String,
							Schedule: 
							{
								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,
								Deleted: False,
								Demo: False
							},
							ScheduleId: 0,
							Colour: String,
							Bookable: False,
							Deleted: False,
							Demo: False,
							Group: String
						},
						FacilityId: 0,
						Staff: 
						{
							StaffId: 0,
							Name: String,
							Schedule: 
							{
								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,
								Deleted: False,
								Demo: False
							},
							ScheduleId: 0,
							Deleted: False,
							Demo: False,
							Group: String,
							Profile: String,
							FirstAidTrained: False,
							DBSCheck: 0001-01-01,
							InsuranceExpires: 0001-01-01
						},
						StaffId: 0,
						ParentBookingId: 0,
						SeriesIndex: 0,
						Deleted: False,
						Demo: False,
						Member: 
						{
							MemberId: 0,
							MemberType: 0,
							MembershipNumber: String,
							CardNumber: String,
							CompanyName: String,
							Surname: String,
							Forenames: String,
							Title: String,
							Gender: 0,
							DateOfBirth: 0001-01-01,
							Address1: String,
							Address2: String,
							City: String,
							County: String,
							Postcode: String,
							HomePhone: String,
							MobilePhone: String,
							EmailAddress: String,
							EmailOptOut: False,
							SmsOptOut: False,
							PhoneOptOut: False,
							LetterOptOut: False,
							DirectDebitAccountHolder: String,
							DirectDebitAccountNumber: String,
							DirectDebitSortCode: String,
							JoinedDate: 0001-01-01,
							DirectDebitBankAddress: String,
							FullName: String,
							ExternalReference: String,
							Photo: AA==,
							PhotoModifiedDate: 0001-01-01,
							Notes: String,
							Deleted: False,
							Demo: False,
							UseExternalStatus: False,
							ExternalStatus: 0,
							FreeText: String,
							MemberKey: 00000000000000000000000000000000,
							Balance: 0,
							CreditLimit: 0,
							CreatedDate: 0001-01-01,
							ModifiedDate: 0001-01-01,
							DeletedDate: 0001-01-01,
							ExternalSource: 0,
							RetentionMetric: 0,
							MonthlyAttendanceFrequency: 0,
							AssignedToUserId: 0,
							CreatedByUserId: 0,
							DeletedByUserId: 0,
							LossReason: 
							{
								LossReasonId: 0,
								Reason: String,
								Deleted: False,
								Demo: False,
								Selectable: False
							},
							LossReasonId: 0,
							WonOrLost: 0,
							WonOrLostDate: 0001-01-01,
							GiftAidPermission: False,
							PhotoPermission: False,
							FirstAidPermission: False,
							EmergencyContact: String,
							WonOrLostByUser: 
							{
								UserId: 0,
								UserName: String,
								Name: String,
								Email: String,
								MobilePhone: String,
								Enabled: False,
								LastLogin: 0001-01-01,
								Created: 0001-01-01,
								Training: False,
								Deleted: False,
								CoursesCompleted: 0,
								DisplayHomeNotification: False,
								TwoFactorEnabled: False,
								EmailConfirmed: False,
								MobilePhoneConfirmed: False,
								Notifications: False,
								ChangePassword: 0001-01-01,
								Activated: 0001-01-01
							},
							WonOrLostByUserId: 0,
							AgreedToTerms: 0001-01-01,
							OnlineBookingBanned: False,
							Country: String,
							FingerprintEnrolled: 0001-01-01,
							LastPaymentAmount: 0,
							Pin: String,
							ProspectingPoints: 0,
							AchievementPoints: 0,
							ParentForenames: String,
							ParentSurname: String
						},
						MemberId: 0,
						EndDate: 0001-01-01,
						TasterSession: False,
						ImmediatePayment: False,
						GradingEvent: False,
						Url: String,
						Visible: False,
						Bookable: False,
						NonMemberProductId: 0,
						TasterSessionProductId: 0,
						ActiveMemberCanBook: False,
						NonMemberCanBook: False,
						OnlineBookingTimetableLimit: 0,
						OnlineBookingCancellationLimit: 0,
						BookingCategoryId: 0
					},
					ParentBookingId: 0,
					SeriesIndex: 0,
					Deleted: False,
					Demo: False,
					Member: 
					{
						MemberId: 0,
						MemberType: 0,
						MembershipNumber: String,
						CardNumber: String,
						CompanyName: String,
						Surname: String,
						Forenames: String,
						Title: String,
						Gender: 0,
						DateOfBirth: 0001-01-01,
						Address1: String,
						Address2: String,
						City: String,
						County: String,
						Postcode: String,
						HomePhone: String,
						MobilePhone: String,
						EmailAddress: String,
						EmailOptOut: False,
						SmsOptOut: False,
						PhoneOptOut: False,
						LetterOptOut: False,
						DirectDebitAccountHolder: String,
						DirectDebitAccountNumber: String,
						DirectDebitSortCode: String,
						JoinedDate: 0001-01-01,
						DirectDebitBankAddress: String,
						FullName: String,
						ExternalReference: String,
						Photo: AA==,
						PhotoModifiedDate: 0001-01-01,
						Notes: String,
						Deleted: False,
						Demo: False,
						UseExternalStatus: False,
						ExternalStatus: 0,
						FreeText: String,
						MemberKey: 00000000000000000000000000000000,
						Balance: 0,
						CreditLimit: 0,
						CreatedDate: 0001-01-01,
						ModifiedDate: 0001-01-01,
						DeletedDate: 0001-01-01,
						ExternalSource: 0,
						RetentionMetric: 0,
						MonthlyAttendanceFrequency: 0,
						AssignedToUserId: 0,
						CreatedByUserId: 0,
						DeletedByUserId: 0,
						LossReason: 
						{
							LossReasonId: 0,
							Reason: String,
							Deleted: False,
							Demo: False,
							Selectable: False
						},
						LossReasonId: 0,
						WonOrLost: 0,
						WonOrLostDate: 0001-01-01,
						GiftAidPermission: False,
						PhotoPermission: False,
						FirstAidPermission: False,
						EmergencyContact: String,
						WonOrLostByUser: 
						{
							UserId: 0,
							UserName: String,
							Name: String,
							Email: String,
							MobilePhone: String,
							Enabled: False,
							LastLogin: 0001-01-01,
							Created: 0001-01-01,
							Training: False,
							Deleted: False,
							CoursesCompleted: 0,
							DisplayHomeNotification: False,
							TwoFactorEnabled: False,
							EmailConfirmed: False,
							MobilePhoneConfirmed: False,
							Notifications: False,
							ChangePassword: 0001-01-01,
							Activated: 0001-01-01
						},
						WonOrLostByUserId: 0,
						AgreedToTerms: 0001-01-01,
						OnlineBookingBanned: False,
						Country: String,
						FingerprintEnrolled: 0001-01-01,
						LastPaymentAmount: 0,
						Pin: String,
						ProspectingPoints: 0,
						AchievementPoints: 0,
						ParentForenames: String,
						ParentSurname: String
					},
					MemberId: 0,
					EndDate: 0001-01-01,
					TasterSession: False,
					ImmediatePayment: False,
					GradingEvent: False,
					Url: String,
					Visible: False,
					Bookable: False,
					NonMemberProductId: 0,
					TasterSessionProductId: 0,
					ActiveMemberCanBook: False,
					NonMemberCanBook: False,
					OnlineBookingTimetableLimit: 0,
					OnlineBookingCancellationLimit: 0,
					BookingCategoryId: 0
				},
				ParentBookingId: 0,
				SeriesIndex: 0,
				Deleted: False,
				Demo: False,
				Member: 
				{
					MemberId: 0,
					MemberType: 0,
					MembershipNumber: String,
					CardNumber: String,
					CompanyName: String,
					Surname: String,
					Forenames: String,
					Title: String,
					Gender: 0,
					DateOfBirth: 0001-01-01,
					Address1: String,
					Address2: String,
					City: String,
					County: String,
					Postcode: String,
					HomePhone: String,
					MobilePhone: String,
					EmailAddress: String,
					EmailOptOut: False,
					SmsOptOut: False,
					PhoneOptOut: False,
					LetterOptOut: False,
					DirectDebitAccountHolder: String,
					DirectDebitAccountNumber: String,
					DirectDebitSortCode: String,
					JoinedDate: 0001-01-01,
					DirectDebitBankAddress: String,
					FullName: String,
					ExternalReference: String,
					Photo: AA==,
					PhotoModifiedDate: 0001-01-01,
					Notes: String,
					Deleted: False,
					Demo: False,
					UseExternalStatus: False,
					ExternalStatus: 0,
					FreeText: String,
					MemberKey: 00000000000000000000000000000000,
					Balance: 0,
					CreditLimit: 0,
					CreatedDate: 0001-01-01,
					ModifiedDate: 0001-01-01,
					DeletedDate: 0001-01-01,
					ExternalSource: 0,
					RetentionMetric: 0,
					MonthlyAttendanceFrequency: 0,
					AssignedToUserId: 0,
					CreatedByUserId: 0,
					DeletedByUserId: 0,
					LossReason: 
					{
						LossReasonId: 0,
						Reason: String,
						Deleted: False,
						Demo: False,
						Selectable: False
					},
					LossReasonId: 0,
					WonOrLost: 0,
					WonOrLostDate: 0001-01-01,
					GiftAidPermission: False,
					PhotoPermission: False,
					FirstAidPermission: False,
					EmergencyContact: String,
					WonOrLostByUser: 
					{
						UserId: 0,
						UserName: String,
						Name: String,
						Email: String,
						MobilePhone: String,
						Enabled: False,
						LastLogin: 0001-01-01,
						Created: 0001-01-01,
						Training: False,
						Deleted: False,
						CoursesCompleted: 0,
						DisplayHomeNotification: False,
						TwoFactorEnabled: False,
						EmailConfirmed: False,
						MobilePhoneConfirmed: False,
						Notifications: False,
						ChangePassword: 0001-01-01,
						Activated: 0001-01-01
					},
					WonOrLostByUserId: 0,
					AgreedToTerms: 0001-01-01,
					OnlineBookingBanned: False,
					Country: String,
					FingerprintEnrolled: 0001-01-01,
					LastPaymentAmount: 0,
					Pin: String,
					ProspectingPoints: 0,
					AchievementPoints: 0,
					ParentForenames: String,
					ParentSurname: String
				},
				MemberId: 0,
				EndDate: 0001-01-01,
				TasterSession: False,
				ImmediatePayment: False,
				GradingEvent: False,
				Url: String,
				Visible: False,
				Bookable: False,
				NonMemberProductId: 0,
				TasterSessionProductId: 0,
				ActiveMemberCanBook: False,
				NonMemberCanBook: False,
				OnlineBookingTimetableLimit: 0,
				OnlineBookingCancellationLimit: 0,
				BookingCategoryId: 0
			},
			BookingId: 0,
			MembershipType: 
			{
				MembershipTypeId: 0,
				Name: String,
				Description: String,
				Definition: String,
				Schedule: 
				{
					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,
					Deleted: False,
					Demo: False
				},
				ScheduleId: 0,
				Deleted: False,
				Demo: False,
				Public: False,
				SessionsRemaining: 0,
				ClassesRemaining: 0,
				SortOrder: 0,
				Special: False,
				MultiSiteAccess: False,
				MemberLimit: 0,
				PromotionCode: String,
				PromotionStart: 0001-01-01,
				PromotionEnd: 0001-01-01,
				LicensesRemaining: 0,
				BookingAccessOnly: False,
				SessionsPeriod: 0,
				SessionsFrequency: 0,
				StartsOn: 0001-01-01,
				AllowSelectionAfterStartsOn: False
			},
			MembershipTypeId: 0
		}
	],
	Meta: 
	{
		String: String
	},
	ResponseStatus: 
	{
		ErrorCode: String,
		Message: String,
		StackTrace: String,
		Errors: 
		[
			{
				ErrorCode: String,
				FieldName: String,
				Message: String,
				Meta: 
				{
					String: String
				}
			}
		],
		Meta: 
		{
			String: String
		}
	}
}