jibo_hotel_services_api
JiboHotelServicesApi - JavaScript client for jibo_hotel_services_api Connect your JIBO with any Hotel Services API. This SDK is automatically generated by the Swagger Codegen project:
- API version: 1.0.7
- Package version: 1.0.7
- Build package: io.swagger.codegen.languages.JavascriptClientCodegen
Installation
Node.js
Fornpm
To publish the library as a npm, please follow the procedure in "Publishing npm packages".
Then install it via:
npm install jibo_hotel_services_api --save
git
If the library is hosted at a git repository, e.g. https://github.com/YOUR_USERNAME/jibo_hotel_services_api then install it via:
npm install YOUR_USERNAME/jibo_hotel_services_api --save
For browser
The library also works in the browser environment via npm and browserify. After following
the above steps with Node.js and installing browserify with npm install -g browserify
,
perform the following (assuming main.js is your entry file):
browserify main.js > bundle.js
Then include bundle.js in the HTML pages.
Getting Started
Please follow the installation instruction and execute the following JS code:
var JiboHotelServicesApi = require('jibo_hotel_services_api');
var api = new JiboHotelServicesApi.CheckInApi()
var hotelID = "hotelID_example"; // {String} Hotel where JIBO is placed at the moment.
var roomID = "roomID_example"; // {String} JIBO's actual room location.
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
api.checkInGet(hotelID, roomID, callback);
Documentation for API Endpoints
All URIs are relative to https://jiboinroom.accpmo.com/api/v1
Class | Method | HTTP request | Description |
---|---|---|---|
JiboHotelServicesApi.CheckInApi | checkInGet | GET /CheckIn | Get Check-In Data |
JiboHotelServicesApi.CheckInApi | checkInPost | POST /CheckIn | Post Check-In Data |
JiboHotelServicesApi.CreditCardApi | creditCardGet | GET /CreditCard | Get CreditCard Data |
JiboHotelServicesApi.CreditCardApi | creditCardPost | POST /CreditCard | Post CreditCard Data |
JiboHotelServicesApi.HotelServicesApi | hotelServicesGet | GET /HotelServices | Get Hotel Services |
JiboHotelServicesApi.LocalContextApi | localContextGet | GET /LocalContext | Get Local Context |
JiboHotelServicesApi.RestaurantServicesApi | restaurantReservationGet | GET /RestaurantReservation | Get Restaurant Services Disponibility by time and number of diners |
JiboHotelServicesApi.RestaurantServicesApi | restaurantReservationPost | POST /RestaurantReservation | Book Restaurant Services |
JiboHotelServicesApi.RoomCheckOutApi | checkOutPost | POST /CheckOut | Room Check-Out Execution and Payment |
JiboHotelServicesApi.RoomCheckOutApi | expendCheckOutPost | POST /ExpendCheckOut | Room Check-Out Time Expansion |
JiboHotelServicesApi.RoomCheckOutApi | invoiceGet | GET /Invoice | Get Room Check-Out Information |
JiboHotelServicesApi.RoomServicesApi | roomServicesGet | GET /RoomServices | Get Room Services |
JiboHotelServicesApi.RoomServicesApi | roomServicesPost | POST /RoomServices | Order Room Services |
JiboHotelServicesApi.TaxiApi | taxiPost | POST /Taxi | Create Taxi Booking Request |
JiboHotelServicesApi.TouristicInformationApi | touristicInformationGet | GET /TouristicInformation | Get Touristic Information |
Documentation for Models
- JiboHotelServicesApi.Bill
- JiboHotelServicesApi.CcData
- JiboHotelServicesApi.Context
- JiboHotelServicesApi.CreditCard
- JiboHotelServicesApi.Error
- JiboHotelServicesApi.HotelServices
- JiboHotelServicesApi.InlineResponse200
- JiboHotelServicesApi.InlineResponse2001
- JiboHotelServicesApi.InlineResponse2002
- JiboHotelServicesApi.InlineResponse2003
- JiboHotelServicesApi.InlineResponse2003Menu
- JiboHotelServicesApi.InlineResponse2004
- JiboHotelServicesApi.InlineResponse2005
- JiboHotelServicesApi.InlineResponse2005BillDescription
- JiboHotelServicesApi.InlineResponse200HotelInfo
- JiboHotelServicesApi.InlineResponse200Reservation
- JiboHotelServicesApi.InlineResponse200RestaurantInfo
- JiboHotelServicesApi.InlineResponseDefault
- JiboHotelServicesApi.Reservation
- JiboHotelServicesApi.RestaurantDisponibility
- JiboHotelServicesApi.RoomServices
Documentation for Authorization
All endpoints do not require authorization.