Common


Click here for a complete list of operations.

TokenInstoreCardApplication

Test

The test form is only available for requests from the local machine.

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/TokenInstoreCardApplication"

<?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>
    <TokenInstoreCardApplication xmlns="http://WebServices.BonusLink.com.my/Common.asmx">
      <userId>string</userId>
      <password>string</password>
      <requestData>
        <application>
          <FullName>string</FullName>
          <NameOnCard>string</NameOnCard>
          <NewICNumber>string</NewICNumber>
          <OldICNumber>string</OldICNumber>
          <PassportNumber>string</PassportNumber>
          <AddressLine1>string</AddressLine1>
          <AddressLine2>string</AddressLine2>
          <AddressLine3>string</AddressLine3>
          <AddressLine4>string</AddressLine4>
          <City>string</City>
          <StateCode>int</StateCode>
          <Postcode>string</Postcode>
          <CountryCode>string</CountryCode>
          <MobilePhoneNumber>string</MobilePhoneNumber>
          <HomePhoneNumber>string</HomePhoneNumber>
          <OfficePhoneNumber>string</OfficePhoneNumber>
          <EmailAddress>string</EmailAddress>
          <MotherMaidenName>string</MotherMaidenName>
          <DateOfBirth>dateTime</DateOfBirth>
          <Gender>Male or Female</Gender>
          <Race>Malay or Chinese or Indian or Others</Race>
          <MaritalStatus>Single or Married</MaritalStatus>
          <Occupation>Businessman or Director or Manager or NonExecutive or Profesional or Housewife or Student or Others</Occupation>
          <PreferedLanguage>English or Chinese or Malay</PreferedLanguage>
          <OwnCreditCard>boolean</OwnCreditCard>
          <OwnVehicle>boolean</OwnVehicle>
          <SubscribeEStatement>boolean</SubscribeEStatement>
          <ReIssueCard>boolean</ReIssueCard>
        </application>
      </requestData>
    </TokenInstoreCardApplication>
  </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>
    <TokenInstoreCardApplicationResponse xmlns="http://WebServices.BonusLink.com.my/Common.asmx">
      <TokenInstoreCardApplicationResult>
        <accountNumber>int</accountNumber>
        <cardNumber>long</cardNumber>
        <accountStatus>Pending or Active or Suspended or Closed or Dormant or ForceClosed or Inactive or Unverified or Merged</accountStatus>
      </TokenInstoreCardApplicationResult>
    </TokenInstoreCardApplicationResponse>
  </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>
    <TokenInstoreCardApplication xmlns="http://WebServices.BonusLink.com.my/Common.asmx">
      <userId>string</userId>
      <password>string</password>
      <requestData>
        <application>
          <FullName>string</FullName>
          <NameOnCard>string</NameOnCard>
          <NewICNumber>string</NewICNumber>
          <OldICNumber>string</OldICNumber>
          <PassportNumber>string</PassportNumber>
          <AddressLine1>string</AddressLine1>
          <AddressLine2>string</AddressLine2>
          <AddressLine3>string</AddressLine3>
          <AddressLine4>string</AddressLine4>
          <City>string</City>
          <StateCode>int</StateCode>
          <Postcode>string</Postcode>
          <CountryCode>string</CountryCode>
          <MobilePhoneNumber>string</MobilePhoneNumber>
          <HomePhoneNumber>string</HomePhoneNumber>
          <OfficePhoneNumber>string</OfficePhoneNumber>
          <EmailAddress>string</EmailAddress>
          <MotherMaidenName>string</MotherMaidenName>
          <DateOfBirth>dateTime</DateOfBirth>
          <Gender>Male or Female</Gender>
          <Race>Malay or Chinese or Indian or Others</Race>
          <MaritalStatus>Single or Married</MaritalStatus>
          <Occupation>Businessman or Director or Manager or NonExecutive or Profesional or Housewife or Student or Others</Occupation>
          <PreferedLanguage>English or Chinese or Malay</PreferedLanguage>
          <OwnCreditCard>boolean</OwnCreditCard>
          <OwnVehicle>boolean</OwnVehicle>
          <SubscribeEStatement>boolean</SubscribeEStatement>
          <ReIssueCard>boolean</ReIssueCard>
        </application>
      </requestData>
    </TokenInstoreCardApplication>
  </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>
    <TokenInstoreCardApplicationResponse xmlns="http://WebServices.BonusLink.com.my/Common.asmx">
      <TokenInstoreCardApplicationResult>
        <accountNumber>int</accountNumber>
        <cardNumber>long</cardNumber>
        <accountStatus>Pending or Active or Suspended or Closed or Dormant or ForceClosed or Inactive or Unverified or Merged</accountStatus>
      </TokenInstoreCardApplicationResult>
    </TokenInstoreCardApplicationResponse>
  </soap12:Body>
</soap12:Envelope>