ClubManager.Api

<back to all web services

MemberService.GetMemberByKeyRequest

Requires Authentication
The following routes are available for this service:
POST,GET/api/Member/GetMemberByKey
Member Parameters:
NameParameterData TypeRequiredDescription
MemberIdformintNo
BranchIdformintNo
MembershipNumberformstringNo
JoinedDateformDateTime?No
CardNumberformstringNo
CompanyNameformstringNo
GenderformGenderNo
GenderNameformstringNo
FullNameformstringNo
TitleformstringNo
ForenamesformstringNo
SurnameformstringNo
Address1formstringNo
Address2formstringNo
CountyformstringNo
CityformstringNo
HomePhoneformstringNo
MobilePhoneformstringNo
EmailAddressformstringNo
ExternalReferenceformstringNo
CountryformstringNo
EmailOptOutformboolNo
SmsOptOutformboolNo
PhoneOptOutformboolNo
LetterOptOutformboolNo
UseExternalStatusformboolNo
ExternalStatusformExternalStatusNo
DateOfBirthformDateTime?No
PostcodeformstringNo
NotesformstringNo
StartDateformDateTime?No
ExpiresformDateTime?No
SessionsRemainingformint?No
ContractEndDateformDateTime?No
DaysRemainingformintNo
MembershipTypeformstringNo
LastAttendanceformDateTime?No
AttendanceformintNo
MemberTypeformMemberTypeNo
RecurringPaymentsformintNo
OverduePaymentsformintNo
AttendanceThisWeekformintNo
retentionMetricformdecimalNo
MonthlyAttendanceFrequencyformdecimalNo
TotalProductSpendformdecimalNo
JournalEntryformstringNo
BalanceformdecimalNo
CreditLimitformdecimalNo
guidformGuidNo
MembershipStateformMembershipStateNo
BookingsAttendedformintNo
DateOfLastBookingformDateTime?No
PhotoModifiedDateformDateTime?No
CreatedDateformDateTime?No
ModifiedDateformDateTime?No
DeletedDateformDateTime?No
MemberKeyformGuidNo
CreatedByUserIdformintNo
AssignedToUserIdformintNo
DeletedByUserIdformintNo
GiftAidPermissionformboolNo
FirstAidPermissionformboolNo
PhotoPermissionformboolNo
EmergencyContactformstringNo
WonOrLostformint?No
WonOrLostDateformDateTime?No
WonOrLostByUserIdformint?No
LicenseReferenceformstringNo
LicenseStartDateformDateTime?No
LicenseRenewalDateformDateTime?No
AgreedToTermsformDateTime?No
OnlineBookingBannedformboolNo
ChildBranchIdformint?No
ChildBranchformstringNo
ProspectingPointsformintNo
AchievementPointsformintNo
ParentForenamesformstringNo
ParentSurnameformstringNo
GradingReadinessformintNo
DirectDebitAccountHolderformstringNo
DirectDebitAccountNumberformstringNo
DirectDebitSortCodeformstringNo
DirectDebitBankAddressformstringNo
InvitedDateformDateTime?No
GradeformstringNo
ColourLeftformstringNo
ColourRightformstringNo
SessionsToCompleteformintNo
UniqueIdformstringNo
PreferenceLinkformstringNo
MarketingAllLinkformstringNo
MarketingNoneLinkformstringNo
AppRegistrationIdformstringNo
AppRegistrationLinkformstringNo
AppQrImageLinkformstringNo
CardNumberQrImageLinkformstringNo
PhotoThumbnailLinkformstringNo
ContentTypesOptInformMessageTemplateContentTypeNo
TemplateTypesOptInformMessageTemplateTypeNo
CanEmailformboolNo
CanDirectMailformboolNo
CanSMSformboolNo
CanTelephoneformboolNo
NoMarketingConsentformboolNo
CanSendInviteformboolNo
BranchKeyformGuidNo
SageLinkformstringNo
SageLastPaymentDateformDateTime?No
SageFirstPaymentDateformDateTime?No
SageLastPaymentAmountformdecimal?No
SageFirstPaymentAmountformdecimal?No
SageTotalPaidformdecimal?No

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

{"MemberKey":"00000000000000000000000000000000"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"MemberId":0,"BranchId":0,"MembershipNumber":"String","JoinedDate":"0001-01-01T00:00:00.0000000","CardNumber":"String","CompanyName":"String","Gender":"Unknown","GenderName":"String","FullName":"String","Title":"String","Forenames":"String","Surname":"String","Address1":"String","Address2":"String","County":"String","City":"String","HomePhone":"String","MobilePhone":"String","EmailAddress":"String","ExternalReference":"String","Country":"String","EmailOptOut":false,"SmsOptOut":false,"PhoneOptOut":false,"LetterOptOut":false,"UseExternalStatus":false,"ExternalStatus":"Off","DateOfBirth":"0001-01-01T00:00:00.0000000","Postcode":"String","Notes":"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":"Prospect","RecurringPayments":0,"OverduePayments":0,"AttendanceThisWeek":0,"retentionMetric":0,"MonthlyAttendanceFrequency":0,"TotalProductSpend":0,"JournalEntry":"String","Balance":0,"CreditLimit":0,"guid":"00000000000000000000000000000000","MembershipState":"Prospect","BookingsAttended":0,"DateOfLastBooking":"0001-01-01T00:00:00.0000000","PhotoModifiedDate":"0001-01-01T00:00:00.0000000","CreatedDate":"0001-01-01T00:00:00.0000000","ModifiedDate":"0001-01-01T00:00:00.0000000","DeletedDate":"0001-01-01T00:00:00.0000000","MemberKey":"00000000000000000000000000000000","CreatedByUserId":0,"AssignedToUserId":0,"DeletedByUserId":0,"GiftAidPermission":false,"FirstAidPermission":false,"PhotoPermission":false,"EmergencyContact":"String","WonOrLost":0,"WonOrLostDate":"0001-01-01T00:00:00.0000000","WonOrLostByUserId":0,"LicenseReference":"String","LicenseStartDate":"0001-01-01T00:00:00.0000000","LicenseRenewalDate":"0001-01-01T00:00:00.0000000","AgreedToTerms":"0001-01-01T00:00:00.0000000","OnlineBookingBanned":false,"ChildBranchId":0,"ChildBranch":"String","ProspectingPoints":0,"AchievementPoints":0,"ParentForenames":"String","ParentSurname":"String","GradingReadiness":0,"DirectDebitAccountHolder":"String","DirectDebitAccountNumber":"String","DirectDebitSortCode":"String","DirectDebitBankAddress":"String","InvitedDate":"0001-01-01T00:00:00.0000000","Grade":"String","ColourLeft":"String","ColourRight":"String","SessionsToComplete":0,"UniqueId":"PKp6cDNhXuxbpI/TvPx9aDfNG87EiKLQ8QkoH35eVDE=","PreferenceLink":"https://secure.clubmanagercentral.com/Portal/Login/Transfer?id=PKp6cDNhXuxbpI%2fTvPx9aDfNG87EiKLQ8QkoH35eVDE%3d","MarketingAllLink":"https://secure.clubmanagercentral.com/Portal/Login/TransferOptInAll?id=PKp6cDNhXuxbpI%2fTvPx9aDfNG87EiKLQ8QkoH35eVDE%3d","MarketingNoneLink":"https://secure.clubmanagercentral.com/Portal/Login/TransferOptOutAll?id=PKp6cDNhXuxbpI%2fTvPx9aDfNG87EiKLQ8QkoH35eVDE%3d","AppRegistrationId":"tdEETnrE2UDYoDHYyiFtLUFbiv0Psfko1F+WdmLSeeLOfNJrwIXoKym0RGXbqDsBIcwMpLHhEzKbJbIzcmw6p4LgwcDFjjr/3H3YHPzOiH/N/kOSp3ZOLDrOw2b0REu46p7kK3hXZaRM/DUu5yh1AQ==","AppRegistrationLink":"https://secure.clubmanagercentral.com/Register?id=tdEETnrE2UDYoDHYyiFtLUFbiv0Psfko1F+WdmLSeeLOfNJrwIXoKym0RGXbqDsBIcwMpLHhEzKbJbIzcmw6p4LgwcDFjjr/3H3YHPzOiH/N/kOSp3ZOLDrOw2b0REu46p7kK3hXZaRM/DUu5yh1AQ==","AppQrImageLink":"https://secure.clubmanagercentral.com/Member.mvc/GetQrByMemberId?id=36xZln01EfE80ZF7GFWKkg==","CardNumberQrImageLink":"https://secure.clubmanagercentral.com/Member.mvc/GetCardNumberQRByMemberId?id=36xZln01EfE80ZF7GFWKkg==","PhotoThumbnailLink":"https://secure.clubmanagercentral.com/Member.mvc/GetPhotoThumbnailByMemberId?id=36xZln01EfE80ZF7GFWKkg==","ContentTypesOptIn":1,"TemplateTypesOptIn":1,"CanEmail":false,"CanDirectMail":false,"CanSMS":true,"CanTelephone":false,"NoMarketingConsent":false,"CanSendInvite":false,"BranchKey":"00000000000000000000000000000000","SageLink":"String","SageLastPaymentDate":"0001-01-01T00:00:00.0000000","SageFirstPaymentDate":"0001-01-01T00:00:00.0000000","SageLastPaymentAmount":0,"SageFirstPaymentAmount":0,"SageTotalPaid":0}