# MyDataMyConsent\SupportedIdentifiersApi
All URIs are relative to https://api.mydatamyconsent.com.
Method | HTTP request | Description |
---|---|---|
getAllSupportedIdentifiers() | GET /v1/supported-identifiers/{countryIso2Code} | Get all supported identifiers by country. |
# getAllSupportedIdentifiers()
getAllSupportedIdentifiers($country_iso2_code): \MyDataMyConsent\Model\SupportedIdentifier
1
Get all supported identifiers by country.
Get all supported identifiers by country.
# Example
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new MyDataMyConsent\Api\SupportedIdentifiersApi(
// 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()
);
$country_iso2_code = 'country_iso2_code_example'; // string | Country ISO 2 code.
try {
$result = $apiInstance->getAllSupportedIdentifiers($country_iso2_code);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SupportedIdentifiersApi->getAllSupportedIdentifiers: ', $e->getMessage(), PHP_EOL;
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Parameters
Name | Type | Description | Notes |
---|---|---|---|
country_iso2_code | string | Country ISO 2 code. |
# Return type
\MyDataMyConsent\Model\SupportedIdentifier
# Authorization
No authorization required
# HTTP request headers
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]