New Reservation (Aiosell to PMS)
API Endpoint URL: https://sample-pms.com/update_reservation
*Note: This is a sample url for reference purpose, 3rd Party/ PMS will need to create an END POINT / WEBHOOK and share it with Aiosell team*
Purpose
This API is used by Aiosell to push new reservation details to the Property Management System (PMS). It ensures that bookings made through OTAs (Online Travel Agencies) or direct channels are synchronized with the hotel’s internal PMS.
Request Format
Method: POST
Sample Payload:
{
"action": "book",
"hotelCode": "SANDBOX-PMS",
"channel": "Goingo",
"bookingId": "111222333",
"cmBookingId": "AAABBBCCC",
"bookedOn": "2022-12-08 15:25:35",
"checkin": "2022-12-10",
"checkout": "2022-12-12",
"segment": "OTA",
"specialRequests": "Airport Taxi Required",
"pah": false,
"amount": {
"amountAfterTax": 1204.0,
"amountBeforeTax": 1075.0,
"tax": 129.0,
"currency": "INR"
},
"guest": {
"firstName": "Akshay",
"lastName": "Kumar",
"email": "akshaykumar@gmail.com",
"phone": "9988776655",
"address": {
"line1": "51",
"city": "Bangalore",
"state": "Karnataka",
"country": "India",
"zipCode": "560035"
}
},
"rooms": [
{
"roomCode": "SUITE",
"rateplanCode": "SUITE-S-101",
"guestName": "Akshay Kumar",
"occupancy": {
"adults": 1,
"children": 0
},
"prices": [
{
"date": "2022-12-10",
"sellRate": 537.5
},
{
"date": "2022-12-11",
"sellRate": 537.5
}
]
}
]
}
Response
Sample Response:
{
"success": true,
"message": "Reservation Updated Successfully"
}
Modify Reservation (Aiosell to PMS)
API Endpoint URL:
https://sample-pms.com/update_reservation
*Note: This is a sample url for reference purpose, 3rd Party/ PMS will need to create an END POINT / WEBHOOK and share it with Aiosell team*
Purpose
This API enables Aiosell to push modifications to existing reservations in the Property Management System (PMS). It ensures that updated booking details, such as check-in/check-out dates or special requests, are reflected in the PMS.
Request Format
Method: POST
Sample Payload:
{
"action": "modify",
"hotelCode": "SANDBOX-PMS",
"channel": "Goingo",
"bookingId": "111222333",
"cmBookingId": "AAABBBCCC",
"bookedOn": "2022-12-08 15:25:35",
"checkin": "2022-12-10",
"checkout": "2022-12-12",
"segment": "OTA",
"specialRequests": "Airport Taxi Required",
"pah": false,
"amount": {
"amountAfterTax": 1204.0,
"amountBeforeTax": 1075.0,
"tax": 129.0,
"currency": "INR"
},
"guest": {
"firstName": "Akshay",
"lastName": "Kumar",
"email": "akshaykumar@gmail.com",
"phone": "9988776655",
"address": {
"line1": "51",
"city": "Bangalore",
"state": "Karnataka",
"country": "India",
"zipCode": "560035"
}
},
"rooms": [
{
"roomCode": "SUITE",
"rateplanCode": "SUITE-S-101",
"guestName": "Akshay Kumar",
"occupancy": {
"adults": 1,
"children": 0
},
"prices": [
{
"date": "2022-12-10",
"sellRate": 537.5
},
{
"date": "2022-12-11",
"sellRate": 537.5
}
]
}
]
}
Response
Sample Response:
{
"success": true,
"message": "Reservation Modified Successfully"
}
Reference of values:
Cancel Reservation (Aiosell to PMS)
API Endpoint URL:
https://sample-pms.com/update_reservation
*Note: This is a sample url for reference purpose, 3rd Party/ PMS will need to create an END POINT / WEBHOOK and share it with Aiosell team*
Purpose
This API allows Aiosell to push reservation cancellations to the Property Management System (PMS). It ensures that canceled bookings are updated in real-time, freeing up room inventory and preventing overbookings.
Request Format
Method: POST
Sample Payload:
{
"action": "cancel",
"hotelCode": "SANDBOX-PMS",
"channel": "Goingo",
"bookingId": "111222333"
}
Response
Sample Response:
{
"success": true,
"message": "Reservation Cancelled Successfully"
}
Reference of values: