All URIs are relative to https://api.openprovider.eu, except if the operation defines another base path.
Method | HTTP request | Description |
---|---|---|
getData() | GET /v1beta/domains/additional-data/customers | Get data |
getData($domain_name, $domain_extension): \Savvii\OpenproviderRest\Model\CustomerGetDataResponse
Get data
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: Bearer
$config = Savvii\OpenproviderRest\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = Savvii\OpenproviderRest\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
$apiInstance = new Savvii\OpenproviderRest\Api\CustomerAdditionalDataApi(
// 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
);
$domain_name = 'domain_name_example'; // string | Domain name without extension.
$domain_extension = 'domain_extension_example'; // string | Domain extension.
try {
$result = $apiInstance->getData($domain_name, $domain_extension);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling CustomerAdditionalDataApi->getData: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
domain_name | string | Domain name without extension. | [optional] |
domain_extension | string | Domain extension. | [optional] |
\Savvii\OpenproviderRest\Model\CustomerGetDataResponse
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]