All URIs are relative to https://api.iplicit.com, except if the operation defines another base path.
| Method | HTTP request | Description |
|---|---|---|
| closeSession() | POST /api/Session/close | Close the session |
| createSessionAPIKey() | POST /api/Session/create/api | Create a session with an API Key. |
closeSession()Close the session
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new SynergiTech\Iplicit\Api\SessionApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
config: $config
);
try {
$apiInstance->closeSession();
} catch (Exception $e) {
echo 'Exception when calling SessionApi->closeSession: ', $e->getMessage(), PHP_EOL;
}This endpoint does not need any parameter.
void (empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
createSessionAPIKey($loginApiCredentials): \SynergiTech\Iplicit\Model\SessionResultDataCreate a session with an API Key.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new SynergiTech\Iplicit\Api\SessionApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
config: $config
);
$loginApiCredentials = new \SynergiTech\Iplicit\Model\LoginApiCredentials(); // \SynergiTech\Iplicit\Model\LoginApiCredentials
try {
$result = $apiInstance->createSessionAPIKey($loginApiCredentials);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SessionApi->createSessionAPIKey: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| loginApiCredentials | \SynergiTech\Iplicit\Model\LoginApiCredentials | [optional] |
\SynergiTech\Iplicit\Model\SessionResultData
No authorization required
- Content-Type:
application/json,text/json,application/*+json - Accept:
text/plain,application/json,text/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]