# \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(ctx, countryIso2Code).Execute()
Get all supported identifiers by country.
# Example
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
countryIso2Code := "countryIso2Code_example" // string | Country ISO 2 code.
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.SupportedIdentifiersApi.GetAllSupportedIdentifiers(context.Background(), countryIso2Code).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SupportedIdentifiersApi.GetAllSupportedIdentifiers``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetAllSupportedIdentifiers`: SupportedIdentifier
fmt.Fprintf(os.Stdout, "Response from `SupportedIdentifiersApi.GetAllSupportedIdentifiers`: %v\n", resp)
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Path Parameters
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
countryIso2Code | string | Country ISO 2 code. |
# Other Parameters
Other parameters are passed through a pointer to a apiGetAllSupportedIdentifiersRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
# Return type
# 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]