import 'package:openapi/api.dart';
All URIs are relative to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest
Method | HTTP request | Description |
---|---|---|
usergroupCreateObjectV1 | POST /1/object/usergroup | Create a new Usergroup |
usergroupEditObjectV1 | PUT /1/object/usergroup/{pkiUsergroupID} | Edit an existing Usergroup |
usergroupEditPermissionsV1 | PUT /1/object/usergroup/{pkiUsergroupID}/editPermissions | Edit multiple Permissions |
usergroupEditUsergroupdelegationsV1 | PUT /1/object/usergroup/{pkiUsergroupID}/editUsergroupdelegations | Edit multiple Usergroupdelegations |
usergroupEditUsergroupmembershipsV1 | PUT /1/object/usergroup/{pkiUsergroupID}/editUsergroupmemberships | Edit multiple Usergroupmemberships |
usergroupGetAutocompleteV2 | GET /2/object/usergroup/getAutocomplete/{sSelector} | Retrieve Usergroups and IDs |
usergroupGetListV1 | GET /1/object/usergroup/getList | Retrieve Usergroup list |
usergroupGetObjectV2 | GET /2/object/usergroup/{pkiUsergroupID} | Retrieve an existing Usergroup |
usergroupGetPermissionsV1 | GET /1/object/usergroup/{pkiUsergroupID}/getPermissions | Retrieve an existing Usergroup's Permissions |
usergroupGetUsergroupdelegationsV1 | GET /1/object/usergroup/{pkiUsergroupID}/getUsergroupdelegations | Retrieve an existing Usergroup's Usergroupdelegations |
usergroupGetUsergroupmembershipsV1 | GET /1/object/usergroup/{pkiUsergroupID}/getUsergroupmemberships | Retrieve an existing Usergroup's Usergroupmemberships |
UsergroupCreateObjectV1Response usergroupCreateObjectV1(usergroupCreateObjectV1Request)
Create a new Usergroup
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 = ObjectUsergroupApi();
final usergroupCreateObjectV1Request = UsergroupCreateObjectV1Request(); // UsergroupCreateObjectV1Request |
try {
final result = api_instance.usergroupCreateObjectV1(usergroupCreateObjectV1Request);
print(result);
} catch (e) {
print('Exception when calling ObjectUsergroupApi->usergroupCreateObjectV1: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
usergroupCreateObjectV1Request | UsergroupCreateObjectV1Request |
UsergroupCreateObjectV1Response
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
UsergroupEditObjectV1Response usergroupEditObjectV1(pkiUsergroupID, usergroupEditObjectV1Request)
Edit an existing Usergroup
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 = ObjectUsergroupApi();
final pkiUsergroupID = 56; // int |
final usergroupEditObjectV1Request = UsergroupEditObjectV1Request(); // UsergroupEditObjectV1Request |
try {
final result = api_instance.usergroupEditObjectV1(pkiUsergroupID, usergroupEditObjectV1Request);
print(result);
} catch (e) {
print('Exception when calling ObjectUsergroupApi->usergroupEditObjectV1: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
pkiUsergroupID | int | ||
usergroupEditObjectV1Request | UsergroupEditObjectV1Request |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
UsergroupEditPermissionsV1Response usergroupEditPermissionsV1(pkiUsergroupID, usergroupEditPermissionsV1Request)
Edit multiple Permissions
Using this endpoint, you can edit multiple Permissions at the same time.
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 = ObjectUsergroupApi();
final pkiUsergroupID = 56; // int |
final usergroupEditPermissionsV1Request = UsergroupEditPermissionsV1Request(); // UsergroupEditPermissionsV1Request |
try {
final result = api_instance.usergroupEditPermissionsV1(pkiUsergroupID, usergroupEditPermissionsV1Request);
print(result);
} catch (e) {
print('Exception when calling ObjectUsergroupApi->usergroupEditPermissionsV1: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
pkiUsergroupID | int | ||
usergroupEditPermissionsV1Request | UsergroupEditPermissionsV1Request |
UsergroupEditPermissionsV1Response
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
UsergroupEditUsergroupdelegationsV1Response usergroupEditUsergroupdelegationsV1(pkiUsergroupID, usergroupEditUsergroupdelegationsV1Request)
Edit multiple Usergroupdelegations
Edit multiple Usergroupdelegations
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 = ObjectUsergroupApi();
final pkiUsergroupID = 56; // int |
final usergroupEditUsergroupdelegationsV1Request = UsergroupEditUsergroupdelegationsV1Request(); // UsergroupEditUsergroupdelegationsV1Request |
try {
final result = api_instance.usergroupEditUsergroupdelegationsV1(pkiUsergroupID, usergroupEditUsergroupdelegationsV1Request);
print(result);
} catch (e) {
print('Exception when calling ObjectUsergroupApi->usergroupEditUsergroupdelegationsV1: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
pkiUsergroupID | int | ||
usergroupEditUsergroupdelegationsV1Request | UsergroupEditUsergroupdelegationsV1Request |
UsergroupEditUsergroupdelegationsV1Response
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
UsergroupEditUsergroupmembershipsV1Response usergroupEditUsergroupmembershipsV1(pkiUsergroupID, usergroupEditUsergroupmembershipsV1Request)
Edit multiple Usergroupmemberships
Using this endpoint, you can edit multiple Usergroupmemberships at the same time.
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 = ObjectUsergroupApi();
final pkiUsergroupID = 56; // int |
final usergroupEditUsergroupmembershipsV1Request = UsergroupEditUsergroupmembershipsV1Request(); // UsergroupEditUsergroupmembershipsV1Request |
try {
final result = api_instance.usergroupEditUsergroupmembershipsV1(pkiUsergroupID, usergroupEditUsergroupmembershipsV1Request);
print(result);
} catch (e) {
print('Exception when calling ObjectUsergroupApi->usergroupEditUsergroupmembershipsV1: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
pkiUsergroupID | int | ||
usergroupEditUsergroupmembershipsV1Request | UsergroupEditUsergroupmembershipsV1Request |
UsergroupEditUsergroupmembershipsV1Response
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
UsergroupGetAutocompleteV2Response usergroupGetAutocompleteV2(sSelector, eFilterActive, sQuery, acceptLanguage)
Retrieve Usergroups and IDs
Get the list of Usergroup 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 = ObjectUsergroupApi();
final sSelector = sSelector_example; // String | The type of Usergroups 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.usergroupGetAutocompleteV2(sSelector, eFilterActive, sQuery, acceptLanguage);
print(result);
} catch (e) {
print('Exception when calling ObjectUsergroupApi->usergroupGetAutocompleteV2: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
sSelector | String | The type of Usergroups 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] |
UsergroupGetAutocompleteV2Response
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
UsergroupGetListV1Response usergroupGetListV1(eOrderBy, iRowMax, iRowOffset, acceptLanguage, sFilter)
Retrieve Usergroup list
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 = ObjectUsergroupApi();
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.usergroupGetListV1(eOrderBy, iRowMax, iRowOffset, acceptLanguage, sFilter);
print(result);
} catch (e) {
print('Exception when calling ObjectUsergroupApi->usergroupGetListV1: $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]
UsergroupGetObjectV2Response usergroupGetObjectV2(pkiUsergroupID)
Retrieve an existing Usergroup
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 = ObjectUsergroupApi();
final pkiUsergroupID = 56; // int |
try {
final result = api_instance.usergroupGetObjectV2(pkiUsergroupID);
print(result);
} catch (e) {
print('Exception when calling ObjectUsergroupApi->usergroupGetObjectV2: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
pkiUsergroupID | int |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
UsergroupGetPermissionsV1Response usergroupGetPermissionsV1(pkiUsergroupID)
Retrieve an existing Usergroup's Permissions
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 = ObjectUsergroupApi();
final pkiUsergroupID = 56; // int |
try {
final result = api_instance.usergroupGetPermissionsV1(pkiUsergroupID);
print(result);
} catch (e) {
print('Exception when calling ObjectUsergroupApi->usergroupGetPermissionsV1: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
pkiUsergroupID | int |
UsergroupGetPermissionsV1Response
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
UsergroupGetUsergroupdelegationsV1Response usergroupGetUsergroupdelegationsV1(pkiUsergroupID)
Retrieve an existing Usergroup's Usergroupdelegations
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 = ObjectUsergroupApi();
final pkiUsergroupID = 56; // int |
try {
final result = api_instance.usergroupGetUsergroupdelegationsV1(pkiUsergroupID);
print(result);
} catch (e) {
print('Exception when calling ObjectUsergroupApi->usergroupGetUsergroupdelegationsV1: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
pkiUsergroupID | int |
UsergroupGetUsergroupdelegationsV1Response
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
UsergroupGetUsergroupmembershipsV1Response usergroupGetUsergroupmembershipsV1(pkiUsergroupID)
Retrieve an existing Usergroup's Usergroupmemberships
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 = ObjectUsergroupApi();
final pkiUsergroupID = 56; // int |
try {
final result = api_instance.usergroupGetUsergroupmembershipsV1(pkiUsergroupID);
print(result);
} catch (e) {
print('Exception when calling ObjectUsergroupApi->usergroupGetUsergroupmembershipsV1: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
pkiUsergroupID | int |
UsergroupGetUsergroupmembershipsV1Response
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]