All URIs are relative to /
Method | HTTP request | Description |
---|---|---|
tableGet | GET /api/v{version}/{restaurantUid}/tables | Get the list of active tables in the restaurant |
tableGetByAreaId | GET /api/v{version}/{restaurantUid}/tables/area/{areaId} | Get the list of active tables in the specified area |
tableGetById | GET /api/v{version}/{restaurantUid}/tables/{tableId} | Get the details of a specific table |
\Swagger\Client\Model\TableViewModel[] tableGet($restaurant_uid, $version)
Get the list of active tables in the restaurant
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Swagger\Client\Api\TableApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$restaurant_uid = "restaurant_uid_example"; // string | The unique identifier of the restaurant.
$version = "version_example"; // string |
try {
$result = $apiInstance->tableGet($restaurant_uid, $version);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling TableApi->tableGet: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
restaurant_uid | string | The unique identifier of the restaurant. | |
version | string |
\Swagger\Client\Model\TableViewModel[]
No authorization required
- Content-Type: Not defined
- Accept: text/plain, application/json, text/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Swagger\Client\Model\TableViewModel[] tableGetByAreaId($restaurant_uid, $area_id, $version)
Get the list of active tables in the specified area
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Swagger\Client\Api\TableApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$restaurant_uid = "restaurant_uid_example"; // string | The unique identifier of the restaurant.
$area_id = 56; // int | The identifier of the area.
$version = "version_example"; // string |
try {
$result = $apiInstance->tableGetByAreaId($restaurant_uid, $area_id, $version);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling TableApi->tableGetByAreaId: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
restaurant_uid | string | The unique identifier of the restaurant. | |
area_id | int | The identifier of the area. | |
version | string |
\Swagger\Client\Model\TableViewModel[]
No authorization required
- Content-Type: Not defined
- Accept: text/plain, application/json, text/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Swagger\Client\Model\TableViewModel tableGetById($restaurant_uid, $table_id, $version)
Get the details of a specific table
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Swagger\Client\Api\TableApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$restaurant_uid = "restaurant_uid_example"; // string | The unique identifier of the restaurant.
$table_id = 56; // int | The identifier of the table
$version = "version_example"; // string |
try {
$result = $apiInstance->tableGetById($restaurant_uid, $table_id, $version);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling TableApi->tableGetById: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
restaurant_uid | string | The unique identifier of the restaurant. | |
table_id | int | The identifier of the table | |
version | string |
\Swagger\Client\Model\TableViewModel
No authorization required
- Content-Type: Not defined
- Accept: text/plain, application/json, text/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]