TOP

GetClubMembership()

Part Of: Clubmembership Webservice 3.0

WSDL:

https://webservices.vin65.com/V300/ClubMembershipService.cfc?wsdl

Australian URL:

https://webservices.aus.vin65.com/V300/ClubMembershipService.cfc?wsdl

Description:

Use the GetClubMembership() function to find a single Club Membership inside Vin65. Required fields are indicated by a '*'

Parameters:

Attribute Data Type Default Description
WebsiteID UUID   Available For Enterprise Webservices
UUID of the Vin65 Website
Not necessary if ClubMembershipID is present
Useful if searching by AltClubMembershipID
and AltClubMembershpID is not unique across Enterprise
ClubMembershipID UUID   UUID of the ClubMembership
AltClubMembershipID String 50    

Sample Request:

<soap:Envelope xmlns:soap="https://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="https://www.w3.org/2001/XMLSchema">
<soap:Body>
  <GetClubMembership>
    <Request>
      <Security>
        <Username>//Your Username//</Username>
        <Password>//Your Password//</Password>
      </Security>
      <WebsiteID></WebsiteID>
      <ClubMembershipID>8f145794-e5d2-c668-6ef7-a896ae71142f</ClubMembershipID>
      <AltClubMembershipID></AltClubMembershipID>
    </Request>
  </GetClubMembership>
</soap:Body>
</soap:Envelope>  

Sample Response:

<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="https://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="https://www.w3.org/2001/XMLSchema" xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body> 
  <GetClubMembershipResponse>
    <GetClubMembershipReturn>
      <Errors></Errors>
      <IsSuccessful>true</IsSuccessful>
      <ClubMembership>
        <CancelDate/>
        <ClubCancellationReason></ClubCancellationReason>
        <ClubCancellationReasonID></ClubCancellationReasonID>
        <ClubID>5f8e3300-bd9b-de91-7db4-85b3dab6f7d9</ClubID>
        <ClubMembershipID>8f145794-e5d2-c668-6ef7-a896ae71142f</ClubMembershipID>
        <ClubName>Pinot Noir Club</ClubName>
        <Contact>
          <Address>115 First Street</Address>
          <Address2></Address2>
          <BirthDate>1900-01-01T08:00:00.000Z</BirthDate>
          <City>Sumas</City>
          <Company></Company>
          <ContactID>8c6d813f-9038-b3a5-4714-6a67131d25c3</ContactID>
          <CountryCode></CountryCode>
          <CustomerNumber>7703</CustomerNumber>
          <Email>andrew@vin65.com</Email>
          <FirstName>Andrew</FirstName>
          <LastName>Kamphuis</LastName>
          <Phone>604-852-8140</Phone>
          <StateCode>WA</StateCode>
          <ZipCode>98295</ZipCode>
        </Contact>
        <CreditCardID>96f18a5b-c5a9-46d3-acb8-9b138b107edf</CreditCardID>
        <CurrentClubMembershipStatus/>
        <CurrentNumberOfShipments>0</CurrentNumberOfShipments>
        <DateAdded>2011-01-18T13:58:08.253Z</DateAdded>
        <DateModified>2011-01-25T04:33:14.840Z</DateModified>
        <GiftMessage></GiftMessage>
        <IsGift>false</IsGift>
        <IsPickup>false</IsPickup>
        <IsPrePay>false</IsPrePay>
        <LastProcessedDate/>
        <Notes></Notes>
        <OnHoldStartDate/>
        <OnHoldUntilDate/>
        <PickupHandlingFee>0.00</PickupHandlingFee>
        <PickupLocationCode/>
        <PrePayOrderNumber/>
        <RetainClubPrivileges>false</RetainClubPrivileges>
        <SalesAssociate></SalesAssociate>
        <SalesAssociateID></SalesAssociateID>
        <ShipTo>ShippingAddress</ShipTo>
        <ShippingAddress>
          <Address>27564 Rondell Street</Address>
          <Address2></Address2>
          <AltShippingAddressID>1079925</AltShippingAddressID>
          <Birthdate>1900-01-02T08:00:00.000Z</Birthdate>
          <City>Agoura Hills</City>
          <Company></Company>
          <CountryCode>US</CountryCode>
          <Email>millertimekm70@sbcglobal.net</Email>
          <Firstname>Kelly</Firstname>
          <Lastname>Mr Miller</Lastname>
          <Phone>818-597-1181</Phone>
          <ShippingAddressID>f0dfdf18-cb80-c100-a4d2-f9783d52b1aa</ShippingAddressID>
          <StateCode>CA</StateCode>
          <ZipCode>91301</ZipCode>
        </ShippingAddress>
        <SignupDate>2012-04-18T07:00:00.000Z</SignupDate>
        <SourceCode></SourceCode>
        <TotalNumberOfShipments/>
        <WebsiteID>66272648-1e0b-4e34-f09b-81477a31b25f</WebsiteID>
      </ClubMembership>
      <RecordCount>1</RecordCount>
    </GetClubMembershipReturn>
  </GetClubMembershipResponse>
</soapenv:Body>
</soapenv:Envelope> 

Page Top