ClubReady Api

<back to all web services

GetBillingStatusRequest

The following routes are available for this service:
GET/sales/members/{MemberId}/statusGet customer's billing status
GetBillingStatusRequest Parameters:
NameParameterData TypeRequiredDescription
ApiKeyquerystringYesApi Key - grants access to resources
StoreIdqueryintegerYesStore ID # member belongs to
MemberIdpathintegerYesID of the member to lookup
RestrictedIdqueryint?No
RestrictedResourceTypequeryRestrictedResourceTypeNo
GetBillingStatusRequestDto Parameters:
NameParameterData TypeRequiredDescription
MemberIdformintNo
ApiDtoBase Parameters:
NameParameterData TypeRequiredDescription
ApiKeyformstringNo
StoreIdformint?No
ChainIdformint?No
RestrictedResourceType Enum:
Store
Chain
User
Undefined
MemberBillingStatus Parameters:
NameParameterData TypeRequiredDescription
InvoicesformList<MemberBillingStatusInvoice>No
UserTypeIdformintNo
UserTypeNameformstringNo
NewUserIdformint?No
GetMemberBillingStatus_Result Parameters:
NameParameterData TypeRequiredDescription
FullNameformstringNo
MemberStatusformstringNo
HomeClubformstringNo
BalanceDueformdecimal?No
StoreIDformint?No
MemberBillingStatusInvoice Parameters:
NameParameterData TypeRequiredDescription
InvoiceIdformintNo
StatusformstringNo
StatusIdformshortNo
AmountDueformdecimalNo
SalesTaxDueformdecimalNo
PaymentDueformDateTimeNo
PaymentMadeformDateTime?No
PackageNameformstringNo

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.

GET /sales/members/{MemberId}/status HTTP/1.1 
Host: www.clubready.com 
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"Invoices":[{"InvoiceId":0,"Status":"String","StatusId":0,"AmountDue":0,"SalesTaxDue":0,"PaymentDue":"0001-01-01T00:00:00.0000000","PaymentMade":"0001-01-01T00:00:00.0000000","PackageName":"String"}],"UserTypeId":0,"UserTypeName":"String","NewUserId":0,"FullName":"String","MemberStatus":"String","HomeClub":"String","BalanceDue":0,"StoreID":0}