All URIs are relative to https://api.jiwa.com.au
Method | HTTP request | Description |
---|---|---|
restartRequestRestartGet | GET /Services/Restart | Restarts the API site. |
stopRequestStopGet | GET /Services/Stop | Stops the API Service. |
\Jiwa\Model\Object restartRequestRestartGet($accept, $jiwa_stateful)
Restarts the API site.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: basic
$config = Jiwa\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new Jiwa\Api\ServicesApi(
// 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(),
$config
);
$accept = "accept_example"; // string | Accept Header
$jiwa_stateful = true; // bool | Stateful indicator
try {
$result = $apiInstance->restartRequestRestartGet($accept, $jiwa_stateful);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ServicesApi->restartRequestRestartGet: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
accept | string | Accept Header | |
jiwa_stateful | bool | Stateful indicator | [optional] |
- Content-Type: application/x-www-form-urlencoded, application/json, application/xml
- Accept: application/json, application/xml
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Jiwa\Model\Object stopRequestStopGet($accept, $jiwa_stateful)
Stops the API Service.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: basic
$config = Jiwa\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new Jiwa\Api\ServicesApi(
// 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(),
$config
);
$accept = "accept_example"; // string | Accept Header
$jiwa_stateful = true; // bool | Stateful indicator
try {
$result = $apiInstance->stopRequestStopGet($accept, $jiwa_stateful);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ServicesApi->stopRequestStopGet: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
accept | string | Accept Header | |
jiwa_stateful | bool | Stateful indicator | [optional] |
- Content-Type: application/x-www-form-urlencoded, application/json, application/xml
- Accept: application/json, application/xml
[Back to top] [Back to API list] [Back to Model list] [Back to README]