AffiliateDataFeed


Click here for a complete list of operations.

GetAccountInfo

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 /ADF_2013_06/affiliatedatafeed.asmx HTTP/1.1
Host: affiliate-staging.rci-europe.co.uk
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://rci.europe.adf/GetAccountInfo"

<?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>
    <GetAccountInfo xmlns="http://rci.europe.adf" />
  </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>
    <GetAccountInfoResponse xmlns="http://rci.europe.adf">
      <GetAccountInfoResult>
        <affiliateAccount>
          <affiliateClubs>
            <affiliateClub xsi:nil="true" />
            <affiliateClub xsi:nil="true" />
          </affiliateClubs>
          <affiliateResorts>
            <affiliateResort xsi:nil="true" />
            <affiliateResort xsi:nil="true" />
          </affiliateResorts>
          <affiliate>
            <affiliateId>long</affiliateId>
            <affiliateName>string</affiliateName>
            <enabled>boolean</enabled>
            <fromDate>dateTime</fromDate>
            <toDate>dateTime</toDate>
            <weeksInbound>boolean</weeksInbound>
            <pointsInbound>boolean</pointsInbound>
            <pointsTransactions>boolean</pointsTransactions>
            <pointsBalances>boolean</pointsBalances>
            <reservationComments>boolean</reservationComments>
          </affiliate>
        </affiliateAccount>
        <adfException>
          <code>unsignedLong</code>
          <message>Item10010_Affiliate_Not_Found or Item10020_Affiliate_Disabled or Item10030_Affiliate_Active_From_Date_Is_In_The_Future or Item10040_Affiliate_Active_To_Date_Is_In_The_Past or Item20010_Access_To_Reservations_Data_Not_Enabled or Item20020_Access_To_Points_Inbound_Data_Not_Enabled or Item20030_Access_To_Weeks_Inbound_Data_Not_Enabled or Item20040_Access_To_Points_Balances_Data_Not_Enabled or Item20050_Access_To_Points_Transactions_Data_Not_Enabled or Item20060_Access_To_Reservation_Comments_Data_Not_Enabled or Item30010_Request_Business_Logic_Error or Item30020_Internal_Error_Service_Is_Not_Available_At_This_Time</message>
          <userMessage>string</userMessage>
        </adfException>
      </GetAccountInfoResult>
    </GetAccountInfoResponse>
  </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 /ADF_2013_06/affiliatedatafeed.asmx HTTP/1.1
Host: affiliate-staging.rci-europe.co.uk
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>
    <GetAccountInfo xmlns="http://rci.europe.adf" />
  </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>
    <GetAccountInfoResponse xmlns="http://rci.europe.adf">
      <GetAccountInfoResult>
        <affiliateAccount>
          <affiliateClubs>
            <affiliateClub xsi:nil="true" />
            <affiliateClub xsi:nil="true" />
          </affiliateClubs>
          <affiliateResorts>
            <affiliateResort xsi:nil="true" />
            <affiliateResort xsi:nil="true" />
          </affiliateResorts>
          <affiliate>
            <affiliateId>long</affiliateId>
            <affiliateName>string</affiliateName>
            <enabled>boolean</enabled>
            <fromDate>dateTime</fromDate>
            <toDate>dateTime</toDate>
            <weeksInbound>boolean</weeksInbound>
            <pointsInbound>boolean</pointsInbound>
            <pointsTransactions>boolean</pointsTransactions>
            <pointsBalances>boolean</pointsBalances>
            <reservationComments>boolean</reservationComments>
          </affiliate>
        </affiliateAccount>
        <adfException>
          <code>unsignedLong</code>
          <message>Item10010_Affiliate_Not_Found or Item10020_Affiliate_Disabled or Item10030_Affiliate_Active_From_Date_Is_In_The_Future or Item10040_Affiliate_Active_To_Date_Is_In_The_Past or Item20010_Access_To_Reservations_Data_Not_Enabled or Item20020_Access_To_Points_Inbound_Data_Not_Enabled or Item20030_Access_To_Weeks_Inbound_Data_Not_Enabled or Item20040_Access_To_Points_Balances_Data_Not_Enabled or Item20050_Access_To_Points_Transactions_Data_Not_Enabled or Item20060_Access_To_Reservation_Comments_Data_Not_Enabled or Item30010_Request_Business_Logic_Error or Item30020_Internal_Error_Service_Is_Not_Available_At_This_Time</message>
          <userMessage>string</userMessage>
        </adfException>
      </GetAccountInfoResult>
    </GetAccountInfoResponse>
  </soap12:Body>
</soap12:Envelope>