ClubManager.Api

<back to all web services

ViewMemberGetActiveMembers

Requires Authentication
Required role:API
The following routes are available for this service:
All Verbs/api/Query/MemberGetActiveMembers
QueryBase Parameters:
NameParameterData TypeRequiredDescription
Skipformint?No
Takeformint?No
OrderByformstringNo
OrderByDescformstringNo
IncludeformstringNo
FieldsformstringNo
MetaformDictionary<string, string>No
MemberGetActiveMembersInstance Parameters:
NameParameterData TypeRequiredDescription
MemberformMemberInstanceNo
MemberIdformintNo
MembershipNumberformstringNo
JoinedDateformDateTime?No
CardNumberformstringNo
CompanyNameformstringNo
FullNameformstringNo
GenderformintNo
TitleformstringNo
ForenamesformstringNo
SurnameformstringNo
HomePhoneformstringNo
MobilePhoneformstringNo
EmailAddressformstringNo
DateOfBirthformDateTime?No
PostcodeformstringNo
Address1formstringNo
Address2formstringNo
CityformstringNo
CountyformstringNo
StartDateformDateTime?No
ExpiresformDateTime?No
SessionsRemainingformint?No
ContractEndDateformDateTime?No
DaysRemainingformint?No
MembershipTypeformstringNo
LastAttendanceformDateTime?No
AttendanceformintNo
MemberTypeformintNo
RecurringPaymentsformint?No
OverduePaymentsformint?No
BranchKeyformGuidNo
AttendanceThisWeekformintNo
retentionMetricformdecimal?No
MonthlyAttendanceFrequencyformdecimal?No
TotalProductSpendformdecimal?No
JournalEntryformstringNo
BookingsAttendedformint?No
DateOfLastBookingformDateTime?No
BalanceformdecimalNo
CreditLimitformdecimalNo
MemberKeyformGuid?No
EmailOptOutformboolNo
SmsOptOutformboolNo
PhoneOptOutformboolNo
LetterOptOutformboolNo
UseExternalStatusformboolNo
ExternalStatusformintNo
CreatedDateformDateTimeNo
ModifiedDateformDateTime?No
PhotoModifiedDateformDateTime?No
DeletedDateformDateTime?No
ExternalReferenceformstringNo
RecurringPaymentsPaidInLast30Daysformint?No
MembershipStateformintNo
HasRecurringPaymentsformintNo
LicenseRenewalDateformDateTime?No
LicenseReferenceformstringNo
LicenseStartDateformDateTime?No
PaymentRecurrenceCountformint?No
MemberInstance Parameters:
NameParameterData TypeRequiredDescription
MemberIdformintNo
MemberTypeformintNo
MembershipNumberformstringNo
CardNumberformstringNo
CompanyNameformstringNo
SurnameformstringNo
ForenamesformstringNo
TitleformstringNo
GenderformintNo
DateOfBirthformDateTime?No
Address1formstringNo
Address2formstringNo
CityformstringNo
CountyformstringNo
PostcodeformstringNo
HomePhoneformstringNo
MobilePhoneformstringNo
EmailAddressformstringNo
EmailOptOutformboolNo
SmsOptOutformboolNo
PhoneOptOutformboolNo
LetterOptOutformboolNo
DirectDebitAccountHolderformstringNo
DirectDebitAccountNumberformstringNo
DirectDebitSortCodeformstringNo
JoinedDateformDateTime?No
DirectDebitBankAddressformstringNo
FullNameformstringNo
ExternalReferenceformstringNo
Photoformbyte[]No
PhotoModifiedDateformDateTime?No
NotesformstringNo
DeletedformboolNo
DemoformboolNo
UseExternalStatusformboolNo
ExternalStatusformintNo
FreeTextformstringNo
MemberKeyformGuid?No
BalanceformdecimalNo
CreditLimitformdecimalNo
CreatedDateformDateTimeNo
ModifiedDateformDateTime?No
DeletedDateformDateTime?No
ExternalSourceformintNo
RetentionMetricformdecimal?No
MonthlyAttendanceFrequencyformdecimal?No
AssignedToUserIdformint?No
CreatedByUserIdformint?No
DeletedByUserIdformint?No
LossReasonformLossReasonInstanceNo
LossReasonIdformint?No
WonOrLostformint?No
WonOrLostDateformDateTime?No
GiftAidPermissionformboolNo
PhotoPermissionformbool?No
FirstAidPermissionformbool?No
EmergencyContactformstringNo
WonOrLostByUserformUserInstanceNo
WonOrLostByUserIdformint?No
AgreedToTermsformDateTime?No
OnlineBookingBannedformboolNo
CountryformstringNo
FingerprintEnrolledformDateTime?No
LastPaymentAmountformdecimal?No
PinformstringNo
ProspectingPointsformintNo
AchievementPointsformintNo
ParentForenamesformstringNo
ParentSurnameformstringNo
LossReasonInstance Parameters:
NameParameterData TypeRequiredDescription
LossReasonIdformintNo
ReasonformstringNo
DeletedformboolNo
DemoformboolNo
SelectableformboolNo
UserInstance Parameters:
NameParameterData TypeRequiredDescription
UserIdformintNo
UserNameformstringNo
NameformstringNo
EmailformstringNo
MobilePhoneformstringNo
EnabledformboolNo
LastLoginformDateTime?No
CreatedformDateTimeNo
TrainingformboolNo
DeletedformboolNo
CoursesCompletedformintNo
DisplayHomeNotificationformbool?No
TwoFactorEnabledformboolNo
EmailConfirmedformboolNo
MobilePhoneConfirmedformboolNo
NotificationsformboolNo
ChangePasswordformDateTime?No
ActivatedformDateTime?No
QueryResponse<T> Parameters:
NameParameterData TypeRequiredDescription
OffsetformintNo
TotalformintNo
ResultsformList<T>No
MetaformDictionary<string, string>No
ResponseStatusformResponseStatusNo

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

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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

POST /api/Query/MemberGetActiveMembers HTTP/1.1 
Host: api.clubmanagercentral.com 
Accept: application/json
Content-Type: application/json
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: application/json
Content-Length: length

{"Offset":0,"Total":0,"Results":[{"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,"MembershipNumber":"String","JoinedDate":"0001-01-01T00:00:00.0000000","CardNumber":"String","CompanyName":"String","FullName":"String","Gender":0,"Title":"String","Forenames":"String","Surname":"String","HomePhone":"String","MobilePhone":"String","EmailAddress":"String","DateOfBirth":"0001-01-01T00:00:00.0000000","Postcode":"String","Address1":"String","Address2":"String","City":"String","County":"String","StartDate":"0001-01-01T00:00:00.0000000","Expires":"0001-01-01T00:00:00.0000000","SessionsRemaining":0,"ContractEndDate":"0001-01-01T00:00:00.0000000","DaysRemaining":0,"MembershipType":"String","LastAttendance":"0001-01-01T00:00:00.0000000","Attendance":0,"MemberType":0,"RecurringPayments":0,"OverduePayments":0,"BranchKey":"00000000000000000000000000000000","AttendanceThisWeek":0,"retentionMetric":0,"MonthlyAttendanceFrequency":0,"TotalProductSpend":0,"JournalEntry":"String","BookingsAttended":0,"DateOfLastBooking":"0001-01-01T00:00:00.0000000","Balance":0,"CreditLimit":0,"MemberKey":"00000000000000000000000000000000","EmailOptOut":false,"SmsOptOut":false,"PhoneOptOut":false,"LetterOptOut":false,"UseExternalStatus":false,"ExternalStatus":0,"CreatedDate":"0001-01-01T00:00:00.0000000","ModifiedDate":"0001-01-01T00:00:00.0000000","PhotoModifiedDate":"0001-01-01T00:00:00.0000000","DeletedDate":"0001-01-01T00:00:00.0000000","ExternalReference":"String","RecurringPaymentsPaidInLast30Days":0,"MembershipState":0,"HasRecurringPayments":0,"LicenseRenewalDate":"0001-01-01T00:00:00.0000000","LicenseReference":"String","LicenseStartDate":"0001-01-01T00:00:00.0000000","PaymentRecurrenceCount":0}],"Meta":{"String":"String"},"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}