Skip to content

Latest commit

 

History

History
70 lines (48 loc) · 2.25 KB

CustomerAdditionalDataApi.md

File metadata and controls

70 lines (48 loc) · 2.25 KB

Savvii\OpenproviderRest\CustomerAdditionalDataApi

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()

getData($domain_name, $domain_extension): \Savvii\OpenproviderRest\Model\CustomerGetDataResponse

Get data

Example

<?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;
}

Parameters

Name Type Description Notes
domain_name string Domain name without extension. [optional]
domain_extension string Domain extension. [optional]

Return type

\Savvii\OpenproviderRest\Model\CustomerGetDataResponse

Authorization

Bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]