|
| 1 | +# GlobalEzmaxcustomerApi |
| 2 | + |
| 3 | +All URIs are relative to *https://prod.api.appcluster01.ca-central-1.ezmax.com/rest* |
| 4 | + |
| 5 | +| Method | HTTP request | Description | |
| 6 | +|------------- | ------------- | -------------| |
| 7 | +| [**globalEzmaxcustomerGetConfigurationV1**](GlobalEzmaxcustomerApi.md#globalEzmaxcustomerGetConfigurationV1) | **GET** /1/ezmaxcustomer/{pksEzmaxcustomerCode}/getConfiguration | Get ezmaxcustomer configuration | |
| 8 | + |
| 9 | + |
| 10 | +<a id="globalEzmaxcustomerGetConfigurationV1"></a> |
| 11 | +# **globalEzmaxcustomerGetConfigurationV1** |
| 12 | +> GlobalEzmaxcustomerGetConfigurationV1Response globalEzmaxcustomerGetConfigurationV1(pksEzmaxcustomerCode) |
| 13 | +
|
| 14 | +Get ezmaxcustomer configuration |
| 15 | + |
| 16 | +Retrieve the ezmaxcustomer's specific configuration. This will help locate the proper region (ie: sInfrastructureregionCode) and the proper environment (ie: sInfrastructureenvironmenttypeDescription) where the customer's data is stored. |
| 17 | + |
| 18 | +### Example |
| 19 | +```java |
| 20 | +// Import classes: |
| 21 | +import eZmaxAPI.ApiClient; |
| 22 | +import eZmaxAPI.ApiException; |
| 23 | +import eZmaxAPI.Configuration; |
| 24 | +import eZmaxAPI.auth.*; |
| 25 | +import eZmaxAPI.models.*; |
| 26 | +import com.ezmax.api.GlobalEzmaxcustomerApi; |
| 27 | + |
| 28 | +public class Example { |
| 29 | + public static void main(String[] args) { |
| 30 | + ApiClient defaultClient = Configuration.getDefaultApiClient(); |
| 31 | + defaultClient.setBasePath("https://prod.api.appcluster01.ca-central-1.ezmax.com/rest"); |
| 32 | + |
| 33 | + // Configure API key authorization: Authorization |
| 34 | + ApiKeyAuth Authorization = (ApiKeyAuth) defaultClient.getAuthentication("Authorization"); |
| 35 | + Authorization.setApiKey("YOUR API KEY"); |
| 36 | + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) |
| 37 | + //Authorization.setApiKeyPrefix("Token"); |
| 38 | + |
| 39 | + GlobalEzmaxcustomerApi apiInstance = new GlobalEzmaxcustomerApi(defaultClient); |
| 40 | + String pksEzmaxcustomerCode = "pksEzmaxcustomerCode_example"; // String | |
| 41 | + try { |
| 42 | + GlobalEzmaxcustomerGetConfigurationV1Response result = apiInstance.globalEzmaxcustomerGetConfigurationV1(pksEzmaxcustomerCode); |
| 43 | + System.out.println(result); |
| 44 | + } catch (ApiException e) { |
| 45 | + System.err.println("Exception when calling GlobalEzmaxcustomerApi#globalEzmaxcustomerGetConfigurationV1"); |
| 46 | + System.err.println("Status code: " + e.getCode()); |
| 47 | + System.err.println("Reason: " + e.getResponseBody()); |
| 48 | + System.err.println("Response headers: " + e.getResponseHeaders()); |
| 49 | + e.printStackTrace(); |
| 50 | + } |
| 51 | + } |
| 52 | +} |
| 53 | +``` |
| 54 | + |
| 55 | +### Parameters |
| 56 | + |
| 57 | +| Name | Type | Description | Notes | |
| 58 | +|------------- | ------------- | ------------- | -------------| |
| 59 | +| **pksEzmaxcustomerCode** | **String**| | | |
| 60 | + |
| 61 | +### Return type |
| 62 | + |
| 63 | +[**GlobalEzmaxcustomerGetConfigurationV1Response**](GlobalEzmaxcustomerGetConfigurationV1Response.md) |
| 64 | + |
| 65 | +### Authorization |
| 66 | + |
| 67 | +[Authorization](../README.md#Authorization) |
| 68 | + |
| 69 | +### HTTP request headers |
| 70 | + |
| 71 | + - **Content-Type**: Not defined |
| 72 | + - **Accept**: application/json |
| 73 | + |
| 74 | +### HTTP response details |
| 75 | +| Status code | Description | Response headers | |
| 76 | +|-------------|-------------|------------------| |
| 77 | +| **200** | Successful response | - | |
| 78 | +| **404** | The request failed. The element on which you were trying to work does not exists. Look for detail about the error in the body | - | |
| 79 | + |
0 commit comments