237
XML Interface Specification

Query User

Sample file name: UserQuery.htm
The current User data is returned.
Command: "USER_QUERY"
tag_1: "USER"
tag_1_attr: "ID_TYPE"
tag_1_attr_data: "MAC_ADDR" or "USER_NAME"
data_1: if ID_TYPE = "MAC_ADDR" then (User's MAC address)
if ID_TYPE = "USER_NAME" then (user name)
Returns: Standard response form
tag_1: = "MAC_ADDR"
data_1: = (User's MAC address)
tag_2: = "USER_NAME"
data_2: = (user name)
tag_3: = "PASSWORD"
data_3: = (User's password)
tag_4: = "EXPIRY_TIME"
tag_4_attr: = "UNITS"
tag_4_attr_data: = "SECONDS", "HOURS", "DAYS"
data_4: = (number of expiry units)
tag_5: = "ROOM_NUMBER"
data_5: = (User's room number)
tag_6: = "PAYMENT_METHOD"
data_6: = "RADIUS", "PMS", "CREDIT_CARD", "ROOM"
tag_7: = "DATA_VOLUME"
data_7: = (data transferred by User in Kbytes)

Authorize User

A User's identity, specified by MAC address, is checked against the Authorized Subscribers and Current Subscribers
Tables. If the User is found in either table, VALID_USER is returned along with the User's authorization method:
RADIUS, PMS (not supported), CREDIT_CARD, or ROOM (not supported). If the User is not found, INVALID_USER
will be returned.
Command: "USER_AUTHORIZE"
Command attr: "MAC_ADDR"
Command attr_data: User MAC address (string)
Returns: Standard response form
tag_1: = "STATUS"
data_1: = "VALID_USER" or "INVALID_USER"
tag_2: = "PAYMENT_METHOD"
data_2: = "RADIUS", "PMS", "CREDIT_CARD", or "ROOM"