use EzmaxApi::Object::ObjectLanguageApi;
All URIs are relative to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest
Method | HTTP request | Description |
---|---|---|
language_get_autocomplete_v2 | GET /2/object/language/getAutocomplete/{sSelector} | Retrieve Languages and IDs |
LanguageGetAutocompleteV2Response language_get_autocomplete_v2(s_selector => $s_selector, e_filter_active => $e_filter_active, s_query => $s_query, accept_language => $accept_language)
Retrieve Languages and IDs
Get the list of Language to be used in a dropdown or autocomplete control.
use Data::Dumper;
use EzmaxApi::ObjectLanguageApi;
my $api_instance = EzmaxApi::ObjectLanguageApi->new(
# Configure API key authorization: Authorization
api_key => {'Authorization' => 'YOUR_API_KEY'},
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#api_key_prefix => {'Authorization' => 'Bearer'},
);
my $s_selector = "s_selector_example"; # string | The type of Languages to return
my $e_filter_active = 'Active'; # string | Specify which results we want to display.
my $s_query = "s_query_example"; # string | Allow to filter the returned results
my $accept_language = new EzmaxApi.HeaderAcceptLanguage(); # HeaderAcceptLanguage |
eval {
my $result = $api_instance->language_get_autocomplete_v2(s_selector => $s_selector, e_filter_active => $e_filter_active, s_query => $s_query, accept_language => $accept_language);
print Dumper($result);
};
if ($@) {
warn "Exception when calling ObjectLanguageApi->language_get_autocomplete_v2: $@\n";
}
Name | Type | Description | Notes |
---|---|---|---|
s_selector | string | The type of Languages to return | |
e_filter_active | string | Specify which results we want to display. | [optional] [default to 'Active'] |
s_query | string | Allow to filter the returned results | [optional] |
accept_language | HeaderAcceptLanguage | [optional] |
LanguageGetAutocompleteV2Response
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]