# GuestCheckinRestApi.RegistrationControllerApi

All URIs are relative to *//gc.int.skysail.io/*

Method | HTTP request | Description
------------- | ------------- | -------------
[**addRestaurantUsingPOST1**](RegistrationControllerApi.md#addRestaurantUsingPOST1) | **POST** /register | creates an account, i.e. a user and a restaurant for given input. Fails if users email address already exists.

<a name="addRestaurantUsingPOST1"></a>
# **addRestaurantUsingPOST1**
> &#x27;String&#x27; addRestaurantUsingPOST1(body)

creates an account, i.e. a user and a restaurant for given input. Fails if users email address already exists.

### Example
```javascript
import GuestCheckinRestApi from 'guest_checkin_rest_api';

let apiInstance = new GuestCheckinRestApi.RegistrationControllerApi();
let body = new GuestCheckinRestApi.RegistrationForm(); // RegistrationForm | form

apiInstance.addRestaurantUsingPOST1(body, (error, data, response) => {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
});
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **body** | [**RegistrationForm**](RegistrationForm.md)| form | 

### Return type

**&#x27;String&#x27;**

### Authorization

No authorization required

### HTTP request headers

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

