All URIs are relative to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest
Method | HTTP request | Description |
---|---|---|
globalEzmaxclientVersionV1 | GET /1/ezmaxclient/{pksEzmaxclientOs}/version | Retrieve the latest version of the Ezmaxclient |
GlobalEzmaxclientVersionV1Response globalEzmaxclientVersionV1(pksEzmaxclientOs)
Retrieve the latest version of the Ezmaxclient
Retrieve the latest version of the Ezmaxclient that is available on the store.
// Import classes:
import eZmaxAPI.ApiClient;
import eZmaxAPI.ApiException;
import eZmaxAPI.Configuration;
import eZmaxAPI.models.*;
import com.ezmax.api.GlobalEzmaxclientApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://prod.api.appcluster01.ca-central-1.ezmax.com/rest");
GlobalEzmaxclientApi apiInstance = new GlobalEzmaxclientApi(defaultClient);
FieldPksEzmaxclientOs pksEzmaxclientOs = FieldPksEzmaxclientOs.fromValue("iOS"); // FieldPksEzmaxclientOs |
try {
GlobalEzmaxclientVersionV1Response result = apiInstance.globalEzmaxclientVersionV1(pksEzmaxclientOs);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling GlobalEzmaxclientApi#globalEzmaxclientVersionV1");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
pksEzmaxclientOs | FieldPksEzmaxclientOs | [enum: iOS, iPadOS, macOS, Windows] |
GlobalEzmaxclientVersionV1Response
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Successful response | - |
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 | - |