# JiboHotelServicesApi.RoomServicesApi

All URIs are relative to *https://jiboinroom.accpmo.com/api/v1*

Method | HTTP request | Description
------------- | ------------- | -------------
[**roomServicesGet**](RoomServicesApi.md#roomServicesGet) | **GET** /RoomServices | Get Room Services
[**roomServicesPost**](RoomServicesApi.md#roomServicesPost) | **POST** /RoomServices | Order Room Services


<a name="roomServicesGet"></a>
# **roomServicesGet**
> InlineResponse2003 roomServicesGet(hotelId)

Get Room Services

The Services information endpoint returns information about the *Services*. 

### Example
```javascript
var JiboHotelServicesApi = require('jibo_hotel_services_api');

var apiInstance = new JiboHotelServicesApi.RoomServicesApi();

var hotelId = "hotelId_example"; // String | Unique ID of the hotel.


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.roomServicesGet(hotelId, callback);
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **hotelId** | **String**| Unique ID of the hotel. | 

### Return type

[**InlineResponse2003**](InlineResponse2003.md)

### Authorization

No authorization required

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: application/json

<a name="roomServicesPost"></a>
# **roomServicesPost**
> &#39;String&#39; roomServicesPost(itemId, hotelId, roomId)

Order Room Services

The Services Order endpoint orders an item from the *Services* list. 

### Example
```javascript
var JiboHotelServicesApi = require('jibo_hotel_services_api');

var apiInstance = new JiboHotelServicesApi.RoomServicesApi();

var itemId = "itemId_example"; // String | Item to order

var hotelId = "hotelId_example"; // String | Unique ID of the hotel.

var roomId = "roomId_example"; // String | Room Id where is the customer and JIBO.


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.roomServicesPost(itemId, hotelId, roomId, callback);
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **itemId** | **String**| Item to order | 
 **hotelId** | **String**| Unique ID of the hotel. | 
 **roomId** | **String**| Room Id where is the customer and JIBO. | 

### Return type

**&#39;String&#39;**

### Authorization

No authorization required

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: application/json

