All URIs are relative to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest
Method | HTTP request | Description |
---|---|---|
brandingCreateObjectV1 | POST /1/object/branding | Create a new Branding |
brandingEditObjectV1 | PUT /1/object/branding/{pkiBrandingID} | Edit an existing Branding |
brandingGetAutocompleteV2 | GET /2/object/branding/getAutocomplete/{sSelector} | Retrieve Brandings and IDs |
brandingGetListV1 | GET /1/object/branding/getList | Retrieve Branding list |
brandingGetObjectV2 | GET /2/object/branding/{pkiBrandingID} | Retrieve an existing Branding |
BrandingCreateObjectV1Response brandingCreateObjectV1(BrandingCreateObjectV1Request)
Create a new Branding
The endpoint allows to create one or many elements at once.
import EZmaxApiDefinitionFull from 'e_zmax_api_definition__full';
let defaultClient = EZmaxApiDefinitionFull.ApiClient.instance;
// Configure API key authorization: Authorization
let Authorization = defaultClient.authentications['Authorization'];
Authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Authorization.apiKeyPrefix = 'Token';
let apiInstance = new EZmaxApiDefinitionFull.ObjectBrandingApi();
let BrandingCreateObjectV1Request = new EZmaxApiDefinitionFull.BrandingCreateObjectV1Request(); // BrandingCreateObjectV1Request |
apiInstance.brandingCreateObjectV1(BrandingCreateObjectV1Request, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});
Name | Type | Description | Notes |
---|---|---|---|
BrandingCreateObjectV1Request | BrandingCreateObjectV1Request |
BrandingCreateObjectV1Response
- Content-Type: application/json
- Accept: application/json
BrandingEditObjectV1Response brandingEditObjectV1(pkiBrandingID, BrandingEditObjectV1Request)
Edit an existing Branding
import EZmaxApiDefinitionFull from 'e_zmax_api_definition__full';
let defaultClient = EZmaxApiDefinitionFull.ApiClient.instance;
// Configure API key authorization: Authorization
let Authorization = defaultClient.authentications['Authorization'];
Authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Authorization.apiKeyPrefix = 'Token';
let apiInstance = new EZmaxApiDefinitionFull.ObjectBrandingApi();
let pkiBrandingID = 56; // Number |
let BrandingEditObjectV1Request = new EZmaxApiDefinitionFull.BrandingEditObjectV1Request(); // BrandingEditObjectV1Request |
apiInstance.brandingEditObjectV1(pkiBrandingID, BrandingEditObjectV1Request, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});
Name | Type | Description | Notes |
---|---|---|---|
pkiBrandingID | Number | ||
BrandingEditObjectV1Request | BrandingEditObjectV1Request |
- Content-Type: application/json
- Accept: application/json
BrandingGetAutocompleteV2Response brandingGetAutocompleteV2(sSelector, opts)
Retrieve Brandings and IDs
Get the list of Branding to be used in a dropdown or autocomplete control.
import EZmaxApiDefinitionFull from 'e_zmax_api_definition__full';
let defaultClient = EZmaxApiDefinitionFull.ApiClient.instance;
// Configure API key authorization: Authorization
let Authorization = defaultClient.authentications['Authorization'];
Authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Authorization.apiKeyPrefix = 'Token';
let apiInstance = new EZmaxApiDefinitionFull.ObjectBrandingApi();
let sSelector = "sSelector_example"; // String | The type of Brandings to return
let opts = {
'eFilterActive': "'Active'", // String | Specify which results we want to display.
'sQuery': "sQuery_example", // String | Allow to filter the returned results
'Accept_Language': new EZmaxApiDefinitionFull.HeaderAcceptLanguage() // HeaderAcceptLanguage |
};
apiInstance.brandingGetAutocompleteV2(sSelector, opts, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});
Name | Type | Description | Notes |
---|---|---|---|
sSelector | String | The type of Brandings to return | |
eFilterActive | String | Specify which results we want to display. | [optional] [default to 'Active'] |
sQuery | String | Allow to filter the returned results | [optional] |
Accept_Language | HeaderAcceptLanguage | [optional] |
BrandingGetAutocompleteV2Response
- Content-Type: Not defined
- Accept: application/json
BrandingGetListV1Response brandingGetListV1(opts)
Retrieve Branding list
Enum values that can be filtered in query parameter sFilter: | Variable | Valid values | |---|---| | eBrandingLogo | Default<br>JPEG<br>PNG |
import EZmaxApiDefinitionFull from 'e_zmax_api_definition__full';
let defaultClient = EZmaxApiDefinitionFull.ApiClient.instance;
// Configure API key authorization: Authorization
let Authorization = defaultClient.authentications['Authorization'];
Authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Authorization.apiKeyPrefix = 'Token';
let apiInstance = new EZmaxApiDefinitionFull.ObjectBrandingApi();
let opts = {
'eOrderBy': "eOrderBy_example", // String | Specify how you want the results to be sorted
'iRowMax': 10000, // Number |
'iRowOffset': 0, // Number |
'Accept_Language': new EZmaxApiDefinitionFull.HeaderAcceptLanguage(), // HeaderAcceptLanguage |
'sFilter': "sFilter_example" // String |
};
apiInstance.brandingGetListV1(opts, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});
Name | Type | Description | Notes |
---|---|---|---|
eOrderBy | String | Specify how you want the results to be sorted | [optional] |
iRowMax | Number | [optional] [default to 10000] | |
iRowOffset | Number | [optional] [default to 0] | |
Accept_Language | HeaderAcceptLanguage | [optional] | |
sFilter | String | [optional] |
- Content-Type: Not defined
- Accept: application/json, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
BrandingGetObjectV2Response brandingGetObjectV2(pkiBrandingID)
Retrieve an existing Branding
import EZmaxApiDefinitionFull from 'e_zmax_api_definition__full';
let defaultClient = EZmaxApiDefinitionFull.ApiClient.instance;
// Configure API key authorization: Authorization
let Authorization = defaultClient.authentications['Authorization'];
Authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Authorization.apiKeyPrefix = 'Token';
let apiInstance = new EZmaxApiDefinitionFull.ObjectBrandingApi();
let pkiBrandingID = 56; // Number |
apiInstance.brandingGetObjectV2(pkiBrandingID, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});
Name | Type | Description | Notes |
---|---|---|---|
pkiBrandingID | Number |
- Content-Type: Not defined
- Accept: application/json