# MyDataMyConsent.Api.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

SupportedIdentifier GetAllSupportedIdentifiers (string countryIso2Code)

Get all supported identifiers by country.

Get all supported identifiers by country.

# Example

using System.Collections.Generic;
using System.Diagnostics;
using MyDataMyConsent.Api;
using MyDataMyConsent.Client;
using MyDataMyConsent.Models;

namespace Example
{
    public class GetAllSupportedIdentifiersExample
    {
        public static void Main()
        {
            Configuration config = new Configuration();
            config.BasePath = "https://api.mydatamyconsent.com";
            var apiInstance = new SupportedIdentifiersApi(config);
            var countryIso2Code = "countryIso2Code_example";  // string | Country ISO 2 code.

            try
            {
                // Get all supported identifiers by country.
                SupportedIdentifier result = apiInstance.GetAllSupportedIdentifiers(countryIso2Code);
                Debug.WriteLine(result);
            }
            catch (ApiException  e)
            {
                Debug.Print("Exception when calling SupportedIdentifiersApi.GetAllSupportedIdentifiers: " + e.Message );
                Debug.Print("Status Code: "+ e.ErrorCode);
                Debug.Print(e.StackTrace);
            }
        }
    }
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32

# Parameters

Name Type Description Notes
countryIso2Code string Country ISO 2 code.

# Return type

SupportedIdentifier

# Authorization

No authorization required

# HTTP request headers

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

# HTTP response details

Status code Description Response headers
200 Success -
404 Not Found -
500 Server Error -

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

Last Updated: 6/19/2022, 7:27:56 PM