Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

Basic architecture

The NETx Server provides an interface which can be used to integrate information from the hotel management system Mews. Using this interface, information about the check-in/check-out procedure and the hotel room states can be retrieved.

The communication is based on a REST full HTTP web service protocol that is using JSON objects as data payload and a websocket to retrieve events like check-in / check-out or changing room status. The Mews cloud service is the web API server and the NETx server is the client.

Integration steps

To start, open the menu Modules > Mews > Configuration.  . With the dialog, specify the Access Token and the User TokenID must be specified. This information can be retrieved from your Mews cloud account.

For a production environment, the Platform and Websocket URL can be kept at their default values. If other environments (e.g. the demo environment) are used, the corresponding URLs have to be entered too.

image-20241024-063512.png

Afterwards, the Core Server can be started. During startup, the Core Server connects to the Mews cloud service and tries to fetch the available hotel rooms.

To check that the connection was successful, open the item tree and navigate to NETx > XIO > Mews and verify that the GATEWAY item is set to true.

image-20241024-063734.png

If the connection is not successful, please search server system logs for warning and error messages.

The retrieved hotel rooms are shown in the sub item tree Rooms.

image-20241024-065024.png

For room, the following items are available:

Item name

Data type

Access

Notes

Id

String

read only

Shows the resource ID within the Mews system.

RoomChecked

Boolean

read only

True if the room is currently booked (Mews reservation state Started) – false otherwise.

RoomStatus

int

read only

Mews status of the hotel room. The following states are available:

  • Dirty (0)

  • Clean (1)

  • Inspected (2)

  • OutOfService (3)

  • OutOfOrder (4)

RoomStatusText

String

read only

Text representation of the room status

During the first startup, all available hotel rooms are fetched from the Mews cloud service and stored within the Room Definitions. This definition can be found in the Core Studio in the menu Modules > Mews > Room definitions.

image-20241024-070625.png

Article applies to the following products:

  • NETx BMS Platform

  • NETx Multi Protocol Server


  • No labels