All URIs are relative to https://api.wall.et, except if the operation defines another base path.
Method | HTTP request | Description |
---|---|---|
archiveLounge() | DELETE /v2/lounge/{id} | Archive lounge |
createLounge() | POST /v2/lounge | Create lounge |
fetchAllLounge() | GET /v2/lounge/all | Fetch all lounge |
restoreLounge() | PATCH /v2/lounge/{id} | Restore lounge |
updateLounge() | PUT /v2/lounge/{id} | Update lounge |
archiveLounge($id): \OpenAPI\Client\Model\Lounge
Archive lounge
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\LoungeApi(
// 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()
);
$id = NULL; // mixed
try {
$result = $apiInstance->archiveLounge($id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling LoungeApi->archiveLounge: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
id | mixed |
No authorization required
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
createLounge($wt_lounge_create_params): \OpenAPI\Client\Model\Lounge
Create lounge
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\LoungeApi(
// 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()
);
$wt_lounge_create_params = new \OpenAPI\Client\Model\WTLoungeCreateParams(); // \OpenAPI\Client\Model\WTLoungeCreateParams
try {
$result = $apiInstance->createLounge($wt_lounge_create_params);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling LoungeApi->createLounge: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
wt_lounge_create_params | \OpenAPI\Client\Model\WTLoungeCreateParams |
No authorization required
- Content-Type:
application/json
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
fetchAllLounge($is_archive_included): mixed
Fetch all lounge
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\LoungeApi(
// 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()
);
$is_archive_included = True; // bool
try {
$result = $apiInstance->fetchAllLounge($is_archive_included);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling LoungeApi->fetchAllLounge: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
is_archive_included | bool | [optional] |
mixed
No authorization required
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
restoreLounge($id): \OpenAPI\Client\Model\Lounge
Restore lounge
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\LoungeApi(
// 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()
);
$id = NULL; // mixed
try {
$result = $apiInstance->restoreLounge($id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling LoungeApi->restoreLounge: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
id | mixed |
No authorization required
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
updateLounge($id, $wt_lounge_update_params): \OpenAPI\Client\Model\Lounge
Update lounge
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\LoungeApi(
// 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()
);
$id = NULL; // mixed
$wt_lounge_update_params = new \OpenAPI\Client\Model\WTLoungeUpdateParams(); // \OpenAPI\Client\Model\WTLoungeUpdateParams
try {
$result = $apiInstance->updateLounge($id, $wt_lounge_update_params);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling LoungeApi->updateLounge: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
id | mixed | ||
wt_lounge_update_params | \OpenAPI\Client\Model\WTLoungeUpdateParams |
No authorization required
- Content-Type:
application/json
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]