RezLynx Web Service Router


Click here for a complete list of operations.

sync_GetProfiles

sync_GetProfiles

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 /rlxsoap.asmx HTTP/1.1
Host: rlxsoap.eu.guestline.app
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/RLXSOAP19/RLXSOAP19/sync_GetProfiles"

<?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>
    <sync_GetProfiles xmlns="http://tempuri.org/RLXSOAP19/RLXSOAP19">
      <SessionID>string</SessionID>
      <AfterTimestamp>dateTime</AfterTimestamp>
      <AfterKey>string</AfterKey>
      <SyncProfileList>
        <cpmsprf_PersonProfileSummary>
          <ProfileRef>string</ProfileRef>
          <ProfileType>int</ProfileType>
          <TypeOfPerson>int</TypeOfPerson>
          <Nationality>string</Nationality>
          <Language>string</Language>
          <DOB>dateTime</DOB>
          <Salutation>string</Salutation>
          <Forename>string</Forename>
          <Surname>string</Surname>
          <CompanyRef>string</CompanyRef>
          <Street>string</Street>
          <Area>string</Area>
          <Town>string</Town>
          <County>string</County>
          <Country>string</Country>
          <PostCode>string</PostCode>
          <TelNo>string</TelNo>
          <FaxNo>string</FaxNo>
          <MobileNo>string</MobileNo>
          <EMail>string</EMail>
          <Notes>string</Notes>
          <ExcludeFromMailings>int</ExcludeFromMailings>
          <VIP>int</VIP>
          <Smoker>int</Smoker>
          <BlackListed>int</BlackListed>
          <AvgSpend1>decimal</AvgSpend1>
          <AvgSpend2>decimal</AvgSpend2>
          <AvgAllSpend>decimal</AvgAllSpend>
          <AvgStayLength>int</AvgStayLength>
          <AvgLedgerSpend>decimal</AvgLedgerSpend>
          <NoOfStays>int</NoOfStays>
          <LastArrival>dateTime</LastArrival>
          <LastDepart>dateTime</LastDepart>
          <LastRoomType>string</LastRoomType>
          <LastRoomID>string</LastRoomID>
          <LastSiteID>string</LastSiteID>
          <LastSpend1>decimal</LastSpend1>
          <LastSpend2>decimal</LastSpend2>
          <LastAllSpend>decimal</LastAllSpend>
          <LastSource>string</LastSource>
          <UseCompanyAddress>int</UseCompanyAddress>
          <IsCompanyContact>boolean</IsCompanyContact>
          <Greeting>string</Greeting>
          <LoyaltyId>string</LoyaltyId>
          <ModifyTimeStamp>dateTime</ModifyTimeStamp>
          <AttributeValues>
            <SyncAttributes xsi:nil="true" />
            <SyncAttributes xsi:nil="true" />
          </AttributeValues>
          <RFlag>int</RFlag>
          <Gender>int</Gender>
          <StudentId>string</StudentId>
          <ExcludeFromThirdPartyMailings>boolean</ExcludeFromThirdPartyMailings>
        </cpmsprf_PersonProfileSummary>
        <cpmsprf_PersonProfileSummary>
          <ProfileRef>string</ProfileRef>
          <ProfileType>int</ProfileType>
          <TypeOfPerson>int</TypeOfPerson>
          <Nationality>string</Nationality>
          <Language>string</Language>
          <DOB>dateTime</DOB>
          <Salutation>string</Salutation>
          <Forename>string</Forename>
          <Surname>string</Surname>
          <CompanyRef>string</CompanyRef>
          <Street>string</Street>
          <Area>string</Area>
          <Town>string</Town>
          <County>string</County>
          <Country>string</Country>
          <PostCode>string</PostCode>
          <TelNo>string</TelNo>
          <FaxNo>string</FaxNo>
          <MobileNo>string</MobileNo>
          <EMail>string</EMail>
          <Notes>string</Notes>
          <ExcludeFromMailings>int</ExcludeFromMailings>
          <VIP>int</VIP>
          <Smoker>int</Smoker>
          <BlackListed>int</BlackListed>
          <AvgSpend1>decimal</AvgSpend1>
          <AvgSpend2>decimal</AvgSpend2>
          <AvgAllSpend>decimal</AvgAllSpend>
          <AvgStayLength>int</AvgStayLength>
          <AvgLedgerSpend>decimal</AvgLedgerSpend>
          <NoOfStays>int</NoOfStays>
          <LastArrival>dateTime</LastArrival>
          <LastDepart>dateTime</LastDepart>
          <LastRoomType>string</LastRoomType>
          <LastRoomID>string</LastRoomID>
          <LastSiteID>string</LastSiteID>
          <LastSpend1>decimal</LastSpend1>
          <LastSpend2>decimal</LastSpend2>
          <LastAllSpend>decimal</LastAllSpend>
          <LastSource>string</LastSource>
          <UseCompanyAddress>int</UseCompanyAddress>
          <IsCompanyContact>boolean</IsCompanyContact>
          <Greeting>string</Greeting>
          <LoyaltyId>string</LoyaltyId>
          <ModifyTimeStamp>dateTime</ModifyTimeStamp>
          <AttributeValues>
            <SyncAttributes xsi:nil="true" />
            <SyncAttributes xsi:nil="true" />
          </AttributeValues>
          <RFlag>int</RFlag>
          <Gender>int</Gender>
          <StudentId>string</StudentId>
          <ExcludeFromThirdPartyMailings>boolean</ExcludeFromThirdPartyMailings>
        </cpmsprf_PersonProfileSummary>
      </SyncProfileList>
    </sync_GetProfiles>
  </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>
    <sync_GetProfilesResponse xmlns="http://tempuri.org/RLXSOAP19/RLXSOAP19">
      <sync_GetProfilesResult>
        <ExceptionCode>int</ExceptionCode>
        <ExceptionDescription>string</ExceptionDescription>
      </sync_GetProfilesResult>
      <SyncProfileList>
        <cpmsprf_PersonProfileSummary>
          <ProfileRef>string</ProfileRef>
          <ProfileType>int</ProfileType>
          <TypeOfPerson>int</TypeOfPerson>
          <Nationality>string</Nationality>
          <Language>string</Language>
          <DOB>dateTime</DOB>
          <Salutation>string</Salutation>
          <Forename>string</Forename>
          <Surname>string</Surname>
          <CompanyRef>string</CompanyRef>
          <Street>string</Street>
          <Area>string</Area>
          <Town>string</Town>
          <County>string</County>
          <Country>string</Country>
          <PostCode>string</PostCode>
          <TelNo>string</TelNo>
          <FaxNo>string</FaxNo>
          <MobileNo>string</MobileNo>
          <EMail>string</EMail>
          <Notes>string</Notes>
          <ExcludeFromMailings>int</ExcludeFromMailings>
          <VIP>int</VIP>
          <Smoker>int</Smoker>
          <BlackListed>int</BlackListed>
          <AvgSpend1>decimal</AvgSpend1>
          <AvgSpend2>decimal</AvgSpend2>
          <AvgAllSpend>decimal</AvgAllSpend>
          <AvgStayLength>int</AvgStayLength>
          <AvgLedgerSpend>decimal</AvgLedgerSpend>
          <NoOfStays>int</NoOfStays>
          <LastArrival>dateTime</LastArrival>
          <LastDepart>dateTime</LastDepart>
          <LastRoomType>string</LastRoomType>
          <LastRoomID>string</LastRoomID>
          <LastSiteID>string</LastSiteID>
          <LastSpend1>decimal</LastSpend1>
          <LastSpend2>decimal</LastSpend2>
          <LastAllSpend>decimal</LastAllSpend>
          <LastSource>string</LastSource>
          <UseCompanyAddress>int</UseCompanyAddress>
          <IsCompanyContact>boolean</IsCompanyContact>
          <Greeting>string</Greeting>
          <LoyaltyId>string</LoyaltyId>
          <ModifyTimeStamp>dateTime</ModifyTimeStamp>
          <AttributeValues>
            <SyncAttributes xsi:nil="true" />
            <SyncAttributes xsi:nil="true" />
          </AttributeValues>
          <RFlag>int</RFlag>
          <Gender>int</Gender>
          <StudentId>string</StudentId>
          <ExcludeFromThirdPartyMailings>boolean</ExcludeFromThirdPartyMailings>
        </cpmsprf_PersonProfileSummary>
        <cpmsprf_PersonProfileSummary>
          <ProfileRef>string</ProfileRef>
          <ProfileType>int</ProfileType>
          <TypeOfPerson>int</TypeOfPerson>
          <Nationality>string</Nationality>
          <Language>string</Language>
          <DOB>dateTime</DOB>
          <Salutation>string</Salutation>
          <Forename>string</Forename>
          <Surname>string</Surname>
          <CompanyRef>string</CompanyRef>
          <Street>string</Street>
          <Area>string</Area>
          <Town>string</Town>
          <County>string</County>
          <Country>string</Country>
          <PostCode>string</PostCode>
          <TelNo>string</TelNo>
          <FaxNo>string</FaxNo>
          <MobileNo>string</MobileNo>
          <EMail>string</EMail>
          <Notes>string</Notes>
          <ExcludeFromMailings>int</ExcludeFromMailings>
          <VIP>int</VIP>
          <Smoker>int</Smoker>
          <BlackListed>int</BlackListed>
          <AvgSpend1>decimal</AvgSpend1>
          <AvgSpend2>decimal</AvgSpend2>
          <AvgAllSpend>decimal</AvgAllSpend>
          <AvgStayLength>int</AvgStayLength>
          <AvgLedgerSpend>decimal</AvgLedgerSpend>
          <NoOfStays>int</NoOfStays>
          <LastArrival>dateTime</LastArrival>
          <LastDepart>dateTime</LastDepart>
          <LastRoomType>string</LastRoomType>
          <LastRoomID>string</LastRoomID>
          <LastSiteID>string</LastSiteID>
          <LastSpend1>decimal</LastSpend1>
          <LastSpend2>decimal</LastSpend2>
          <LastAllSpend>decimal</LastAllSpend>
          <LastSource>string</LastSource>
          <UseCompanyAddress>int</UseCompanyAddress>
          <IsCompanyContact>boolean</IsCompanyContact>
          <Greeting>string</Greeting>
          <LoyaltyId>string</LoyaltyId>
          <ModifyTimeStamp>dateTime</ModifyTimeStamp>
          <AttributeValues>
            <SyncAttributes xsi:nil="true" />
            <SyncAttributes xsi:nil="true" />
          </AttributeValues>
          <RFlag>int</RFlag>
          <Gender>int</Gender>
          <StudentId>string</StudentId>
          <ExcludeFromThirdPartyMailings>boolean</ExcludeFromThirdPartyMailings>
        </cpmsprf_PersonProfileSummary>
      </SyncProfileList>
    </sync_GetProfilesResponse>
  </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 /rlxsoap.asmx HTTP/1.1
Host: rlxsoap.eu.guestline.app
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>
    <sync_GetProfiles xmlns="http://tempuri.org/RLXSOAP19/RLXSOAP19">
      <SessionID>string</SessionID>
      <AfterTimestamp>dateTime</AfterTimestamp>
      <AfterKey>string</AfterKey>
      <SyncProfileList>
        <cpmsprf_PersonProfileSummary>
          <ProfileRef>string</ProfileRef>
          <ProfileType>int</ProfileType>
          <TypeOfPerson>int</TypeOfPerson>
          <Nationality>string</Nationality>
          <Language>string</Language>
          <DOB>dateTime</DOB>
          <Salutation>string</Salutation>
          <Forename>string</Forename>
          <Surname>string</Surname>
          <CompanyRef>string</CompanyRef>
          <Street>string</Street>
          <Area>string</Area>
          <Town>string</Town>
          <County>string</County>
          <Country>string</Country>
          <PostCode>string</PostCode>
          <TelNo>string</TelNo>
          <FaxNo>string</FaxNo>
          <MobileNo>string</MobileNo>
          <EMail>string</EMail>
          <Notes>string</Notes>
          <ExcludeFromMailings>int</ExcludeFromMailings>
          <VIP>int</VIP>
          <Smoker>int</Smoker>
          <BlackListed>int</BlackListed>
          <AvgSpend1>decimal</AvgSpend1>
          <AvgSpend2>decimal</AvgSpend2>
          <AvgAllSpend>decimal</AvgAllSpend>
          <AvgStayLength>int</AvgStayLength>
          <AvgLedgerSpend>decimal</AvgLedgerSpend>
          <NoOfStays>int</NoOfStays>
          <LastArrival>dateTime</LastArrival>
          <LastDepart>dateTime</LastDepart>
          <LastRoomType>string</LastRoomType>
          <LastRoomID>string</LastRoomID>
          <LastSiteID>string</LastSiteID>
          <LastSpend1>decimal</LastSpend1>
          <LastSpend2>decimal</LastSpend2>
          <LastAllSpend>decimal</LastAllSpend>
          <LastSource>string</LastSource>
          <UseCompanyAddress>int</UseCompanyAddress>
          <IsCompanyContact>boolean</IsCompanyContact>
          <Greeting>string</Greeting>
          <LoyaltyId>string</LoyaltyId>
          <ModifyTimeStamp>dateTime</ModifyTimeStamp>
          <AttributeValues>
            <SyncAttributes xsi:nil="true" />
            <SyncAttributes xsi:nil="true" />
          </AttributeValues>
          <RFlag>int</RFlag>
          <Gender>int</Gender>
          <StudentId>string</StudentId>
          <ExcludeFromThirdPartyMailings>boolean</ExcludeFromThirdPartyMailings>
        </cpmsprf_PersonProfileSummary>
        <cpmsprf_PersonProfileSummary>
          <ProfileRef>string</ProfileRef>
          <ProfileType>int</ProfileType>
          <TypeOfPerson>int</TypeOfPerson>
          <Nationality>string</Nationality>
          <Language>string</Language>
          <DOB>dateTime</DOB>
          <Salutation>string</Salutation>
          <Forename>string</Forename>
          <Surname>string</Surname>
          <CompanyRef>string</CompanyRef>
          <Street>string</Street>
          <Area>string</Area>
          <Town>string</Town>
          <County>string</County>
          <Country>string</Country>
          <PostCode>string</PostCode>
          <TelNo>string</TelNo>
          <FaxNo>string</FaxNo>
          <MobileNo>string</MobileNo>
          <EMail>string</EMail>
          <Notes>string</Notes>
          <ExcludeFromMailings>int</ExcludeFromMailings>
          <VIP>int</VIP>
          <Smoker>int</Smoker>
          <BlackListed>int</BlackListed>
          <AvgSpend1>decimal</AvgSpend1>
          <AvgSpend2>decimal</AvgSpend2>
          <AvgAllSpend>decimal</AvgAllSpend>
          <AvgStayLength>int</AvgStayLength>
          <AvgLedgerSpend>decimal</AvgLedgerSpend>
          <NoOfStays>int</NoOfStays>
          <LastArrival>dateTime</LastArrival>
          <LastDepart>dateTime</LastDepart>
          <LastRoomType>string</LastRoomType>
          <LastRoomID>string</LastRoomID>
          <LastSiteID>string</LastSiteID>
          <LastSpend1>decimal</LastSpend1>
          <LastSpend2>decimal</LastSpend2>
          <LastAllSpend>decimal</LastAllSpend>
          <LastSource>string</LastSource>
          <UseCompanyAddress>int</UseCompanyAddress>
          <IsCompanyContact>boolean</IsCompanyContact>
          <Greeting>string</Greeting>
          <LoyaltyId>string</LoyaltyId>
          <ModifyTimeStamp>dateTime</ModifyTimeStamp>
          <AttributeValues>
            <SyncAttributes xsi:nil="true" />
            <SyncAttributes xsi:nil="true" />
          </AttributeValues>
          <RFlag>int</RFlag>
          <Gender>int</Gender>
          <StudentId>string</StudentId>
          <ExcludeFromThirdPartyMailings>boolean</ExcludeFromThirdPartyMailings>
        </cpmsprf_PersonProfileSummary>
      </SyncProfileList>
    </sync_GetProfiles>
  </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>
    <sync_GetProfilesResponse xmlns="http://tempuri.org/RLXSOAP19/RLXSOAP19">
      <sync_GetProfilesResult>
        <ExceptionCode>int</ExceptionCode>
        <ExceptionDescription>string</ExceptionDescription>
      </sync_GetProfilesResult>
      <SyncProfileList>
        <cpmsprf_PersonProfileSummary>
          <ProfileRef>string</ProfileRef>
          <ProfileType>int</ProfileType>
          <TypeOfPerson>int</TypeOfPerson>
          <Nationality>string</Nationality>
          <Language>string</Language>
          <DOB>dateTime</DOB>
          <Salutation>string</Salutation>
          <Forename>string</Forename>
          <Surname>string</Surname>
          <CompanyRef>string</CompanyRef>
          <Street>string</Street>
          <Area>string</Area>
          <Town>string</Town>
          <County>string</County>
          <Country>string</Country>
          <PostCode>string</PostCode>
          <TelNo>string</TelNo>
          <FaxNo>string</FaxNo>
          <MobileNo>string</MobileNo>
          <EMail>string</EMail>
          <Notes>string</Notes>
          <ExcludeFromMailings>int</ExcludeFromMailings>
          <VIP>int</VIP>
          <Smoker>int</Smoker>
          <BlackListed>int</BlackListed>
          <AvgSpend1>decimal</AvgSpend1>
          <AvgSpend2>decimal</AvgSpend2>
          <AvgAllSpend>decimal</AvgAllSpend>
          <AvgStayLength>int</AvgStayLength>
          <AvgLedgerSpend>decimal</AvgLedgerSpend>
          <NoOfStays>int</NoOfStays>
          <LastArrival>dateTime</LastArrival>
          <LastDepart>dateTime</LastDepart>
          <LastRoomType>string</LastRoomType>
          <LastRoomID>string</LastRoomID>
          <LastSiteID>string</LastSiteID>
          <LastSpend1>decimal</LastSpend1>
          <LastSpend2>decimal</LastSpend2>
          <LastAllSpend>decimal</LastAllSpend>
          <LastSource>string</LastSource>
          <UseCompanyAddress>int</UseCompanyAddress>
          <IsCompanyContact>boolean</IsCompanyContact>
          <Greeting>string</Greeting>
          <LoyaltyId>string</LoyaltyId>
          <ModifyTimeStamp>dateTime</ModifyTimeStamp>
          <AttributeValues>
            <SyncAttributes xsi:nil="true" />
            <SyncAttributes xsi:nil="true" />
          </AttributeValues>
          <RFlag>int</RFlag>
          <Gender>int</Gender>
          <StudentId>string</StudentId>
          <ExcludeFromThirdPartyMailings>boolean</ExcludeFromThirdPartyMailings>
        </cpmsprf_PersonProfileSummary>
        <cpmsprf_PersonProfileSummary>
          <ProfileRef>string</ProfileRef>
          <ProfileType>int</ProfileType>
          <TypeOfPerson>int</TypeOfPerson>
          <Nationality>string</Nationality>
          <Language>string</Language>
          <DOB>dateTime</DOB>
          <Salutation>string</Salutation>
          <Forename>string</Forename>
          <Surname>string</Surname>
          <CompanyRef>string</CompanyRef>
          <Street>string</Street>
          <Area>string</Area>
          <Town>string</Town>
          <County>string</County>
          <Country>string</Country>
          <PostCode>string</PostCode>
          <TelNo>string</TelNo>
          <FaxNo>string</FaxNo>
          <MobileNo>string</MobileNo>
          <EMail>string</EMail>
          <Notes>string</Notes>
          <ExcludeFromMailings>int</ExcludeFromMailings>
          <VIP>int</VIP>
          <Smoker>int</Smoker>
          <BlackListed>int</BlackListed>
          <AvgSpend1>decimal</AvgSpend1>
          <AvgSpend2>decimal</AvgSpend2>
          <AvgAllSpend>decimal</AvgAllSpend>
          <AvgStayLength>int</AvgStayLength>
          <AvgLedgerSpend>decimal</AvgLedgerSpend>
          <NoOfStays>int</NoOfStays>
          <LastArrival>dateTime</LastArrival>
          <LastDepart>dateTime</LastDepart>
          <LastRoomType>string</LastRoomType>
          <LastRoomID>string</LastRoomID>
          <LastSiteID>string</LastSiteID>
          <LastSpend1>decimal</LastSpend1>
          <LastSpend2>decimal</LastSpend2>
          <LastAllSpend>decimal</LastAllSpend>
          <LastSource>string</LastSource>
          <UseCompanyAddress>int</UseCompanyAddress>
          <IsCompanyContact>boolean</IsCompanyContact>
          <Greeting>string</Greeting>
          <LoyaltyId>string</LoyaltyId>
          <ModifyTimeStamp>dateTime</ModifyTimeStamp>
          <AttributeValues>
            <SyncAttributes xsi:nil="true" />
            <SyncAttributes xsi:nil="true" />
          </AttributeValues>
          <RFlag>int</RFlag>
          <Gender>int</Gender>
          <StudentId>string</StudentId>
          <ExcludeFromThirdPartyMailings>boolean</ExcludeFromThirdPartyMailings>
        </cpmsprf_PersonProfileSummary>
      </SyncProfileList>
    </sync_GetProfilesResponse>
  </soap12:Body>
</soap12:Envelope>