-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Look for details in API documentation's changelog
- Loading branch information
Api (Codebuild)
committed
Oct 5, 2023
1 parent
eec0d01
commit 28d5777
Showing
17 changed files
with
907 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# LanguageAutocompleteElementResponse | ||
|
||
A Language AutocompleteElement Response | ||
|
||
## Properties | ||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**pki_language_id** | **int** | The unique ID of the Language. Valid values: |Value|Description| |-|-| |1|French| |2|English| | | ||
**s_language_name_x** | **str** | The Name of the Language in the language of the requester | | ||
**b_language_isactive** | **bool** | Whether the Language is active or not | | ||
|
||
## Example | ||
|
||
```python | ||
from eZmaxApi.models.language_autocomplete_element_response import LanguageAutocompleteElementResponse | ||
|
||
# TODO update the JSON string below | ||
json = "{}" | ||
# create an instance of LanguageAutocompleteElementResponse from a JSON string | ||
language_autocomplete_element_response_instance = LanguageAutocompleteElementResponse.from_json(json) | ||
# print the JSON string representation of the object | ||
print LanguageAutocompleteElementResponse.to_json() | ||
|
||
# convert the object into a dict | ||
language_autocomplete_element_response_dict = language_autocomplete_element_response_instance.to_dict() | ||
# create an instance of LanguageAutocompleteElementResponse from a dict | ||
language_autocomplete_element_response_form_dict = language_autocomplete_element_response.from_dict(language_autocomplete_element_response_dict) | ||
``` | ||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# LanguageGetAutocompleteV2Response | ||
|
||
Response for GET /2/object/language/getAutocomplete | ||
|
||
## Properties | ||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | | ||
**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] | ||
**m_payload** | [**LanguageGetAutocompleteV2ResponseMPayload**](LanguageGetAutocompleteV2ResponseMPayload.md) | | | ||
|
||
## Example | ||
|
||
```python | ||
from eZmaxApi.models.language_get_autocomplete_v2_response import LanguageGetAutocompleteV2Response | ||
|
||
# TODO update the JSON string below | ||
json = "{}" | ||
# create an instance of LanguageGetAutocompleteV2Response from a JSON string | ||
language_get_autocomplete_v2_response_instance = LanguageGetAutocompleteV2Response.from_json(json) | ||
# print the JSON string representation of the object | ||
print LanguageGetAutocompleteV2Response.to_json() | ||
|
||
# convert the object into a dict | ||
language_get_autocomplete_v2_response_dict = language_get_autocomplete_v2_response_instance.to_dict() | ||
# create an instance of LanguageGetAutocompleteV2Response from a dict | ||
language_get_autocomplete_v2_response_form_dict = language_get_autocomplete_v2_response.from_dict(language_get_autocomplete_v2_response_dict) | ||
``` | ||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# LanguageGetAutocompleteV2ResponseMPayload | ||
|
||
Payload for POST /2/object/language/getAutocomplete | ||
|
||
## Properties | ||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**a_obj_language** | [**List[LanguageAutocompleteElementResponse]**](LanguageAutocompleteElementResponse.md) | An array of Language autocomplete element response. | | ||
|
||
## Example | ||
|
||
```python | ||
from eZmaxApi.models.language_get_autocomplete_v2_response_m_payload import LanguageGetAutocompleteV2ResponseMPayload | ||
|
||
# TODO update the JSON string below | ||
json = "{}" | ||
# create an instance of LanguageGetAutocompleteV2ResponseMPayload from a JSON string | ||
language_get_autocomplete_v2_response_m_payload_instance = LanguageGetAutocompleteV2ResponseMPayload.from_json(json) | ||
# print the JSON string representation of the object | ||
print LanguageGetAutocompleteV2ResponseMPayload.to_json() | ||
|
||
# convert the object into a dict | ||
language_get_autocomplete_v2_response_m_payload_dict = language_get_autocomplete_v2_response_m_payload_instance.to_dict() | ||
# create an instance of LanguageGetAutocompleteV2ResponseMPayload from a dict | ||
language_get_autocomplete_v2_response_m_payload_form_dict = language_get_autocomplete_v2_response_m_payload.from_dict(language_get_autocomplete_v2_response_m_payload_dict) | ||
``` | ||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,94 @@ | ||
# eZmaxApi.ObjectLanguageApi | ||
|
||
All URIs are relative to *https://prod.api.appcluster01.ca-central-1.ezmax.com/rest* | ||
|
||
Method | HTTP request | Description | ||
------------- | ------------- | ------------- | ||
[**language_get_autocomplete_v2**](ObjectLanguageApi.md#language_get_autocomplete_v2) | **GET** /2/object/language/getAutocomplete/{sSelector} | Retrieve Languages and IDs | ||
|
||
|
||
# **language_get_autocomplete_v2** | ||
> LanguageGetAutocompleteV2Response language_get_autocomplete_v2(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. | ||
|
||
### Example | ||
|
||
* Api Key Authentication (Authorization): | ||
```python | ||
import time | ||
import os | ||
import eZmaxApi | ||
from eZmaxApi.models.header_accept_language import HeaderAcceptLanguage | ||
from eZmaxApi.models.language_get_autocomplete_v2_response import LanguageGetAutocompleteV2Response | ||
from eZmaxApi.rest import ApiException | ||
from pprint import pprint | ||
|
||
# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest | ||
# See configuration.py for a list of all supported configuration parameters. | ||
configuration = eZmaxApi.Configuration( | ||
host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest" | ||
) | ||
|
||
# The client must configure the authentication and authorization parameters | ||
# in accordance with the API server security policy. | ||
# Examples for each auth method are provided below, use the example that | ||
# satisfies your auth use case. | ||
|
||
# Configure API key authorization: Authorization | ||
configuration.api_key['Authorization'] = os.environ["API_KEY"] | ||
|
||
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed | ||
# configuration.api_key_prefix['Authorization'] = 'Bearer' | ||
|
||
# Enter a context with an instance of the API client | ||
with eZmaxApi.ApiClient(configuration) as api_client: | ||
# Create an instance of the API class | ||
api_instance = eZmaxApi.ObjectLanguageApi(api_client) | ||
s_selector = 's_selector_example' # str | The type of Languages to return | ||
e_filter_active = 'Active' # str | Specify which results we want to display. (optional) (default to 'Active') | ||
s_query = 's_query_example' # str | Allow to filter the returned results (optional) | ||
accept_language = eZmaxApi.HeaderAcceptLanguage() # HeaderAcceptLanguage | (optional) | ||
|
||
try: | ||
# Retrieve Languages and IDs | ||
api_response = api_instance.language_get_autocomplete_v2(s_selector, e_filter_active=e_filter_active, s_query=s_query, accept_language=accept_language) | ||
print("The response of ObjectLanguageApi->language_get_autocomplete_v2:\n") | ||
pprint(api_response) | ||
except Exception as e: | ||
print("Exception when calling ObjectLanguageApi->language_get_autocomplete_v2: %s\n" % e) | ||
``` | ||
|
||
|
||
|
||
### Parameters | ||
|
||
Name | Type | Description | Notes | ||
------------- | ------------- | ------------- | ------------- | ||
**s_selector** | **str**| The type of Languages to return | | ||
**e_filter_active** | **str**| Specify which results we want to display. | [optional] [default to 'Active'] | ||
**s_query** | **str**| Allow to filter the returned results | [optional] | ||
**accept_language** | [**HeaderAcceptLanguage**](.md)| | [optional] | ||
|
||
### Return type | ||
|
||
[**LanguageGetAutocompleteV2Response**](LanguageGetAutocompleteV2Response.md) | ||
|
||
### Authorization | ||
|
||
[Authorization](../README.md#Authorization) | ||
|
||
### HTTP request headers | ||
|
||
- **Content-Type**: Not defined | ||
- **Accept**: application/json | ||
|
||
### HTTP response details | ||
| Status code | Description | Response headers | | ||
|-------------|-------------|------------------| | ||
**200** | Successful response | - | | ||
|
||
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.