IRMPublicMethods


Click here for a complete list of operations.

CRMGetAccount

Retrieve CRM guest information, optionally including points details

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 /rdpwincentralsvc/irmpublic.asmx HTTP/1.1
Host: irm.resortdata.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://resortdata.com/IRMPublic/CRMGetAccount"

<?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>
    <CRMGetAccount xmlns="http://resortdata.com/IRMPublic">
      <RQ>
        <Credentials>
          <LogonID>string</LogonID>
          <Password>string</Password>
          <DataPath>string</DataPath>
          <DatabaseID>string</DatabaseID>
        </Credentials>
        <RequestOptions>int</RequestOptions>
        <ResponseOptions>int</ResponseOptions>
        <GuestCredentials>
          <LoginType>GuestHistoryNumber_0 or GuestHistoryEmail_1 or CRMNumber_2 or CRMAlternate_3 or CRMEmail_4</LoginType>
          <LoginID>string</LoginID>
          <Password>string</Password>
        </GuestCredentials>
      </RQ>
    </CRMGetAccount>
  </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>
    <CRMGetAccountResponse xmlns="http://resortdata.com/IRMPublic">
      <CRMGetAccountResult>
        <Status>int</Status>
        <ErrMsg>string</ErrMsg>
        <Result>string</Result>
        <UnavailableReason>string</UnavailableReason>
        <ConfirmationNumber>string</ConfirmationNumber>
        <ResultSet>
          <xsd:schema>schema</xsd:schema>xml</ResultSet>
      </CRMGetAccountResult>
    </CRMGetAccountResponse>
  </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 /rdpwincentralsvc/irmpublic.asmx HTTP/1.1
Host: irm.resortdata.com
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>
    <CRMGetAccount xmlns="http://resortdata.com/IRMPublic">
      <RQ>
        <Credentials>
          <LogonID>string</LogonID>
          <Password>string</Password>
          <DataPath>string</DataPath>
          <DatabaseID>string</DatabaseID>
        </Credentials>
        <RequestOptions>int</RequestOptions>
        <ResponseOptions>int</ResponseOptions>
        <GuestCredentials>
          <LoginType>GuestHistoryNumber_0 or GuestHistoryEmail_1 or CRMNumber_2 or CRMAlternate_3 or CRMEmail_4</LoginType>
          <LoginID>string</LoginID>
          <Password>string</Password>
        </GuestCredentials>
      </RQ>
    </CRMGetAccount>
  </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>
    <CRMGetAccountResponse xmlns="http://resortdata.com/IRMPublic">
      <CRMGetAccountResult>
        <Status>int</Status>
        <ErrMsg>string</ErrMsg>
        <Result>string</Result>
        <UnavailableReason>string</UnavailableReason>
        <ConfirmationNumber>string</ConfirmationNumber>
        <ResultSet>
          <xsd:schema>schema</xsd:schema>xml</ResultSet>
      </CRMGetAccountResult>
    </CRMGetAccountResponse>
  </soap12:Body>
</soap12:Envelope>