All URIs are relative to https://api.moje.uctoplus.sk/production, except if the operation defines another base path.
Method | HTTP request | Description |
---|---|---|
getCountries() | GET /v2/dial/global/countries | getCountries |
getCountries(): \Uctoplus\API\Models\Country[]
getCountries
Return all Countries in Company.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: api-key
$config = Uctoplus\API\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = Uctoplus\API\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer');
$apiInstance = new Uctoplus\API\Api\CountriesApi(
// 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
);
try {
$result = $apiInstance->getCountries();
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling CountriesApi->getCountries: ', $e->getMessage(), PHP_EOL;
}
This endpoint does not need any parameter.
\Uctoplus\API\Models\Country[]
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]