Aiosell New Booking Payload for 3rd Party

Aiosell New Booking Payload for 3rd Party

Share the endpoint to receive the information from Aiosell System Upon creation of a new booking.

{
   "hotelCountryCode":"IN",
   "hotelId":"nishant-test-hotel",
   "operation":"new_booking",
   "reservation":{
      "sourceFields":{
         "hotelCode":"nishant-test-hotel"
      },
      "bookedOn":"“2023-11-21 23":"59":00”,
      "bookingId":“AIO-NIS-1280-1774”,
      "checkout":“2023-11-22”,
      "checkin":“2023-11-21”,
      "channel":"PMS",
      "bookingVoucherLink":"“https"://s3.ap-south-1.amazonaws.com/aiosell.pms/pms-vouchers/nishant-test-hotel/AIO-NIS-1280-1774.pdf”,
      "source":"PMS",
      "CMBookingId":“AIO-NIS-1280-1774”,
      "pmsPayments":{
         "paymentMode":"Cash",
         "billTo":"test booking"
      },
      "pah":true,
      "segment":"Walk-in",
      "action":"book",
      "specialRequests":"test request",
      "guest":{
         "lastName":"booking",
         "firstName":"test",
         "address":{
            "country":"India",
            "zipCode":“11111”,
            "city":"Bangalore",
            "state":"Karnataka",
            "line1":"test address"
         },
         "phone":“7646748758”,
         "email":"test@email.com"
      },
      "photoIdUrls":[
         "“https"://s3.ap-south-1.amazonaws.com/aiosell.pms/nishant-test-hotel/503587690-Aiosell-Logo-Dark.png”
      ],
      "amount":{
         "amountBeforeTax":2000,
         "netOfCommissionAfterTax":2240,
         "amountToBePaidByCustomer":2240,
         "toBePaidByCustomer":2240,
         "amountAfterTax":2240,
         "commission":0,
         "tax":240,
         "extraCharges":0,
         "netOfCommissionBeforeTax":2000
      },
      "rooms":[
         {
            "name":"Executive Super",
            "id":"executive-super",
            "rateplan":{
               "name":"EP",
               "id":"executive-super-d-ep"
            },
            "occupancy":{
               "children":0,
               "adults":2
            },
            "currency":"INR",
            "guest":{
               "lastName":"booking",
               "firstName":"test",
               "address":{
                  "country":"India",
                  "zipCode":“11111”,
                  "city":"Bangalore",
                  "state":"Karnataka",
                  "line1":"test address"
               },
               "phone":“7646748758”,
               "email":"test@email.com"
            },
            "prices":[
               {
                  "date":“2023-11-21”,
                  "sellRate":2000,
                  "tax":240
               }
            ]
         }
      ],
      "contactlessCheckinLink":"“https"://pms.aiosell.com/contactless-checkin/nishant-test-hotel/AIO-NIS-1280-1774”
   }
}
    • Related Articles

    • Aiosell Checkin Payload for 3rd Party

      Share the endpoint to receive the information from Aiosell System Upon Checkin of a Booking in PMS. { "roomNumId":“nishant-test-hotel-executive super- 103”, "hotelId":"nishant-test-hotel", "user":"sushmita@aiosell.com", "hotelCountryCode":"IN", ...
    • Aiosell Checkout Payload for 3rd Party

      Share the endpoint to receive the information from Aiosell System Upon Checkout of a Booking in PMS. { "roomNumId":“nishant-test-hotel-executive super- 103”, "checkout":{ "roomType":"executive-super", "photoIdUrls":[ ...
    • Inventory POST from Aiosell to 3rd Party

      API Endpoint URL: BASE URL TO BE SHARED BY OTA Purpose This API allows Aiosell to communicate inventory updates, including availability and restrictions, to third-party OTAs (Online Travel Agencies). It ensures inventory consistency across platforms. ...
    • Aiosell REST API Documentation - OTA/Booking Engine to Channel Manager

      This guide is designed for Online Travel Agents / Booking Engine looking to integrate with Aiosell Channel Manager. It outlines the required API endpoints, data formats, and workflows for receiving inventory, rates, and posting reservations. ...
    • Aiosell POS Bill Payload for 3rd Party

      (in paymentData apart from the keys paymentMode and amountPaid rest are optional, they might be passed or may not be) { "hotelId":"nishant-test-hotel", "operation":"pos_bill", "posBill":{ "masterInvoiceNumber":"““", "nights":0, "guestCount":0, ...