API

PMS Integration

Below you can see a description of a standard API for PMS Integration (if necessary, we can add more informations)

URL https://myserver.hoau.it/api/pmsEvent
Descrizione It receive from PMS information for new booking, updated booking and deleted booking
HTTP Method POST
Json Request {
"ID": "12345",
"RoomNumber": "100",
"Name": "guest_name",
"Surname": "guest_surname",
"CheckinDate": "2018-01-26T13:00:00Z",
"CheckoutDate": "2018-01-28T11:00:00Z",
"Email": "utente@email.it",
"PhoneNumber": "+393333333333",
"Deleted":false
}
Json Response Example of positive response:

{
"Status":"done",
"Code":"200",
"Message":"Success!"
}
Example of response with error:

{
"Status":"error",
"Code":"500",
"Message":"Internal server error!"
}

Below you can find a detailed explanation of parameters send to API:

ID Booking ID
Room Number Room number
Name Guest Name
Surname Guest Surname
CheckinDate Checkin date
CheckoutDate Checkout date
Email Guest email
PhonNumber Guest Phone number
Deleted Flag (true/false), if true Hotel Portal will cancel booking

Do not hesitate to contact us for further informations.