import 'package:openapi/api.dart';
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 'package:openapi/api.dart';
// TODO Configure API key authorization: Authorization
//defaultApiClient.getAuthentication<ApiKeyAuth>('Authorization').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('Authorization').apiKeyPrefix = 'Bearer';
final api_instance = ObjectBrandingApi();
final brandingCreateObjectV1Request = BrandingCreateObjectV1Request(); // BrandingCreateObjectV1Request |
try {
final result = api_instance.brandingCreateObjectV1(brandingCreateObjectV1Request);
print(result);
} catch (e) {
print('Exception when calling ObjectBrandingApi->brandingCreateObjectV1: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
brandingCreateObjectV1Request | BrandingCreateObjectV1Request |
BrandingCreateObjectV1Response
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
BrandingEditObjectV1Response brandingEditObjectV1(pkiBrandingID, brandingEditObjectV1Request)
Edit an existing Branding
import 'package:openapi/api.dart';
// TODO Configure API key authorization: Authorization
//defaultApiClient.getAuthentication<ApiKeyAuth>('Authorization').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('Authorization').apiKeyPrefix = 'Bearer';
final api_instance = ObjectBrandingApi();
final pkiBrandingID = 56; // int |
final brandingEditObjectV1Request = BrandingEditObjectV1Request(); // BrandingEditObjectV1Request |
try {
final result = api_instance.brandingEditObjectV1(pkiBrandingID, brandingEditObjectV1Request);
print(result);
} catch (e) {
print('Exception when calling ObjectBrandingApi->brandingEditObjectV1: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
pkiBrandingID | int | ||
brandingEditObjectV1Request | BrandingEditObjectV1Request |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
BrandingGetAutocompleteV2Response brandingGetAutocompleteV2(sSelector, eFilterActive, sQuery, acceptLanguage)
Retrieve Brandings and IDs
Get the list of Branding to be used in a dropdown or autocomplete control.
import 'package:openapi/api.dart';
// TODO Configure API key authorization: Authorization
//defaultApiClient.getAuthentication<ApiKeyAuth>('Authorization').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('Authorization').apiKeyPrefix = 'Bearer';
final api_instance = ObjectBrandingApi();
final sSelector = sSelector_example; // String | The type of Brandings to return
final eFilterActive = eFilterActive_example; // String | Specify which results we want to display.
final sQuery = sQuery_example; // String | Allow to filter the returned results
final acceptLanguage = ; // HeaderAcceptLanguage |
try {
final result = api_instance.brandingGetAutocompleteV2(sSelector, eFilterActive, sQuery, acceptLanguage);
print(result);
} catch (e) {
print('Exception when calling ObjectBrandingApi->brandingGetAutocompleteV2: $e\n');
}
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] |
acceptLanguage | HeaderAcceptLanguage | [optional] |
BrandingGetAutocompleteV2Response
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
BrandingGetListV1Response brandingGetListV1(eOrderBy, iRowMax, iRowOffset, acceptLanguage, sFilter)
Retrieve Branding list
Enum values that can be filtered in query parameter sFilter: | Variable | Valid values | |---|---| | eBrandingLogo | Default
JPEG
PNG | | eBrandingLogointerface | Default
JPEG
PNG |
import 'package:openapi/api.dart';
// TODO Configure API key authorization: Authorization
//defaultApiClient.getAuthentication<ApiKeyAuth>('Authorization').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('Authorization').apiKeyPrefix = 'Bearer';
final api_instance = ObjectBrandingApi();
final eOrderBy = eOrderBy_example; // String | Specify how you want the results to be sorted
final iRowMax = 56; // int |
final iRowOffset = 56; // int |
final acceptLanguage = ; // HeaderAcceptLanguage |
final sFilter = sFilter_example; // String |
try {
final result = api_instance.brandingGetListV1(eOrderBy, iRowMax, iRowOffset, acceptLanguage, sFilter);
print(result);
} catch (e) {
print('Exception when calling ObjectBrandingApi->brandingGetListV1: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
eOrderBy | String | Specify how you want the results to be sorted | [optional] |
iRowMax | int | [optional] | |
iRowOffset | int | [optional] [default to 0] | |
acceptLanguage | HeaderAcceptLanguage | [optional] | |
sFilter | String | [optional] |
- Content-Type: Not defined
- Accept: application/json, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
[Back to top] [Back to API list] [Back to Model list] [Back to README]
BrandingGetObjectV2Response brandingGetObjectV2(pkiBrandingID)
Retrieve an existing Branding
import 'package:openapi/api.dart';
// TODO Configure API key authorization: Authorization
//defaultApiClient.getAuthentication<ApiKeyAuth>('Authorization').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('Authorization').apiKeyPrefix = 'Bearer';
final api_instance = ObjectBrandingApi();
final pkiBrandingID = 56; // int |
try {
final result = api_instance.brandingGetObjectV2(pkiBrandingID);
print(result);
} catch (e) {
print('Exception when calling ObjectBrandingApi->brandingGetObjectV2: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
pkiBrandingID | int |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]