Common


Click here for a complete list of operations.

GenericSimplifiedGetMemberInfoV2

Test

To test the operation using the HTTP POST protocol, click the 'Invoke' button.
Parameter Value
userId:
password:
cardNumber:
pin:

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /Common.asmx HTTP/1.1
Host: webservices.bonuslink.com.my
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://WebServices.BonusLink.com.my/Common.asmx/GenericSimplifiedGetMemberInfoV2"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <GenericSimplifiedGetMemberInfoV2 xmlns="http://WebServices.BonusLink.com.my/Common.asmx">
      <userId>string</userId>
      <password>string</password>
      <cardNumber>long</cardNumber>
      <pin>string</pin>
    </GenericSimplifiedGetMemberInfoV2>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <GenericSimplifiedGetMemberInfoV2Response xmlns="http://WebServices.BonusLink.com.my/Common.asmx">
      <GenericSimplifiedGetMemberInfoV2Result>
        <Account>
          <AccountNumber>int</AccountNumber>
          <Status>Pending or Active or Suspended or Closed or Dormant or ForceClosed or Inactive or Unverified or Merged</Status>
          <TotalPoints>long</TotalPoints>
          <AvailablePoints>long</AvailablePoints>
          <AddressLine1>string</AddressLine1>
          <AddressLine2>string</AddressLine2>
          <AddressLine3>string</AddressLine3>
          <AddressLine4>string</AddressLine4>
          <City>string</City>
          <StateCode>unsignedByte</StateCode>
          <Postcode>string</Postcode>
          <CountryCode>string</CountryCode>
          <AddressStatus>Active or Incomplete or Suspended</AddressStatus>
          <NumberOfPrimaryCards>int</NumberOfPrimaryCards>
          <NumberOfSecondaryCards>int</NumberOfSecondaryCards>
        </Account>
        <Card>
          <CardNumber>long</CardNumber>
          <Type>Primary or Supplementary</Type>
          <Status>Pending or Active or Suspended or Closed or Dormant or ForceClosed or Inactive or Unverified or Merged</Status>
        </Card>
        <Member>
          <MemberFullName>string</MemberFullName>
          <MobilePhoneNumber>string</MobilePhoneNumber>
          <NRIC>string</NRIC>
          <DeliveryAddresses>
            <DeliveryAddress xsi:nil="true" />
            <DeliveryAddress xsi:nil="true" />
          </DeliveryAddresses>
        </Member>
        <SupplementaryMembers>
          <SupplementaryMemberInfo>
            <CardNumber>long</CardNumber>
            <MemberFullName>string</MemberFullName>
          </SupplementaryMemberInfo>
          <SupplementaryMemberInfo>
            <CardNumber>long</CardNumber>
            <MemberFullName>string</MemberFullName>
          </SupplementaryMemberInfo>
        </SupplementaryMembers>
      </GenericSimplifiedGetMemberInfoV2Result>
    </GenericSimplifiedGetMemberInfoV2Response>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /Common.asmx HTTP/1.1
Host: webservices.bonuslink.com.my
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <GenericSimplifiedGetMemberInfoV2 xmlns="http://WebServices.BonusLink.com.my/Common.asmx">
      <userId>string</userId>
      <password>string</password>
      <cardNumber>long</cardNumber>
      <pin>string</pin>
    </GenericSimplifiedGetMemberInfoV2>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <GenericSimplifiedGetMemberInfoV2Response xmlns="http://WebServices.BonusLink.com.my/Common.asmx">
      <GenericSimplifiedGetMemberInfoV2Result>
        <Account>
          <AccountNumber>int</AccountNumber>
          <Status>Pending or Active or Suspended or Closed or Dormant or ForceClosed or Inactive or Unverified or Merged</Status>
          <TotalPoints>long</TotalPoints>
          <AvailablePoints>long</AvailablePoints>
          <AddressLine1>string</AddressLine1>
          <AddressLine2>string</AddressLine2>
          <AddressLine3>string</AddressLine3>
          <AddressLine4>string</AddressLine4>
          <City>string</City>
          <StateCode>unsignedByte</StateCode>
          <Postcode>string</Postcode>
          <CountryCode>string</CountryCode>
          <AddressStatus>Active or Incomplete or Suspended</AddressStatus>
          <NumberOfPrimaryCards>int</NumberOfPrimaryCards>
          <NumberOfSecondaryCards>int</NumberOfSecondaryCards>
        </Account>
        <Card>
          <CardNumber>long</CardNumber>
          <Type>Primary or Supplementary</Type>
          <Status>Pending or Active or Suspended or Closed or Dormant or ForceClosed or Inactive or Unverified or Merged</Status>
        </Card>
        <Member>
          <MemberFullName>string</MemberFullName>
          <MobilePhoneNumber>string</MobilePhoneNumber>
          <NRIC>string</NRIC>
          <DeliveryAddresses>
            <DeliveryAddress xsi:nil="true" />
            <DeliveryAddress xsi:nil="true" />
          </DeliveryAddresses>
        </Member>
        <SupplementaryMembers>
          <SupplementaryMemberInfo>
            <CardNumber>long</CardNumber>
            <MemberFullName>string</MemberFullName>
          </SupplementaryMemberInfo>
          <SupplementaryMemberInfo>
            <CardNumber>long</CardNumber>
            <MemberFullName>string</MemberFullName>
          </SupplementaryMemberInfo>
        </SupplementaryMembers>
      </GenericSimplifiedGetMemberInfoV2Result>
    </GenericSimplifiedGetMemberInfoV2Response>
  </soap12:Body>
</soap12:Envelope>

HTTP GET

The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.

GET /Common.asmx/GenericSimplifiedGetMemberInfoV2?userId=string&password=string&cardNumber=string&pin=string HTTP/1.1
Host: webservices.bonuslink.com.my
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<SimplifiedGetMemberInfoResult xmlns="http://WebServices.BonusLink.com.my/Common.asmx">
  <Account>
    <AccountNumber>int</AccountNumber>
    <Status>Pending or Active or Suspended or Closed or Dormant or ForceClosed or Inactive or Unverified or Merged</Status>
    <TotalPoints>long</TotalPoints>
    <AvailablePoints>long</AvailablePoints>
    <AddressLine1>string</AddressLine1>
    <AddressLine2>string</AddressLine2>
    <AddressLine3>string</AddressLine3>
    <AddressLine4>string</AddressLine4>
    <City>string</City>
    <StateCode>unsignedByte</StateCode>
    <Postcode>string</Postcode>
    <CountryCode>string</CountryCode>
    <AddressStatus>Active or Incomplete or Suspended</AddressStatus>
    <NumberOfPrimaryCards>int</NumberOfPrimaryCards>
    <NumberOfSecondaryCards>int</NumberOfSecondaryCards>
  </Account>
  <Card>
    <CardNumber>long</CardNumber>
    <Type>Primary or Supplementary</Type>
    <Status>Pending or Active or Suspended or Closed or Dormant or ForceClosed or Inactive or Unverified or Merged</Status>
  </Card>
  <Member>
    <MemberFullName>string</MemberFullName>
    <MobilePhoneNumber>string</MobilePhoneNumber>
    <NRIC>string</NRIC>
    <DeliveryAddresses>
      <DeliveryAddress>
        <ID>int</ID>
        <AddressLine1>string</AddressLine1>
        <AddressLine2>string</AddressLine2>
        <AddressLine3>string</AddressLine3>
        <AddressLine4>string</AddressLine4>
        <City>string</City>
        <StateCode>unsignedByte</StateCode>
        <Postcode>string</Postcode>
        <CountryCode>string</CountryCode>
        <IsDefault>boolean</IsDefault>
      </DeliveryAddress>
      <DeliveryAddress>
        <ID>int</ID>
        <AddressLine1>string</AddressLine1>
        <AddressLine2>string</AddressLine2>
        <AddressLine3>string</AddressLine3>
        <AddressLine4>string</AddressLine4>
        <City>string</City>
        <StateCode>unsignedByte</StateCode>
        <Postcode>string</Postcode>
        <CountryCode>string</CountryCode>
        <IsDefault>boolean</IsDefault>
      </DeliveryAddress>
    </DeliveryAddresses>
  </Member>
  <SupplementaryMembers>
    <SupplementaryMemberInfo>
      <CardNumber>long</CardNumber>
      <MemberFullName>string</MemberFullName>
    </SupplementaryMemberInfo>
    <SupplementaryMemberInfo>
      <CardNumber>long</CardNumber>
      <MemberFullName>string</MemberFullName>
    </SupplementaryMemberInfo>
  </SupplementaryMembers>
</SimplifiedGetMemberInfoResult>

HTTP POST

The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.

POST /Common.asmx/GenericSimplifiedGetMemberInfoV2 HTTP/1.1
Host: webservices.bonuslink.com.my
Content-Type: application/x-www-form-urlencoded
Content-Length: length

userId=string&password=string&cardNumber=string&pin=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<SimplifiedGetMemberInfoResult xmlns="http://WebServices.BonusLink.com.my/Common.asmx">
  <Account>
    <AccountNumber>int</AccountNumber>
    <Status>Pending or Active or Suspended or Closed or Dormant or ForceClosed or Inactive or Unverified or Merged</Status>
    <TotalPoints>long</TotalPoints>
    <AvailablePoints>long</AvailablePoints>
    <AddressLine1>string</AddressLine1>
    <AddressLine2>string</AddressLine2>
    <AddressLine3>string</AddressLine3>
    <AddressLine4>string</AddressLine4>
    <City>string</City>
    <StateCode>unsignedByte</StateCode>
    <Postcode>string</Postcode>
    <CountryCode>string</CountryCode>
    <AddressStatus>Active or Incomplete or Suspended</AddressStatus>
    <NumberOfPrimaryCards>int</NumberOfPrimaryCards>
    <NumberOfSecondaryCards>int</NumberOfSecondaryCards>
  </Account>
  <Card>
    <CardNumber>long</CardNumber>
    <Type>Primary or Supplementary</Type>
    <Status>Pending or Active or Suspended or Closed or Dormant or ForceClosed or Inactive or Unverified or Merged</Status>
  </Card>
  <Member>
    <MemberFullName>string</MemberFullName>
    <MobilePhoneNumber>string</MobilePhoneNumber>
    <NRIC>string</NRIC>
    <DeliveryAddresses>
      <DeliveryAddress>
        <ID>int</ID>
        <AddressLine1>string</AddressLine1>
        <AddressLine2>string</AddressLine2>
        <AddressLine3>string</AddressLine3>
        <AddressLine4>string</AddressLine4>
        <City>string</City>
        <StateCode>unsignedByte</StateCode>
        <Postcode>string</Postcode>
        <CountryCode>string</CountryCode>
        <IsDefault>boolean</IsDefault>
      </DeliveryAddress>
      <DeliveryAddress>
        <ID>int</ID>
        <AddressLine1>string</AddressLine1>
        <AddressLine2>string</AddressLine2>
        <AddressLine3>string</AddressLine3>
        <AddressLine4>string</AddressLine4>
        <City>string</City>
        <StateCode>unsignedByte</StateCode>
        <Postcode>string</Postcode>
        <CountryCode>string</CountryCode>
        <IsDefault>boolean</IsDefault>
      </DeliveryAddress>
    </DeliveryAddresses>
  </Member>
  <SupplementaryMembers>
    <SupplementaryMemberInfo>
      <CardNumber>long</CardNumber>
      <MemberFullName>string</MemberFullName>
    </SupplementaryMemberInfo>
    <SupplementaryMemberInfo>
      <CardNumber>long</CardNumber>
      <MemberFullName>string</MemberFullName>
    </SupplementaryMemberInfo>
  </SupplementaryMembers>
</SimplifiedGetMemberInfoResult>