# JiboHotelServicesApi.CheckInApi

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

Method | HTTP request | Description
------------- | ------------- | -------------
[**checkInGet**](CheckInApi.md#checkInGet) | **GET** /CheckIn | Get Check-In Data
[**checkInPost**](CheckInApi.md#checkInPost) | **POST** /CheckIn | Post Check-In Data


<a name="checkInGet"></a>
# **checkInGet**
> InlineResponse200Reservation checkInGet(hotelID, roomID)

Get Check-In Data

The Get Check-In endpoint returns information of the Reservation from the PMS or the DataBase of the Hotel using the Room Number and the Hotel Name. 

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

var apiInstance = 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);
  }
};
apiInstance.checkInGet(hotelID, roomID, callback);
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **hotelID** | **String**| Hotel where JIBO is placed at the moment. | 
 **roomID** | **String**| JIBO&#39;s actual room location. | 

### Return type

[**InlineResponse200Reservation**](InlineResponse200Reservation.md)

### Authorization

No authorization required

### HTTP request headers

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

<a name="checkInPost"></a>
# **checkInPost**
> &#39;String&#39; checkInPost(reservation)

Post Check-In Data

The Post Check-In endpoint posts the check-in information of the Reservation in the PMS or in the DataBase of the Hotel. 

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

var apiInstance = new JiboHotelServicesApi.CheckInApi();

var reservation = new JiboHotelServicesApi.Reservation(); // Reservation | 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.checkInPost(reservation, callback);
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **reservation** | [**Reservation**](Reservation.md)| 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

