AffiliateDataFeed


Click here for a complete list of operations.

GetServiceAvailability

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.rci-europe.co.uk
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://rci.europe.adf/GetServiceAvailability"

<?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>
    <GetServiceAvailability xmlns="http://rci.europe.adf">
      <ServiceAvailabilityRequest>
        <showAll>boolean</showAll>
      </ServiceAvailabilityRequest>
    </GetServiceAvailability>
  </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>
    <GetServiceAvailabilityResponse xmlns="http://rci.europe.adf">
      <GetServiceAvailabilityResult>
        <outages>
          <outage>
            <outageStartDateTime>dateTime</outageStartDateTime>
            <outageEndDateTime>dateTime</outageEndDateTime>
            <outageDescription>string</outageDescription>
          </outage>
          <outage>
            <outageStartDateTime>dateTime</outageStartDateTime>
            <outageEndDateTime>dateTime</outageEndDateTime>
            <outageDescription>string</outageDescription>
          </outage>
        </outages>
        <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>
      </GetServiceAvailabilityResult>
    </GetServiceAvailabilityResponse>
  </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.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>
    <GetServiceAvailability xmlns="http://rci.europe.adf">
      <ServiceAvailabilityRequest>
        <showAll>boolean</showAll>
      </ServiceAvailabilityRequest>
    </GetServiceAvailability>
  </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>
    <GetServiceAvailabilityResponse xmlns="http://rci.europe.adf">
      <GetServiceAvailabilityResult>
        <outages>
          <outage>
            <outageStartDateTime>dateTime</outageStartDateTime>
            <outageEndDateTime>dateTime</outageEndDateTime>
            <outageDescription>string</outageDescription>
          </outage>
          <outage>
            <outageStartDateTime>dateTime</outageStartDateTime>
            <outageEndDateTime>dateTime</outageEndDateTime>
            <outageDescription>string</outageDescription>
          </outage>
        </outages>
        <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>
      </GetServiceAvailabilityResult>
    </GetServiceAvailabilityResponse>
  </soap12:Body>
</soap12:Envelope>