AffiliateDataFeed
Click here for a complete list of operations.
GetPointsBalance
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/GetPointsBalance" <?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> <GetPointsBalance 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> <GetPointsBalanceResponse xmlns="http://rci.europe.adf"> <GetPointsBalanceResult> <transactionId>string</transactionId> <recordsIncomplete>boolean</recordsIncomplete> <recordsIncompleteSpecified>boolean</recordsIncompleteSpecified> <pointsBalances> <pointsBalance> <rciMemberId>string</rciMemberId> <pointsClub>string</pointsClub> <affiliateMemberId>string</affiliateMemberId> <transactionDate>dateTime</transactionDate> <pointsBalanceCurrentYear>long</pointsBalanceCurrentYear> <pointsBalanceCurrentYearPlus1>long</pointsBalanceCurrentYearPlus1> <pointsBalanceCurrentYearPlus1Specified>boolean</pointsBalanceCurrentYearPlus1Specified> <pointsBalanceCurrentYearPlus2>long</pointsBalanceCurrentYearPlus2> <pointsBalanceCurrentYearPlus2Specified>boolean</pointsBalanceCurrentYearPlus2Specified> </pointsBalance> <pointsBalance> <rciMemberId>string</rciMemberId> <pointsClub>string</pointsClub> <affiliateMemberId>string</affiliateMemberId> <transactionDate>dateTime</transactionDate> <pointsBalanceCurrentYear>long</pointsBalanceCurrentYear> <pointsBalanceCurrentYearPlus1>long</pointsBalanceCurrentYearPlus1> <pointsBalanceCurrentYearPlus1Specified>boolean</pointsBalanceCurrentYearPlus1Specified> <pointsBalanceCurrentYearPlus2>long</pointsBalanceCurrentYearPlus2> <pointsBalanceCurrentYearPlus2Specified>boolean</pointsBalanceCurrentYearPlus2Specified> </pointsBalance> </pointsBalances> <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> </GetPointsBalanceResult> </GetPointsBalanceResponse> </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> <GetPointsBalance 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> <GetPointsBalanceResponse xmlns="http://rci.europe.adf"> <GetPointsBalanceResult> <transactionId>string</transactionId> <recordsIncomplete>boolean</recordsIncomplete> <recordsIncompleteSpecified>boolean</recordsIncompleteSpecified> <pointsBalances> <pointsBalance> <rciMemberId>string</rciMemberId> <pointsClub>string</pointsClub> <affiliateMemberId>string</affiliateMemberId> <transactionDate>dateTime</transactionDate> <pointsBalanceCurrentYear>long</pointsBalanceCurrentYear> <pointsBalanceCurrentYearPlus1>long</pointsBalanceCurrentYearPlus1> <pointsBalanceCurrentYearPlus1Specified>boolean</pointsBalanceCurrentYearPlus1Specified> <pointsBalanceCurrentYearPlus2>long</pointsBalanceCurrentYearPlus2> <pointsBalanceCurrentYearPlus2Specified>boolean</pointsBalanceCurrentYearPlus2Specified> </pointsBalance> <pointsBalance> <rciMemberId>string</rciMemberId> <pointsClub>string</pointsClub> <affiliateMemberId>string</affiliateMemberId> <transactionDate>dateTime</transactionDate> <pointsBalanceCurrentYear>long</pointsBalanceCurrentYear> <pointsBalanceCurrentYearPlus1>long</pointsBalanceCurrentYearPlus1> <pointsBalanceCurrentYearPlus1Specified>boolean</pointsBalanceCurrentYearPlus1Specified> <pointsBalanceCurrentYearPlus2>long</pointsBalanceCurrentYearPlus2> <pointsBalanceCurrentYearPlus2Specified>boolean</pointsBalanceCurrentYearPlus2Specified> </pointsBalance> </pointsBalances> <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> </GetPointsBalanceResult> </GetPointsBalanceResponse> </soap12:Body> </soap12:Envelope>