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 .xml suffix or ?format=xml

HTTP + XML

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: clubready.com 
Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<MemberBillingStatus xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ClubReady.Core.Sales.Models">
  <BalanceDue xmlns="http://schemas.datacontract.org/2004/07/ClubReady.Core.Data.ClubReady">0</BalanceDue>
  <FullName xmlns="http://schemas.datacontract.org/2004/07/ClubReady.Core.Data.ClubReady">String</FullName>
  <HomeClub xmlns="http://schemas.datacontract.org/2004/07/ClubReady.Core.Data.ClubReady">String</HomeClub>
  <MemberStatus xmlns="http://schemas.datacontract.org/2004/07/ClubReady.Core.Data.ClubReady">String</MemberStatus>
  <StoreID xmlns="http://schemas.datacontract.org/2004/07/ClubReady.Core.Data.ClubReady">0</StoreID>
  <Invoices>
    <MemberBillingStatusInvoice>
      <AmountDue>0</AmountDue>
      <InvoiceId>0</InvoiceId>
      <PackageName>String</PackageName>
      <PaymentDue>0001-01-01T00:00:00</PaymentDue>
      <PaymentMade>0001-01-01T00:00:00</PaymentMade>
      <SalesTaxDue>0</SalesTaxDue>
      <Status>String</Status>
      <StatusId>0</StatusId>
    </MemberBillingStatusInvoice>
  </Invoices>
  <NewUserId>0</NewUserId>
  <UserTypeId>0</UserTypeId>
  <UserTypeName>String</UserTypeName>
</MemberBillingStatus>