Assistance Required for Customizing User Creation via API
HSNM Hardware and VM configurations. Sms, Email, Backup, Database

Rate this topic
   Post Reply
2 posts   •   Page 1 of 1
dpaz
Posts: 41
Joined: 02 May 2018, 11:02

Assistance Required for Customizing User Creation via API

by dpaz » 26 Jul 2024, 08:08

Dear Prometeo Support Team,

I hope this message finds you well.

We are currently using the HSNM API to integrate our Property Management System (PMS) with the RADIUS server for our hotel WiFi system. We have encountered an issue with the way user accounts are being created via the API.

Currently, when a user checks in, the API generates usernames and passwords as follows:

Username: LASTNAME+ROOM
Password: LASTNAME+ROOM

For example, when PEDRO GONZÁLEZ from room 305 checks in, the username and password generated are GONZALEZ305 / GONZALEZ305. This method is not secure, and our hotel management has requested a different approach.

We would like the username to be the email provided by the guest at check-in and the password to be the room number. For instance, if PEDRO GONZÁLEZ from room 305 checks in and provides the email pedro.gonzalez@example.com, the credentials should be:

Username: pedro.gonzalez@example.com
Password: 305

According to our development team, the current API does not support this configuration. However, we believe that there might be a way to achieve this through the API settings or additional configurations.

Could you please provide guidance or support on how we can implement the following requirements using the HSNM API:

Set the username to the guest's email provided at check-in.
Set the password to the guest's room number.

We appreciate your assistance in resolving this matter as it is crucial for enhancing the security and user experience of our hotel WiFi system.

Thank you for your attention and support.

Best regards.

HSNMSupport
Posts: 1553
Joined: 26 Jul 2016, 09:16

Re: Assistance Required for Customizing User Creation via API

by HSNMSupport » 26 Jul 2024, 09:00

Hello Pedro,
You can use the API integration exactly as you do now but instead of passing LASTNAME+ROOM you pass the customer's email.
You will then simply set the customer's email as the user's username in the HSNM domain.
G.

Rate this topic

Who is online

Users browsing this forum: No registered users and 3 guests

It is currently 08 Oct 2024, 19:44