RezLynx Web Service Router


Click here for a complete list of operations.

sync_GetRoomStructure

sync_GetRoomStructure

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_GetRoomStructure"

<?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_GetRoomStructure xmlns="http://tempuri.org/RLXSOAP19/RLXSOAP19">
      <SessionID>string</SessionID>
      <SyncRoomTypes>
        <RoomTypes>
          <RoomTypeItem>
            <RoomTypeCode>string</RoomTypeCode>
            <RoomTypeGroupCode>string</RoomTypeGroupCode>
            <Description>string</Description>
            <RoomTypeClass>Bedroom or FunctionRoom or Other</RoomTypeClass>
            <Pax>int</Pax>
            <SystemSource>Unknown or Rezlynx or PublicPortal or AgentPortal or CorporatePortal or Roomlynx or CRS or BWCRS or WebService</SystemSource>
            <RFlag>int</RFlag>
          </RoomTypeItem>
          <RoomTypeItem>
            <RoomTypeCode>string</RoomTypeCode>
            <RoomTypeGroupCode>string</RoomTypeGroupCode>
            <Description>string</Description>
            <RoomTypeClass>Bedroom or FunctionRoom or Other</RoomTypeClass>
            <Pax>int</Pax>
            <SystemSource>Unknown or Rezlynx or PublicPortal or AgentPortal or CorporatePortal or Roomlynx or CRS or BWCRS or WebService</SystemSource>
            <RFlag>int</RFlag>
          </RoomTypeItem>
        </RoomTypes>
      </SyncRoomTypes>
      <SyncRoomStructure>
        <RoomGroups>
          <RoomGroupItem>
            <SubGroups xsi:nil="true" />
            <RoomMainGroupCode>string</RoomMainGroupCode>
            <Description>string</Description>
          </RoomGroupItem>
          <RoomGroupItem>
            <SubGroups xsi:nil="true" />
            <RoomMainGroupCode>string</RoomMainGroupCode>
            <Description>string</Description>
          </RoomGroupItem>
        </RoomGroups>
      </SyncRoomStructure>
      <SyncRoomAttributes>
        <Items>
          <Attribute>
            <Id>int</Id>
            <Area>int</Area>
            <Reference>string</Reference>
            <AttributeCode>string</AttributeCode>
            <AttributeValue>string</AttributeValue>
          </Attribute>
          <Attribute>
            <Id>int</Id>
            <Area>int</Area>
            <Reference>string</Reference>
            <AttributeCode>string</AttributeCode>
            <AttributeValue>string</AttributeValue>
          </Attribute>
        </Items>
      </SyncRoomAttributes>
    </sync_GetRoomStructure>
  </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_GetRoomStructureResponse xmlns="http://tempuri.org/RLXSOAP19/RLXSOAP19">
      <sync_GetRoomStructureResult>
        <ExceptionCode>int</ExceptionCode>
        <ExceptionDescription>string</ExceptionDescription>
      </sync_GetRoomStructureResult>
      <SyncRoomTypes>
        <RoomTypes>
          <RoomTypeItem>
            <RoomTypeCode>string</RoomTypeCode>
            <RoomTypeGroupCode>string</RoomTypeGroupCode>
            <Description>string</Description>
            <RoomTypeClass>Bedroom or FunctionRoom or Other</RoomTypeClass>
            <Pax>int</Pax>
            <SystemSource>Unknown or Rezlynx or PublicPortal or AgentPortal or CorporatePortal or Roomlynx or CRS or BWCRS or WebService</SystemSource>
            <RFlag>int</RFlag>
          </RoomTypeItem>
          <RoomTypeItem>
            <RoomTypeCode>string</RoomTypeCode>
            <RoomTypeGroupCode>string</RoomTypeGroupCode>
            <Description>string</Description>
            <RoomTypeClass>Bedroom or FunctionRoom or Other</RoomTypeClass>
            <Pax>int</Pax>
            <SystemSource>Unknown or Rezlynx or PublicPortal or AgentPortal or CorporatePortal or Roomlynx or CRS or BWCRS or WebService</SystemSource>
            <RFlag>int</RFlag>
          </RoomTypeItem>
        </RoomTypes>
      </SyncRoomTypes>
      <SyncRoomStructure>
        <RoomGroups>
          <RoomGroupItem>
            <SubGroups xsi:nil="true" />
            <RoomMainGroupCode>string</RoomMainGroupCode>
            <Description>string</Description>
          </RoomGroupItem>
          <RoomGroupItem>
            <SubGroups xsi:nil="true" />
            <RoomMainGroupCode>string</RoomMainGroupCode>
            <Description>string</Description>
          </RoomGroupItem>
        </RoomGroups>
      </SyncRoomStructure>
      <SyncRoomAttributes>
        <Items>
          <Attribute>
            <Id>int</Id>
            <Area>int</Area>
            <Reference>string</Reference>
            <AttributeCode>string</AttributeCode>
            <AttributeValue>string</AttributeValue>
          </Attribute>
          <Attribute>
            <Id>int</Id>
            <Area>int</Area>
            <Reference>string</Reference>
            <AttributeCode>string</AttributeCode>
            <AttributeValue>string</AttributeValue>
          </Attribute>
        </Items>
      </SyncRoomAttributes>
    </sync_GetRoomStructureResponse>
  </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_GetRoomStructure xmlns="http://tempuri.org/RLXSOAP19/RLXSOAP19">
      <SessionID>string</SessionID>
      <SyncRoomTypes>
        <RoomTypes>
          <RoomTypeItem>
            <RoomTypeCode>string</RoomTypeCode>
            <RoomTypeGroupCode>string</RoomTypeGroupCode>
            <Description>string</Description>
            <RoomTypeClass>Bedroom or FunctionRoom or Other</RoomTypeClass>
            <Pax>int</Pax>
            <SystemSource>Unknown or Rezlynx or PublicPortal or AgentPortal or CorporatePortal or Roomlynx or CRS or BWCRS or WebService</SystemSource>
            <RFlag>int</RFlag>
          </RoomTypeItem>
          <RoomTypeItem>
            <RoomTypeCode>string</RoomTypeCode>
            <RoomTypeGroupCode>string</RoomTypeGroupCode>
            <Description>string</Description>
            <RoomTypeClass>Bedroom or FunctionRoom or Other</RoomTypeClass>
            <Pax>int</Pax>
            <SystemSource>Unknown or Rezlynx or PublicPortal or AgentPortal or CorporatePortal or Roomlynx or CRS or BWCRS or WebService</SystemSource>
            <RFlag>int</RFlag>
          </RoomTypeItem>
        </RoomTypes>
      </SyncRoomTypes>
      <SyncRoomStructure>
        <RoomGroups>
          <RoomGroupItem>
            <SubGroups xsi:nil="true" />
            <RoomMainGroupCode>string</RoomMainGroupCode>
            <Description>string</Description>
          </RoomGroupItem>
          <RoomGroupItem>
            <SubGroups xsi:nil="true" />
            <RoomMainGroupCode>string</RoomMainGroupCode>
            <Description>string</Description>
          </RoomGroupItem>
        </RoomGroups>
      </SyncRoomStructure>
      <SyncRoomAttributes>
        <Items>
          <Attribute>
            <Id>int</Id>
            <Area>int</Area>
            <Reference>string</Reference>
            <AttributeCode>string</AttributeCode>
            <AttributeValue>string</AttributeValue>
          </Attribute>
          <Attribute>
            <Id>int</Id>
            <Area>int</Area>
            <Reference>string</Reference>
            <AttributeCode>string</AttributeCode>
            <AttributeValue>string</AttributeValue>
          </Attribute>
        </Items>
      </SyncRoomAttributes>
    </sync_GetRoomStructure>
  </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_GetRoomStructureResponse xmlns="http://tempuri.org/RLXSOAP19/RLXSOAP19">
      <sync_GetRoomStructureResult>
        <ExceptionCode>int</ExceptionCode>
        <ExceptionDescription>string</ExceptionDescription>
      </sync_GetRoomStructureResult>
      <SyncRoomTypes>
        <RoomTypes>
          <RoomTypeItem>
            <RoomTypeCode>string</RoomTypeCode>
            <RoomTypeGroupCode>string</RoomTypeGroupCode>
            <Description>string</Description>
            <RoomTypeClass>Bedroom or FunctionRoom or Other</RoomTypeClass>
            <Pax>int</Pax>
            <SystemSource>Unknown or Rezlynx or PublicPortal or AgentPortal or CorporatePortal or Roomlynx or CRS or BWCRS or WebService</SystemSource>
            <RFlag>int</RFlag>
          </RoomTypeItem>
          <RoomTypeItem>
            <RoomTypeCode>string</RoomTypeCode>
            <RoomTypeGroupCode>string</RoomTypeGroupCode>
            <Description>string</Description>
            <RoomTypeClass>Bedroom or FunctionRoom or Other</RoomTypeClass>
            <Pax>int</Pax>
            <SystemSource>Unknown or Rezlynx or PublicPortal or AgentPortal or CorporatePortal or Roomlynx or CRS or BWCRS or WebService</SystemSource>
            <RFlag>int</RFlag>
          </RoomTypeItem>
        </RoomTypes>
      </SyncRoomTypes>
      <SyncRoomStructure>
        <RoomGroups>
          <RoomGroupItem>
            <SubGroups xsi:nil="true" />
            <RoomMainGroupCode>string</RoomMainGroupCode>
            <Description>string</Description>
          </RoomGroupItem>
          <RoomGroupItem>
            <SubGroups xsi:nil="true" />
            <RoomMainGroupCode>string</RoomMainGroupCode>
            <Description>string</Description>
          </RoomGroupItem>
        </RoomGroups>
      </SyncRoomStructure>
      <SyncRoomAttributes>
        <Items>
          <Attribute>
            <Id>int</Id>
            <Area>int</Area>
            <Reference>string</Reference>
            <AttributeCode>string</AttributeCode>
            <AttributeValue>string</AttributeValue>
          </Attribute>
          <Attribute>
            <Id>int</Id>
            <Area>int</Area>
            <Reference>string</Reference>
            <AttributeCode>string</AttributeCode>
            <AttributeValue>string</AttributeValue>
          </Attribute>
        </Items>
      </SyncRoomAttributes>
    </sync_GetRoomStructureResponse>
  </soap12:Body>
</soap12:Envelope>