ClubManager.Api

<back to all web services

ViewBookingAttendees

Requires Authentication
Required role:API
The following routes are available for this service:
All Verbs/api/Query/BookingAttendees
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="BookingAttendees")
    public static class ViewBookingAttendees extends QueryDb<BookingAttendeesInstance>
    {
        
    }

    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 BookingAttendeesInstance
    {
        public Integer BookingAttendeeId = null;
        public BookingInstance Booking = null;
        @References(BookingInstance.class)
        public Integer BookingId = null;

        public MemberInstance Member = null;
        @References(MemberInstance.class)
        public Integer MemberId = null;

        public PurchaseInstance Purchase = null;
        @References(PurchaseInstance.class)
        public Integer PurchaseId = null;

        public Boolean Attended = null;
        public AttendanceInstance Attendance = null;
        @References(AttendanceInstance.class)
        public Integer AttendanceId = null;

        public Date Deleted = null;
        @References(MembershipInstance.class)
        public Integer MembershipId = null;
        
        public Integer getBookingAttendeeId() { return BookingAttendeeId; }
        public BookingAttendeesInstance setBookingAttendeeId(Integer value) { this.BookingAttendeeId = value; return this; }
        public BookingInstance getBooking() { return Booking; }
        public BookingAttendeesInstance setBooking(BookingInstance value) { this.Booking = value; return this; }
        public Integer getBookingId() { return BookingId; }
        public BookingAttendeesInstance setBookingId(Integer value) { this.BookingId = value; return this; }
        public MemberInstance getMember() { return Member; }
        public BookingAttendeesInstance setMember(MemberInstance value) { this.Member = value; return this; }
        public Integer getMemberId() { return MemberId; }
        public BookingAttendeesInstance setMemberId(Integer value) { this.MemberId = value; return this; }
        public PurchaseInstance getPurchase() { return Purchase; }
        public BookingAttendeesInstance setPurchase(PurchaseInstance value) { this.Purchase = value; return this; }
        public Integer getPurchaseId() { return PurchaseId; }
        public BookingAttendeesInstance setPurchaseId(Integer value) { this.PurchaseId = value; return this; }
        public Boolean isAttended() { return Attended; }
        public BookingAttendeesInstance setAttended(Boolean value) { this.Attended = value; return this; }
        public AttendanceInstance getAttendance() { return Attendance; }
        public BookingAttendeesInstance setAttendance(AttendanceInstance value) { this.Attendance = value; return this; }
        public Integer getAttendanceId() { return AttendanceId; }
        public BookingAttendeesInstance setAttendanceId(Integer value) { this.AttendanceId = value; return this; }
        public Date getDeleted() { return Deleted; }
        public BookingAttendeesInstance setDeleted(Date value) { this.Deleted = value; return this; }
        public Integer getMembershipId() { return MembershipId; }
        public BookingAttendeesInstance setMembershipId(Integer value) { this.MembershipId = 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 PurchaseInstance
    {
        public Integer PurchaseId = null;
        public Integer ReceiptId = null;
        public Date Date = null;
        public BigDecimal Quantity = null;
        public BigDecimal ProductPrice = null;
        public BigDecimal ProductVAT = null;
        public BigDecimal TotalPrice = null;
        public BigDecimal TotalVAT = null;
        public BigDecimal Total = null;
        public Integer PaymentMethod = null;
        public String PaymentToken = null;
        public ProductInstance Product = null;
        @References(ProductInstance.class)
        public Integer ProductId = null;

        public MemberInstance Member = null;
        @References(MemberInstance.class)
        public Integer MemberId = null;

        public Boolean Deleted = null;
        public Boolean Demo = null;
        public Integer CreatedBy = null;
        public Integer ModifiedBy = null;
        public Date CreatedDate = null;
        public Date ModifiedDate = null;
        public Integer OriginalReceiptId = null;
        public Integer OriginalPurchaseId = null;
        public String CardNumber = null;
        public Integer UsageCount = null;
        @References(PaymentInstance.class)
        public Integer PaymentId = null;
        
        public Integer getPurchaseId() { return PurchaseId; }
        public PurchaseInstance setPurchaseId(Integer value) { this.PurchaseId = value; return this; }
        public Integer getReceiptId() { return ReceiptId; }
        public PurchaseInstance setReceiptId(Integer value) { this.ReceiptId = value; return this; }
        public Date getDate() { return Date; }
        public PurchaseInstance setDate(Date value) { this.Date = value; return this; }
        public BigDecimal getQuantity() { return Quantity; }
        public PurchaseInstance setQuantity(BigDecimal value) { this.Quantity = value; return this; }
        public BigDecimal getProductPrice() { return ProductPrice; }
        public PurchaseInstance setProductPrice(BigDecimal value) { this.ProductPrice = value; return this; }
        public BigDecimal getProductVAT() { return ProductVAT; }
        public PurchaseInstance setProductVAT(BigDecimal value) { this.ProductVAT = value; return this; }
        public BigDecimal getTotalPrice() { return TotalPrice; }
        public PurchaseInstance setTotalPrice(BigDecimal value) { this.TotalPrice = value; return this; }
        public BigDecimal getTotalVAT() { return TotalVAT; }
        public PurchaseInstance setTotalVAT(BigDecimal value) { this.TotalVAT = value; return this; }
        public BigDecimal getTotal() { return Total; }
        public PurchaseInstance setTotal(BigDecimal value) { this.Total = value; return this; }
        public Integer getPaymentMethod() { return PaymentMethod; }
        public PurchaseInstance setPaymentMethod(Integer value) { this.PaymentMethod = value; return this; }
        public String getPaymentToken() { return PaymentToken; }
        public PurchaseInstance setPaymentToken(String value) { this.PaymentToken = value; return this; }
        public ProductInstance getProduct() { return Product; }
        public PurchaseInstance setProduct(ProductInstance value) { this.Product = value; return this; }
        public Integer getProductId() { return ProductId; }
        public PurchaseInstance setProductId(Integer value) { this.ProductId = value; return this; }
        public MemberInstance getMember() { return Member; }
        public PurchaseInstance setMember(MemberInstance value) { this.Member = value; return this; }
        public Integer getMemberId() { return MemberId; }
        public PurchaseInstance setMemberId(Integer value) { this.MemberId = value; return this; }
        public Boolean isDeleted() { return Deleted; }
        public PurchaseInstance setDeleted(Boolean value) { this.Deleted = value; return this; }
        public Boolean isDemo() { return Demo; }
        public PurchaseInstance setDemo(Boolean value) { this.Demo = value; return this; }
        public Integer getCreatedBy() { return CreatedBy; }
        public PurchaseInstance setCreatedBy(Integer value) { this.CreatedBy = value; return this; }
        public Integer getModifiedBy() { return ModifiedBy; }
        public PurchaseInstance setModifiedBy(Integer value) { this.ModifiedBy = value; return this; }
        public Date getCreatedDate() { return CreatedDate; }
        public PurchaseInstance setCreatedDate(Date value) { this.CreatedDate = value; return this; }
        public Date getModifiedDate() { return ModifiedDate; }
        public PurchaseInstance setModifiedDate(Date value) { this.ModifiedDate = value; return this; }
        public Integer getOriginalReceiptId() { return OriginalReceiptId; }
        public PurchaseInstance setOriginalReceiptId(Integer value) { this.OriginalReceiptId = value; return this; }
        public Integer getOriginalPurchaseId() { return OriginalPurchaseId; }
        public PurchaseInstance setOriginalPurchaseId(Integer value) { this.OriginalPurchaseId = value; return this; }
        public String getCardNumber() { return CardNumber; }
        public PurchaseInstance setCardNumber(String value) { this.CardNumber = value; return this; }
        public Integer getUsageCount() { return UsageCount; }
        public PurchaseInstance setUsageCount(Integer value) { this.UsageCount = value; return this; }
        public Integer getPaymentId() { return PaymentId; }
        public PurchaseInstance setPaymentId(Integer value) { this.PaymentId = value; return this; }
    }

    public static class AttendanceInstance
    {
        public Integer AttendanceId = null;
        public Date Date = null;
        public MemberInstance Member = null;
        @References(MemberInstance.class)
        public Integer MemberId = null;

        public Boolean Demo = null;
        
        public Integer getAttendanceId() { return AttendanceId; }
        public AttendanceInstance setAttendanceId(Integer value) { this.AttendanceId = value; return this; }
        public Date getDate() { return Date; }
        public AttendanceInstance setDate(Date value) { this.Date = value; return this; }
        public MemberInstance getMember() { return Member; }
        public AttendanceInstance setMember(MemberInstance value) { this.Member = value; return this; }
        public Integer getMemberId() { return MemberId; }
        public AttendanceInstance setMemberId(Integer value) { this.MemberId = value; return this; }
        public Boolean isDemo() { return Demo; }
        public AttendanceInstance setDemo(Boolean value) { this.Demo = 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 ViewBookingAttendees 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/Query/BookingAttendees HTTP/1.1 
Host: api.clubmanagercentral.com 
Accept: text/csv
Content-Type: text/csv
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/csv
Content-Length: length

{"Offset":0,"Total":0,"Results":[{"BookingAttendeeId":0,"Booking":{"BookingId":0,"Name":"String","Notes":"String","StartDate":"0001-01-01T00:00:00.0000000","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-01T00:00:00.0000000","InsuranceExpires":"0001-01-01T00:00:00.0000000"},"StaffId":0,"ParentBooking":{"BookingId":0,"Name":"String","Notes":"String","StartDate":"0001-01-01T00:00:00.0000000","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-01T00:00:00.0000000","InsuranceExpires":"0001-01-01T00:00:00.0000000"},"StaffId":0,"ParentBooking":{"BookingId":0,"Name":"String","Notes":"String","StartDate":"0001-01-01T00:00:00.0000000","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-01T00:00:00.0000000","InsuranceExpires":"0001-01-01T00:00:00.0000000"},"StaffId":0,"ParentBooking":null,"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-01T00:00:00.0000000","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-01T00:00:00.0000000","DirectDebitBankAddress":"String","FullName":"String","ExternalReference":"String","Photo":"AA==","PhotoModifiedDate":"0001-01-01T00:00:00.0000000","Notes":"String","Deleted":false,"Demo":false,"UseExternalStatus":false,"ExternalStatus":0,"FreeText":"String","MemberKey":"00000000000000000000000000000000","Balance":0,"CreditLimit":0,"CreatedDate":"0001-01-01T00:00:00.0000000","ModifiedDate":"0001-01-01T00:00:00.0000000","DeletedDate":"0001-01-01T00:00:00.0000000","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-01T00:00:00.0000000","GiftAidPermission":false,"PhotoPermission":false,"FirstAidPermission":false,"EmergencyContact":"String","WonOrLostByUser":{"UserId":0,"UserName":"String","Name":"String","Email":"String","MobilePhone":"String","Enabled":false,"LastLogin":"0001-01-01T00:00:00.0000000","Created":"0001-01-01T00:00:00.0000000","Training":false,"Deleted":false,"CoursesCompleted":0,"DisplayHomeNotification":false,"TwoFactorEnabled":false,"EmailConfirmed":false,"MobilePhoneConfirmed":false,"Notifications":false,"ChangePassword":"0001-01-01T00:00:00.0000000","Activated":"0001-01-01T00:00:00.0000000"},"WonOrLostByUserId":0,"AgreedToTerms":"0001-01-01T00:00:00.0000000","OnlineBookingBanned":false,"Country":"String","FingerprintEnrolled":"0001-01-01T00:00:00.0000000","LastPaymentAmount":0,"Pin":"String","ProspectingPoints":0,"AchievementPoints":0,"ParentForenames":"String","ParentSurname":"String"},"MemberId":0,"EndDate":"0001-01-01T00:00:00.0000000","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-01T00:00:00.0000000","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-01T00:00:00.0000000","DirectDebitBankAddress":"String","FullName":"String","ExternalReference":"String","Photo":"AA==","PhotoModifiedDate":"0001-01-01T00:00:00.0000000","Notes":"String","Deleted":false,"Demo":false,"UseExternalStatus":false,"ExternalStatus":0,"FreeText":"String","MemberKey":"00000000000000000000000000000000","Balance":0,"CreditLimit":0,"CreatedDate":"0001-01-01T00:00:00.0000000","ModifiedDate":"0001-01-01T00:00:00.0000000","DeletedDate":"0001-01-01T00:00:00.0000000","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-01T00:00:00.0000000","GiftAidPermission":false,"PhotoPermission":false,"FirstAidPermission":false,"EmergencyContact":"String","WonOrLostByUser":{"UserId":0,"UserName":"String","Name":"String","Email":"String","MobilePhone":"String","Enabled":false,"LastLogin":"0001-01-01T00:00:00.0000000","Created":"0001-01-01T00:00:00.0000000","Training":false,"Deleted":false,"CoursesCompleted":0,"DisplayHomeNotification":false,"TwoFactorEnabled":false,"EmailConfirmed":false,"MobilePhoneConfirmed":false,"Notifications":false,"ChangePassword":"0001-01-01T00:00:00.0000000","Activated":"0001-01-01T00:00:00.0000000"},"WonOrLostByUserId":0,"AgreedToTerms":"0001-01-01T00:00:00.0000000","OnlineBookingBanned":false,"Country":"String","FingerprintEnrolled":"0001-01-01T00:00:00.0000000","LastPaymentAmount":0,"Pin":"String","ProspectingPoints":0,"AchievementPoints":0,"ParentForenames":"String","ParentSurname":"String"},"MemberId":0,"EndDate":"0001-01-01T00:00:00.0000000","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-01T00:00:00.0000000","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-01T00:00:00.0000000","DirectDebitBankAddress":"String","FullName":"String","ExternalReference":"String","Photo":"AA==","PhotoModifiedDate":"0001-01-01T00:00:00.0000000","Notes":"String","Deleted":false,"Demo":false,"UseExternalStatus":false,"ExternalStatus":0,"FreeText":"String","MemberKey":"00000000000000000000000000000000","Balance":0,"CreditLimit":0,"CreatedDate":"0001-01-01T00:00:00.0000000","ModifiedDate":"0001-01-01T00:00:00.0000000","DeletedDate":"0001-01-01T00:00:00.0000000","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-01T00:00:00.0000000","GiftAidPermission":false,"PhotoPermission":false,"FirstAidPermission":false,"EmergencyContact":"String","WonOrLostByUser":{"UserId":0,"UserName":"String","Name":"String","Email":"String","MobilePhone":"String","Enabled":false,"LastLogin":"0001-01-01T00:00:00.0000000","Created":"0001-01-01T00:00:00.0000000","Training":false,"Deleted":false,"CoursesCompleted":0,"DisplayHomeNotification":false,"TwoFactorEnabled":false,"EmailConfirmed":false,"MobilePhoneConfirmed":false,"Notifications":false,"ChangePassword":"0001-01-01T00:00:00.0000000","Activated":"0001-01-01T00:00:00.0000000"},"WonOrLostByUserId":0,"AgreedToTerms":"0001-01-01T00:00:00.0000000","OnlineBookingBanned":false,"Country":"String","FingerprintEnrolled":"0001-01-01T00:00:00.0000000","LastPaymentAmount":0,"Pin":"String","ProspectingPoints":0,"AchievementPoints":0,"ParentForenames":"String","ParentSurname":"String"},"MemberId":0,"EndDate":"0001-01-01T00:00:00.0000000","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,"Member":{"MemberId":0,"MemberType":0,"MembershipNumber":"String","CardNumber":"String","CompanyName":"String","Surname":"String","Forenames":"String","Title":"String","Gender":0,"DateOfBirth":"0001-01-01T00:00:00.0000000","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-01T00:00:00.0000000","DirectDebitBankAddress":"String","FullName":"String","ExternalReference":"String","Photo":"AA==","PhotoModifiedDate":"0001-01-01T00:00:00.0000000","Notes":"String","Deleted":false,"Demo":false,"UseExternalStatus":false,"ExternalStatus":0,"FreeText":"String","MemberKey":"00000000000000000000000000000000","Balance":0,"CreditLimit":0,"CreatedDate":"0001-01-01T00:00:00.0000000","ModifiedDate":"0001-01-01T00:00:00.0000000","DeletedDate":"0001-01-01T00:00:00.0000000","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-01T00:00:00.0000000","GiftAidPermission":false,"PhotoPermission":false,"FirstAidPermission":false,"EmergencyContact":"String","WonOrLostByUser":{"UserId":0,"UserName":"String","Name":"String","Email":"String","MobilePhone":"String","Enabled":false,"LastLogin":"0001-01-01T00:00:00.0000000","Created":"0001-01-01T00:00:00.0000000","Training":false,"Deleted":false,"CoursesCompleted":0,"DisplayHomeNotification":false,"TwoFactorEnabled":false,"EmailConfirmed":false,"MobilePhoneConfirmed":false,"Notifications":false,"ChangePassword":"0001-01-01T00:00:00.0000000","Activated":"0001-01-01T00:00:00.0000000"},"WonOrLostByUserId":0,"AgreedToTerms":"0001-01-01T00:00:00.0000000","OnlineBookingBanned":false,"Country":"String","FingerprintEnrolled":"0001-01-01T00:00:00.0000000","LastPaymentAmount":0,"Pin":"String","ProspectingPoints":0,"AchievementPoints":0,"ParentForenames":"String","ParentSurname":"String"},"MemberId":0,"Purchase":{"PurchaseId":0,"ReceiptId":0,"Date":"0001-01-01T00:00:00.0000000","Quantity":0,"ProductPrice":0,"ProductVAT":0,"TotalPrice":0,"TotalVAT":0,"Total":0,"PaymentMethod":0,"PaymentToken":"String","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,"Member":{"MemberId":0,"MemberType":0,"MembershipNumber":"String","CardNumber":"String","CompanyName":"String","Surname":"String","Forenames":"String","Title":"String","Gender":0,"DateOfBirth":"0001-01-01T00:00:00.0000000","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-01T00:00:00.0000000","DirectDebitBankAddress":"String","FullName":"String","ExternalReference":"String","Photo":"AA==","PhotoModifiedDate":"0001-01-01T00:00:00.0000000","Notes":"String","Deleted":false,"Demo":false,"UseExternalStatus":false,"ExternalStatus":0,"FreeText":"String","MemberKey":"00000000000000000000000000000000","Balance":0,"CreditLimit":0,"CreatedDate":"0001-01-01T00:00:00.0000000","ModifiedDate":"0001-01-01T00:00:00.0000000","DeletedDate":"0001-01-01T00:00:00.0000000","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-01T00:00:00.0000000","GiftAidPermission":false,"PhotoPermission":false,"FirstAidPermission":false,"EmergencyContact":"String","WonOrLostByUser":{"UserId":0,"UserName":"String","Name":"String","Email":"String","MobilePhone":"String","Enabled":false,"LastLogin":"0001-01-01T00:00:00.0000000","Created":"0001-01-01T00:00:00.0000000","Training":false,"Deleted":false,"CoursesCompleted":0,"DisplayHomeNotification":false,"TwoFactorEnabled":false,"EmailConfirmed":false,"MobilePhoneConfirmed":false,"Notifications":false,"ChangePassword":"0001-01-01T00:00:00.0000000","Activated":"0001-01-01T00:00:00.0000000"},"WonOrLostByUserId":0,"AgreedToTerms":"0001-01-01T00:00:00.0000000","OnlineBookingBanned":false,"Country":"String","FingerprintEnrolled":"0001-01-01T00:00:00.0000000","LastPaymentAmount":0,"Pin":"String","ProspectingPoints":0,"AchievementPoints":0,"ParentForenames":"String","ParentSurname":"String"},"MemberId":0,"Deleted":false,"Demo":false,"CreatedBy":0,"ModifiedBy":0,"CreatedDate":"0001-01-01T00:00:00.0000000","ModifiedDate":"0001-01-01T00:00:00.0000000","OriginalReceiptId":0,"OriginalPurchaseId":0,"CardNumber":"String","UsageCount":0,"PaymentId":0},"PurchaseId":0,"Attended":false,"Attendance":{"AttendanceId":0,"Date":"0001-01-01T00:00:00.0000000","Member":{"MemberId":0,"MemberType":0,"MembershipNumber":"String","CardNumber":"String","CompanyName":"String","Surname":"String","Forenames":"String","Title":"String","Gender":0,"DateOfBirth":"0001-01-01T00:00:00.0000000","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-01T00:00:00.0000000","DirectDebitBankAddress":"String","FullName":"String","ExternalReference":"String","Photo":"AA==","PhotoModifiedDate":"0001-01-01T00:00:00.0000000","Notes":"String","Deleted":false,"Demo":false,"UseExternalStatus":false,"ExternalStatus":0,"FreeText":"String","MemberKey":"00000000000000000000000000000000","Balance":0,"CreditLimit":0,"CreatedDate":"0001-01-01T00:00:00.0000000","ModifiedDate":"0001-01-01T00:00:00.0000000","DeletedDate":"0001-01-01T00:00:00.0000000","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-01T00:00:00.0000000","GiftAidPermission":false,"PhotoPermission":false,"FirstAidPermission":false,"EmergencyContact":"String","WonOrLostByUser":{"UserId":0,"UserName":"String","Name":"String","Email":"String","MobilePhone":"String","Enabled":false,"LastLogin":"0001-01-01T00:00:00.0000000","Created":"0001-01-01T00:00:00.0000000","Training":false,"Deleted":false,"CoursesCompleted":0,"DisplayHomeNotification":false,"TwoFactorEnabled":false,"EmailConfirmed":false,"MobilePhoneConfirmed":false,"Notifications":false,"ChangePassword":"0001-01-01T00:00:00.0000000","Activated":"0001-01-01T00:00:00.0000000"},"WonOrLostByUserId":0,"AgreedToTerms":"0001-01-01T00:00:00.0000000","OnlineBookingBanned":false,"Country":"String","FingerprintEnrolled":"0001-01-01T00:00:00.0000000","LastPaymentAmount":0,"Pin":"String","ProspectingPoints":0,"AchievementPoints":0,"ParentForenames":"String","ParentSurname":"String"},"MemberId":0,"Demo":false},"AttendanceId":0,"Deleted":"0001-01-01T00:00:00.0000000","MembershipId":0}],"Meta":{"String":"String"},"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}