All URIs are relative to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest
Method | HTTP request | Description |
---|---|---|
apikeyCreateObjectV2 | POST /2/object/apikey | Create a new Apikey |
apikeyEditObjectV1 | PUT /1/object/apikey/{pkiApikeyID} | Edit an existing Apikey |
apikeyEditPermissionsV1 | PUT /1/object/apikey/{pkiApikeyID}/editPermissions | Edit multiple Permissions |
apikeyGetCorsV1 | GET /1/object/apikey/{pkiApikeyID}/getCors | Retrieve an existing Apikey's cors |
apikeyGetListV1 | GET /1/object/apikey/getList | Retrieve Apikey list |
apikeyGetObjectV2 | GET /2/object/apikey/{pkiApikeyID} | Retrieve an existing Apikey |
apikeyGetPermissionsV1 | GET /1/object/apikey/{pkiApikeyID}/getPermissions | Retrieve an existing Apikey's Permissions |
apikeyGetSubnetsV1 | GET /1/object/apikey/{pkiApikeyID}/getSubnets | Retrieve an existing Apikey's subnets |
apikeyRegenerateV1 | POST /1/object/apikey/{pkiApikeyID}/regenerate | Regenerate the Apikey |
ApikeyCreateObjectV2Response apikeyCreateObjectV2(apikeyCreateObjectV2Request)
Create a new Apikey
The endpoint allows to create one or many elements at once.
// Import classes:
//import org.openapitools.client.api.ObjectApikeyApi;
ObjectApikeyApi apiInstance = new ObjectApikeyApi();
ApikeyCreateObjectV2Request apikeyCreateObjectV2Request = new ApikeyCreateObjectV2Request(); // ApikeyCreateObjectV2Request |
try {
ApikeyCreateObjectV2Response result = apiInstance.apikeyCreateObjectV2(apikeyCreateObjectV2Request);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ObjectApikeyApi#apikeyCreateObjectV2");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
apikeyCreateObjectV2Request | ApikeyCreateObjectV2Request |
- Content-Type: application/json
- Accept: application/json
ApikeyEditObjectV1Response apikeyEditObjectV1(pkiApikeyID, apikeyEditObjectV1Request)
Edit an existing Apikey
// Import classes:
//import org.openapitools.client.api.ObjectApikeyApi;
ObjectApikeyApi apiInstance = new ObjectApikeyApi();
Integer pkiApikeyID = null; // Integer | The unique ID of the Apikey
ApikeyEditObjectV1Request apikeyEditObjectV1Request = new ApikeyEditObjectV1Request(); // ApikeyEditObjectV1Request |
try {
ApikeyEditObjectV1Response result = apiInstance.apikeyEditObjectV1(pkiApikeyID, apikeyEditObjectV1Request);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ObjectApikeyApi#apikeyEditObjectV1");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
pkiApikeyID | Integer | The unique ID of the Apikey | [default to null] |
apikeyEditObjectV1Request | ApikeyEditObjectV1Request |
- Content-Type: application/json
- Accept: application/json
ApikeyEditPermissionsV1Response apikeyEditPermissionsV1(pkiApikeyID, apikeyEditPermissionsV1Request)
Edit multiple Permissions
Using this endpoint, you can edit multiple Permissions at the same time.
// Import classes:
//import org.openapitools.client.api.ObjectApikeyApi;
ObjectApikeyApi apiInstance = new ObjectApikeyApi();
Integer pkiApikeyID = null; // Integer |
ApikeyEditPermissionsV1Request apikeyEditPermissionsV1Request = new ApikeyEditPermissionsV1Request(); // ApikeyEditPermissionsV1Request |
try {
ApikeyEditPermissionsV1Response result = apiInstance.apikeyEditPermissionsV1(pkiApikeyID, apikeyEditPermissionsV1Request);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ObjectApikeyApi#apikeyEditPermissionsV1");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
pkiApikeyID | Integer | [default to null] | |
apikeyEditPermissionsV1Request | ApikeyEditPermissionsV1Request |
ApikeyEditPermissionsV1Response
- Content-Type: application/json
- Accept: application/json
ApikeyGetCorsV1Response apikeyGetCorsV1(pkiApikeyID)
Retrieve an existing Apikey's cors
// Import classes:
//import org.openapitools.client.api.ObjectApikeyApi;
ObjectApikeyApi apiInstance = new ObjectApikeyApi();
Integer pkiApikeyID = null; // Integer |
try {
ApikeyGetCorsV1Response result = apiInstance.apikeyGetCorsV1(pkiApikeyID);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ObjectApikeyApi#apikeyGetCorsV1");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
pkiApikeyID | Integer | [default to null] |
- Content-Type: Not defined
- Accept: application/json
ApikeyGetListV1Response apikeyGetListV1(eOrderBy, iRowMax, iRowOffset, acceptLanguage, sFilter)
Retrieve Apikey list
Enum values that can be filtered in query parameter sFilter: | Variable | Valid values | |---|---|
// Import classes:
//import org.openapitools.client.api.ObjectApikeyApi;
ObjectApikeyApi apiInstance = new ObjectApikeyApi();
String eOrderBy = null; // String | Specify how you want the results to be sorted
Integer iRowMax = null; // Integer |
Integer iRowOffset = 0; // Integer |
HeaderAcceptLanguage acceptLanguage = null; // HeaderAcceptLanguage |
String sFilter = null; // String |
try {
ApikeyGetListV1Response result = apiInstance.apikeyGetListV1(eOrderBy, iRowMax, iRowOffset, acceptLanguage, sFilter);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ObjectApikeyApi#apikeyGetListV1");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
eOrderBy | String | Specify how you want the results to be sorted | [optional] [default to null] [enum: pkiApikeyID_ASC, pkiApikeyID_DESC, sApikeyDescriptionX_ASC, sApikeyDescriptionX_DESC, bApikeyIssigned_ASC, bApikeyIssigned_DESC, bApikeyIsactive_ASC, bApikeyIsactive_DESC, sUserFirstname_ASC, sUserFirstname_DESC, sUserLastname_ASC, sUserLastname_DESC] |
iRowMax | Integer | [optional] [default to null] | |
iRowOffset | Integer | [optional] [default to 0] | |
acceptLanguage | HeaderAcceptLanguage | [optional] [default to null] [enum: *, en, fr] | |
sFilter | String | [optional] [default to null] |
- Content-Type: Not defined
- Accept: application/json, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
ApikeyGetObjectV2Response apikeyGetObjectV2(pkiApikeyID)
Retrieve an existing Apikey
// Import classes:
//import org.openapitools.client.api.ObjectApikeyApi;
ObjectApikeyApi apiInstance = new ObjectApikeyApi();
Integer pkiApikeyID = null; // Integer | The unique ID of the Apikey
try {
ApikeyGetObjectV2Response result = apiInstance.apikeyGetObjectV2(pkiApikeyID);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ObjectApikeyApi#apikeyGetObjectV2");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
pkiApikeyID | Integer | The unique ID of the Apikey | [default to null] |
- Content-Type: Not defined
- Accept: application/json
ApikeyGetPermissionsV1Response apikeyGetPermissionsV1(pkiApikeyID)
Retrieve an existing Apikey's Permissions
// Import classes:
//import org.openapitools.client.api.ObjectApikeyApi;
ObjectApikeyApi apiInstance = new ObjectApikeyApi();
Integer pkiApikeyID = null; // Integer |
try {
ApikeyGetPermissionsV1Response result = apiInstance.apikeyGetPermissionsV1(pkiApikeyID);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ObjectApikeyApi#apikeyGetPermissionsV1");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
pkiApikeyID | Integer | [default to null] |
ApikeyGetPermissionsV1Response
- Content-Type: Not defined
- Accept: application/json
ApikeyGetSubnetsV1Response apikeyGetSubnetsV1(pkiApikeyID)
Retrieve an existing Apikey's subnets
// Import classes:
//import org.openapitools.client.api.ObjectApikeyApi;
ObjectApikeyApi apiInstance = new ObjectApikeyApi();
Integer pkiApikeyID = null; // Integer |
try {
ApikeyGetSubnetsV1Response result = apiInstance.apikeyGetSubnetsV1(pkiApikeyID);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ObjectApikeyApi#apikeyGetSubnetsV1");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
pkiApikeyID | Integer | [default to null] |
- Content-Type: Not defined
- Accept: application/json
ApikeyRegenerateV1Response apikeyRegenerateV1(pkiApikeyID, apikeyRegenerateV1Request)
Regenerate the Apikey
// Import classes:
//import org.openapitools.client.api.ObjectApikeyApi;
ObjectApikeyApi apiInstance = new ObjectApikeyApi();
Integer pkiApikeyID = null; // Integer |
ApikeyRegenerateV1Request apikeyRegenerateV1Request = new ApikeyRegenerateV1Request(); // ApikeyRegenerateV1Request |
try {
ApikeyRegenerateV1Response result = apiInstance.apikeyRegenerateV1(pkiApikeyID, apikeyRegenerateV1Request);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ObjectApikeyApi#apikeyRegenerateV1");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
pkiApikeyID | Integer | [default to null] | |
apikeyRegenerateV1Request | ApikeyRegenerateV1Request |
- Content-Type: application/json
- Accept: application/json