use EzmaxApi::Object::ObjectUsergroupApi;
All URIs are relative to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest
Method | HTTP request | Description |
---|---|---|
usergroup_create_object_v1 | POST /1/object/usergroup | Create a new Usergroup |
usergroup_edit_object_v1 | PUT /1/object/usergroup/{pkiUsergroupID} | Edit an existing Usergroup |
usergroup_edit_permissions_v1 | PUT /1/object/usergroup/{pkiUsergroupID}/editPermissions | Edit multiple Permissions |
usergroup_edit_usergroupdelegations_v1 | PUT /1/object/usergroup/{pkiUsergroupID}/editUsergroupdelegations | Edit multiple Usergroupdelegations |
usergroup_edit_usergroupmemberships_v1 | PUT /1/object/usergroup/{pkiUsergroupID}/editUsergroupmemberships | Edit multiple Usergroupmemberships |
usergroup_get_autocomplete_v2 | GET /2/object/usergroup/getAutocomplete/{sSelector} | Retrieve Usergroups and IDs |
usergroup_get_list_v1 | GET /1/object/usergroup/getList | Retrieve Usergroup list |
usergroup_get_object_v2 | GET /2/object/usergroup/{pkiUsergroupID} | Retrieve an existing Usergroup |
usergroup_get_permissions_v1 | GET /1/object/usergroup/{pkiUsergroupID}/getPermissions | Retrieve an existing Usergroup's Permissions |
usergroup_get_usergroupdelegations_v1 | GET /1/object/usergroup/{pkiUsergroupID}/getUsergroupdelegations | Retrieve an existing Usergroup's Usergroupdelegations |
usergroup_get_usergroupmemberships_v1 | GET /1/object/usergroup/{pkiUsergroupID}/getUsergroupmemberships | Retrieve an existing Usergroup's Usergroupmemberships |
UsergroupCreateObjectV1Response usergroup_create_object_v1(usergroup_create_object_v1_request => $usergroup_create_object_v1_request)
Create a new Usergroup
The endpoint allows to create one or many elements at once.
use Data::Dumper;
use EzmaxApi::ObjectUsergroupApi;
my $api_instance = EzmaxApi::ObjectUsergroupApi->new(
# Configure API key authorization: Authorization
api_key => {'Authorization' => 'YOUR_API_KEY'},
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#api_key_prefix => {'Authorization' => 'Bearer'},
);
my $usergroup_create_object_v1_request = EzmaxApi::Object::UsergroupCreateObjectV1Request->new(); # UsergroupCreateObjectV1Request |
eval {
my $result = $api_instance->usergroup_create_object_v1(usergroup_create_object_v1_request => $usergroup_create_object_v1_request);
print Dumper($result);
};
if ($@) {
warn "Exception when calling ObjectUsergroupApi->usergroup_create_object_v1: $@\n";
}
Name | Type | Description | Notes |
---|---|---|---|
usergroup_create_object_v1_request | UsergroupCreateObjectV1Request |
UsergroupCreateObjectV1Response
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
UsergroupEditObjectV1Response usergroup_edit_object_v1(pki_usergroup_id => $pki_usergroup_id, usergroup_edit_object_v1_request => $usergroup_edit_object_v1_request)
Edit an existing Usergroup
use Data::Dumper;
use EzmaxApi::ObjectUsergroupApi;
my $api_instance = EzmaxApi::ObjectUsergroupApi->new(
# Configure API key authorization: Authorization
api_key => {'Authorization' => 'YOUR_API_KEY'},
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#api_key_prefix => {'Authorization' => 'Bearer'},
);
my $pki_usergroup_id = 56; # int |
my $usergroup_edit_object_v1_request = EzmaxApi::Object::UsergroupEditObjectV1Request->new(); # UsergroupEditObjectV1Request |
eval {
my $result = $api_instance->usergroup_edit_object_v1(pki_usergroup_id => $pki_usergroup_id, usergroup_edit_object_v1_request => $usergroup_edit_object_v1_request);
print Dumper($result);
};
if ($@) {
warn "Exception when calling ObjectUsergroupApi->usergroup_edit_object_v1: $@\n";
}
Name | Type | Description | Notes |
---|---|---|---|
pki_usergroup_id | int | ||
usergroup_edit_object_v1_request | UsergroupEditObjectV1Request |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
UsergroupEditPermissionsV1Response usergroup_edit_permissions_v1(pki_usergroup_id => $pki_usergroup_id, usergroup_edit_permissions_v1_request => $usergroup_edit_permissions_v1_request)
Edit multiple Permissions
Using this endpoint, you can edit multiple Permissions at the same time.
use Data::Dumper;
use EzmaxApi::ObjectUsergroupApi;
my $api_instance = EzmaxApi::ObjectUsergroupApi->new(
# Configure API key authorization: Authorization
api_key => {'Authorization' => 'YOUR_API_KEY'},
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#api_key_prefix => {'Authorization' => 'Bearer'},
);
my $pki_usergroup_id = 56; # int |
my $usergroup_edit_permissions_v1_request = EzmaxApi::Object::UsergroupEditPermissionsV1Request->new(); # UsergroupEditPermissionsV1Request |
eval {
my $result = $api_instance->usergroup_edit_permissions_v1(pki_usergroup_id => $pki_usergroup_id, usergroup_edit_permissions_v1_request => $usergroup_edit_permissions_v1_request);
print Dumper($result);
};
if ($@) {
warn "Exception when calling ObjectUsergroupApi->usergroup_edit_permissions_v1: $@\n";
}
Name | Type | Description | Notes |
---|---|---|---|
pki_usergroup_id | int | ||
usergroup_edit_permissions_v1_request | UsergroupEditPermissionsV1Request |
UsergroupEditPermissionsV1Response
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
UsergroupEditUsergroupdelegationsV1Response usergroup_edit_usergroupdelegations_v1(pki_usergroup_id => $pki_usergroup_id, usergroup_edit_usergroupdelegations_v1_request => $usergroup_edit_usergroupdelegations_v1_request)
Edit multiple Usergroupdelegations
Edit multiple Usergroupdelegations
use Data::Dumper;
use EzmaxApi::ObjectUsergroupApi;
my $api_instance = EzmaxApi::ObjectUsergroupApi->new(
# Configure API key authorization: Authorization
api_key => {'Authorization' => 'YOUR_API_KEY'},
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#api_key_prefix => {'Authorization' => 'Bearer'},
);
my $pki_usergroup_id = 56; # int |
my $usergroup_edit_usergroupdelegations_v1_request = EzmaxApi::Object::UsergroupEditUsergroupdelegationsV1Request->new(); # UsergroupEditUsergroupdelegationsV1Request |
eval {
my $result = $api_instance->usergroup_edit_usergroupdelegations_v1(pki_usergroup_id => $pki_usergroup_id, usergroup_edit_usergroupdelegations_v1_request => $usergroup_edit_usergroupdelegations_v1_request);
print Dumper($result);
};
if ($@) {
warn "Exception when calling ObjectUsergroupApi->usergroup_edit_usergroupdelegations_v1: $@\n";
}
Name | Type | Description | Notes |
---|---|---|---|
pki_usergroup_id | int | ||
usergroup_edit_usergroupdelegations_v1_request | UsergroupEditUsergroupdelegationsV1Request |
UsergroupEditUsergroupdelegationsV1Response
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
UsergroupEditUsergroupmembershipsV1Response usergroup_edit_usergroupmemberships_v1(pki_usergroup_id => $pki_usergroup_id, usergroup_edit_usergroupmemberships_v1_request => $usergroup_edit_usergroupmemberships_v1_request)
Edit multiple Usergroupmemberships
Using this endpoint, you can edit multiple Usergroupmemberships at the same time.
use Data::Dumper;
use EzmaxApi::ObjectUsergroupApi;
my $api_instance = EzmaxApi::ObjectUsergroupApi->new(
# Configure API key authorization: Authorization
api_key => {'Authorization' => 'YOUR_API_KEY'},
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#api_key_prefix => {'Authorization' => 'Bearer'},
);
my $pki_usergroup_id = 56; # int |
my $usergroup_edit_usergroupmemberships_v1_request = EzmaxApi::Object::UsergroupEditUsergroupmembershipsV1Request->new(); # UsergroupEditUsergroupmembershipsV1Request |
eval {
my $result = $api_instance->usergroup_edit_usergroupmemberships_v1(pki_usergroup_id => $pki_usergroup_id, usergroup_edit_usergroupmemberships_v1_request => $usergroup_edit_usergroupmemberships_v1_request);
print Dumper($result);
};
if ($@) {
warn "Exception when calling ObjectUsergroupApi->usergroup_edit_usergroupmemberships_v1: $@\n";
}
Name | Type | Description | Notes |
---|---|---|---|
pki_usergroup_id | int | ||
usergroup_edit_usergroupmemberships_v1_request | UsergroupEditUsergroupmembershipsV1Request |
UsergroupEditUsergroupmembershipsV1Response
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
UsergroupGetAutocompleteV2Response usergroup_get_autocomplete_v2(s_selector => $s_selector, e_filter_active => $e_filter_active, s_query => $s_query, accept_language => $accept_language)
Retrieve Usergroups and IDs
Get the list of Usergroup to be used in a dropdown or autocomplete control.
use Data::Dumper;
use EzmaxApi::ObjectUsergroupApi;
my $api_instance = EzmaxApi::ObjectUsergroupApi->new(
# Configure API key authorization: Authorization
api_key => {'Authorization' => 'YOUR_API_KEY'},
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#api_key_prefix => {'Authorization' => 'Bearer'},
);
my $s_selector = "s_selector_example"; # string | The type of Usergroups to return
my $e_filter_active = 'Active'; # string | Specify which results we want to display.
my $s_query = "s_query_example"; # string | Allow to filter the returned results
my $accept_language = new EzmaxApi.HeaderAcceptLanguage(); # HeaderAcceptLanguage |
eval {
my $result = $api_instance->usergroup_get_autocomplete_v2(s_selector => $s_selector, e_filter_active => $e_filter_active, s_query => $s_query, accept_language => $accept_language);
print Dumper($result);
};
if ($@) {
warn "Exception when calling ObjectUsergroupApi->usergroup_get_autocomplete_v2: $@\n";
}
Name | Type | Description | Notes |
---|---|---|---|
s_selector | string | The type of Usergroups to return | |
e_filter_active | string | Specify which results we want to display. | [optional] [default to 'Active'] |
s_query | string | Allow to filter the returned results | [optional] |
accept_language | 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 usergroup_get_list_v1(e_order_by => $e_order_by, i_row_max => $i_row_max, i_row_offset => $i_row_offset, accept_language => $accept_language, s_filter => $s_filter)
Retrieve Usergroup list
use Data::Dumper;
use EzmaxApi::ObjectUsergroupApi;
my $api_instance = EzmaxApi::ObjectUsergroupApi->new(
# Configure API key authorization: Authorization
api_key => {'Authorization' => 'YOUR_API_KEY'},
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#api_key_prefix => {'Authorization' => 'Bearer'},
);
my $e_order_by = "e_order_by_example"; # string | Specify how you want the results to be sorted
my $i_row_max = 56; # int |
my $i_row_offset = 0; # int |
my $accept_language = new EzmaxApi.HeaderAcceptLanguage(); # HeaderAcceptLanguage |
my $s_filter = "s_filter_example"; # string |
eval {
my $result = $api_instance->usergroup_get_list_v1(e_order_by => $e_order_by, i_row_max => $i_row_max, i_row_offset => $i_row_offset, accept_language => $accept_language, s_filter => $s_filter);
print Dumper($result);
};
if ($@) {
warn "Exception when calling ObjectUsergroupApi->usergroup_get_list_v1: $@\n";
}
Name | Type | Description | Notes |
---|---|---|---|
e_order_by | string | Specify how you want the results to be sorted | [optional] |
i_row_max | int | [optional] | |
i_row_offset | int | [optional] [default to 0] | |
accept_language | HeaderAcceptLanguage | [optional] | |
s_filter | 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 usergroup_get_object_v2(pki_usergroup_id => $pki_usergroup_id)
Retrieve an existing Usergroup
use Data::Dumper;
use EzmaxApi::ObjectUsergroupApi;
my $api_instance = EzmaxApi::ObjectUsergroupApi->new(
# Configure API key authorization: Authorization
api_key => {'Authorization' => 'YOUR_API_KEY'},
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#api_key_prefix => {'Authorization' => 'Bearer'},
);
my $pki_usergroup_id = 56; # int |
eval {
my $result = $api_instance->usergroup_get_object_v2(pki_usergroup_id => $pki_usergroup_id);
print Dumper($result);
};
if ($@) {
warn "Exception when calling ObjectUsergroupApi->usergroup_get_object_v2: $@\n";
}
Name | Type | Description | Notes |
---|---|---|---|
pki_usergroup_id | int |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
UsergroupGetPermissionsV1Response usergroup_get_permissions_v1(pki_usergroup_id => $pki_usergroup_id)
Retrieve an existing Usergroup's Permissions
use Data::Dumper;
use EzmaxApi::ObjectUsergroupApi;
my $api_instance = EzmaxApi::ObjectUsergroupApi->new(
# Configure API key authorization: Authorization
api_key => {'Authorization' => 'YOUR_API_KEY'},
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#api_key_prefix => {'Authorization' => 'Bearer'},
);
my $pki_usergroup_id = 56; # int |
eval {
my $result = $api_instance->usergroup_get_permissions_v1(pki_usergroup_id => $pki_usergroup_id);
print Dumper($result);
};
if ($@) {
warn "Exception when calling ObjectUsergroupApi->usergroup_get_permissions_v1: $@\n";
}
Name | Type | Description | Notes |
---|---|---|---|
pki_usergroup_id | int |
UsergroupGetPermissionsV1Response
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
UsergroupGetUsergroupdelegationsV1Response usergroup_get_usergroupdelegations_v1(pki_usergroup_id => $pki_usergroup_id)
Retrieve an existing Usergroup's Usergroupdelegations
use Data::Dumper;
use EzmaxApi::ObjectUsergroupApi;
my $api_instance = EzmaxApi::ObjectUsergroupApi->new(
# Configure API key authorization: Authorization
api_key => {'Authorization' => 'YOUR_API_KEY'},
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#api_key_prefix => {'Authorization' => 'Bearer'},
);
my $pki_usergroup_id = 56; # int |
eval {
my $result = $api_instance->usergroup_get_usergroupdelegations_v1(pki_usergroup_id => $pki_usergroup_id);
print Dumper($result);
};
if ($@) {
warn "Exception when calling ObjectUsergroupApi->usergroup_get_usergroupdelegations_v1: $@\n";
}
Name | Type | Description | Notes |
---|---|---|---|
pki_usergroup_id | int |
UsergroupGetUsergroupdelegationsV1Response
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
UsergroupGetUsergroupmembershipsV1Response usergroup_get_usergroupmemberships_v1(pki_usergroup_id => $pki_usergroup_id)
Retrieve an existing Usergroup's Usergroupmemberships
use Data::Dumper;
use EzmaxApi::ObjectUsergroupApi;
my $api_instance = EzmaxApi::ObjectUsergroupApi->new(
# Configure API key authorization: Authorization
api_key => {'Authorization' => 'YOUR_API_KEY'},
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#api_key_prefix => {'Authorization' => 'Bearer'},
);
my $pki_usergroup_id = 56; # int |
eval {
my $result = $api_instance->usergroup_get_usergroupmemberships_v1(pki_usergroup_id => $pki_usergroup_id);
print Dumper($result);
};
if ($@) {
warn "Exception when calling ObjectUsergroupApi->usergroup_get_usergroupmemberships_v1: $@\n";
}
Name | Type | Description | Notes |
---|---|---|---|
pki_usergroup_id | int |
UsergroupGetUsergroupmembershipsV1Response
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]