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 |
-(NSURLSessionTask*) brandingCreateObjectV1WithBrandingCreateObjectV1Request: (BrandingCreateObjectV1Request*) brandingCreateObjectV1Request
completionHandler: (void (^)(BrandingCreateObjectV1Response* output, NSError* error)) handler;
Create a new Branding
The endpoint allows to create one or many elements at once.
DefaultConfiguration *apiConfig = [DefaultConfiguration sharedConfig];
// Configure API key authorization: (authentication scheme: Authorization)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"Authorization"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"Authorization"];
BrandingCreateObjectV1Request* brandingCreateObjectV1Request = [[BrandingCreateObjectV1Request alloc] init]; //
ObjectBrandingApi*apiInstance = [[ObjectBrandingApi alloc] init];
// Create a new Branding
[apiInstance brandingCreateObjectV1WithBrandingCreateObjectV1Request:brandingCreateObjectV1Request
completionHandler: ^(BrandingCreateObjectV1Response* output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
if (error) {
NSLog(@"Error calling ObjectBrandingApi->brandingCreateObjectV1: %@", error);
}
}];
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]
-(NSURLSessionTask*) brandingEditObjectV1WithPkiBrandingID: (NSNumber*) pkiBrandingID
brandingEditObjectV1Request: (BrandingEditObjectV1Request*) brandingEditObjectV1Request
completionHandler: (void (^)(BrandingEditObjectV1Response* output, NSError* error)) handler;
Edit an existing Branding
DefaultConfiguration *apiConfig = [DefaultConfiguration sharedConfig];
// Configure API key authorization: (authentication scheme: Authorization)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"Authorization"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"Authorization"];
NSNumber* pkiBrandingID = @56; //
BrandingEditObjectV1Request* brandingEditObjectV1Request = [[BrandingEditObjectV1Request alloc] init]; //
ObjectBrandingApi*apiInstance = [[ObjectBrandingApi alloc] init];
// Edit an existing Branding
[apiInstance brandingEditObjectV1WithPkiBrandingID:pkiBrandingID
brandingEditObjectV1Request:brandingEditObjectV1Request
completionHandler: ^(BrandingEditObjectV1Response* output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
if (error) {
NSLog(@"Error calling ObjectBrandingApi->brandingEditObjectV1: %@", error);
}
}];
Name | Type | Description | Notes |
---|---|---|---|
pkiBrandingID | NSNumber* | ||
brandingEditObjectV1Request | BrandingEditObjectV1Request* |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
-(NSURLSessionTask*) brandingGetAutocompleteV2WithSSelector: (NSString*) sSelector
eFilterActive: (NSString*) eFilterActive
sQuery: (NSString*) sQuery
acceptLanguage: (HeaderAcceptLanguage) acceptLanguage
completionHandler: (void (^)(BrandingGetAutocompleteV2Response* output, NSError* error)) handler;
Retrieve Brandings and IDs
Get the list of Branding to be used in a dropdown or autocomplete control.
DefaultConfiguration *apiConfig = [DefaultConfiguration sharedConfig];
// Configure API key authorization: (authentication scheme: Authorization)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"Authorization"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"Authorization"];
NSString* sSelector = @"sSelector_example"; // The type of Brandings to return
NSString* eFilterActive = @"Active"; // Specify which results we want to display. (optional) (default to @"Active")
NSString* sQuery = @"sQuery_example"; // Allow to filter the returned results (optional)
HeaderAcceptLanguage acceptLanguage = [[HeaderAcceptLanguage alloc] init]; // (optional)
ObjectBrandingApi*apiInstance = [[ObjectBrandingApi alloc] init];
// Retrieve Brandings and IDs
[apiInstance brandingGetAutocompleteV2WithSSelector:sSelector
eFilterActive:eFilterActive
sQuery:sQuery
acceptLanguage:acceptLanguage
completionHandler: ^(BrandingGetAutocompleteV2Response* output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
if (error) {
NSLog(@"Error calling ObjectBrandingApi->brandingGetAutocompleteV2: %@", error);
}
}];
Name | Type | Description | Notes |
---|---|---|---|
sSelector | NSString* | The type of Brandings to return | |
eFilterActive | NSString* | Specify which results we want to display. | [optional] [default to @"Active"] |
sQuery | NSString* | 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]
-(NSURLSessionTask*) brandingGetListV1WithEOrderBy: (NSString*) eOrderBy
iRowMax: (NSNumber*) iRowMax
iRowOffset: (NSNumber*) iRowOffset
acceptLanguage: (HeaderAcceptLanguage) acceptLanguage
sFilter: (NSString*) sFilter
completionHandler: (void (^)(BrandingGetListV1Response* output, NSError* error)) handler;
Retrieve Branding list
Enum values that can be filtered in query parameter sFilter: | Variable | Valid values | |---|---| | eBrandingLogo | Default
JPEG
PNG | | eBrandingLogointerface | Default
JPEG
PNG |
DefaultConfiguration *apiConfig = [DefaultConfiguration sharedConfig];
// Configure API key authorization: (authentication scheme: Authorization)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"Authorization"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"Authorization"];
NSString* eOrderBy = @"eOrderBy_example"; // Specify how you want the results to be sorted (optional)
NSNumber* iRowMax = @56; // (optional)
NSNumber* iRowOffset = @0; // (optional) (default to @0)
HeaderAcceptLanguage acceptLanguage = [[HeaderAcceptLanguage alloc] init]; // (optional)
NSString* sFilter = @"sFilter_example"; // (optional)
ObjectBrandingApi*apiInstance = [[ObjectBrandingApi alloc] init];
// Retrieve Branding list
[apiInstance brandingGetListV1WithEOrderBy:eOrderBy
iRowMax:iRowMax
iRowOffset:iRowOffset
acceptLanguage:acceptLanguage
sFilter:sFilter
completionHandler: ^(BrandingGetListV1Response* output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
if (error) {
NSLog(@"Error calling ObjectBrandingApi->brandingGetListV1: %@", error);
}
}];
Name | Type | Description | Notes |
---|---|---|---|
eOrderBy | NSString* | Specify how you want the results to be sorted | [optional] |
iRowMax | NSNumber* | [optional] | |
iRowOffset | NSNumber* | [optional] [default to @0] | |
acceptLanguage | HeaderAcceptLanguage | [optional] | |
sFilter | NSString* | [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]
-(NSURLSessionTask*) brandingGetObjectV2WithPkiBrandingID: (NSNumber*) pkiBrandingID
completionHandler: (void (^)(BrandingGetObjectV2Response* output, NSError* error)) handler;
Retrieve an existing Branding
DefaultConfiguration *apiConfig = [DefaultConfiguration sharedConfig];
// Configure API key authorization: (authentication scheme: Authorization)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"Authorization"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"Authorization"];
NSNumber* pkiBrandingID = @56; //
ObjectBrandingApi*apiInstance = [[ObjectBrandingApi alloc] init];
// Retrieve an existing Branding
[apiInstance brandingGetObjectV2WithPkiBrandingID:pkiBrandingID
completionHandler: ^(BrandingGetObjectV2Response* output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
if (error) {
NSLog(@"Error calling ObjectBrandingApi->brandingGetObjectV2: %@", error);
}
}];
Name | Type | Description | Notes |
---|---|---|---|
pkiBrandingID | NSNumber* |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]