All URIs are relative to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest
| Method | HTTP request | Description |
|---|---|---|
| user_create_object_v1 | POST /1/object/user | Create a new User |
| user_create_object_v2 | POST /2/object/user | Create a new User |
| user_edit_colleagues_v2 | PUT /2/object/user/{pkiUserID}/editColleagues | Edit multiple Colleagues |
| user_edit_object_v1 | PUT /1/object/user/{pkiUserID} | Edit an existing User |
| user_edit_permissions_v1 | PUT /1/object/user/{pkiUserID}/editPermissions | Edit multiple Permissions |
| user_get_apikeys_v1 | GET /1/object/user/{pkiUserID}/getApikeys | Retrieve an existing User's Apikeys |
| user_get_autocomplete_v2 | GET /2/object/user/getAutocomplete/{sSelector} | Retrieve Users and IDs |
| user_get_colleagues_v2 | GET /2/object/user/{pkiUserID}/getColleagues | Retrieve an existing User's Colleagues |
| user_get_effective_permissions_v1 | GET /1/object/user/{pkiUserID}/getEffectivePermissions | Retrieve an existing User's Effective Permissions |
| user_get_list_v1 | GET /1/object/user/getList | Retrieve User list |
| user_get_object_v2 | GET /2/object/user/{pkiUserID} | Retrieve an existing User |
| user_get_permissions_v1 | GET /1/object/user/{pkiUserID}/getPermissions | Retrieve an existing User's Permissions |
| user_get_subnets_v1 | GET /1/object/user/{pkiUserID}/getSubnets | Retrieve an existing User's Subnets |
| user_get_usergroupexternals_v1 | GET /1/object/user/{pkiUserID}/getUsergroupexternals | Get User's Usergroupexternals |
| user_get_usergroups_v1 | GET /1/object/user/{pkiUserID}/getUsergroups | Get User's Usergroups |
| user_send_password_reset_v1 | POST /1/object/user/{pkiUserID}/sendPasswordReset | Send password reset |
user_create_object_v1(user_create_object_v1_request)
Create a new User
The endpoint allows to create one or many elements at once.
require 'time'
require 'Ezmaxapi'
# setup authorization
EzmaxApi.configure do |config|
# Configure API key authorization: Authorization
config.api_key['Authorization'] = 'YOUR API KEY'
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
# config.api_key_prefix['Authorization'] = 'Bearer'
end
api_instance = EzmaxApi::ObjectUserApi.new
user_create_object_v1_request = EzmaxApi::UserCreateObjectV1Request.new({a_obj_user: [EzmaxApi::UserRequestCompound.new({fki_company_id_default: 1, fki_department_id_default: 21, fki_timezone_id: 247, fki_language_id: 2, obj_email: EzmaxApi::EmailRequestCompound.new({fki_emailtype_id: 1, s_email_address: 'email@example.com'}), fki_billingentityinternal_id: 1, e_user_type: EzmaxApi::FieldEUserType::AGENT_BROKER, e_user_logintype: EzmaxApi::FieldEUserLogintype::PASSWORD, s_user_firstname: 'John', s_user_lastname: 'Doe', s_user_loginname: 'JohnDoe', e_user_ezsignaccess: EzmaxApi::FieldEUserEzsignaccess::NO, b_user_isactive: true})]}) # UserCreateObjectV1Request |
begin
# Create a new User
result = api_instance.user_create_object_v1(user_create_object_v1_request)
p result
rescue EzmaxApi::ApiError => e
puts "Error when calling ObjectUserApi->user_create_object_v1: #{e}"
endThis returns an Array which contains the response data, status code and headers.
<Array(, Integer, Hash)> user_create_object_v1_with_http_info(user_create_object_v1_request)
begin
# Create a new User
data, status_code, headers = api_instance.user_create_object_v1_with_http_info(user_create_object_v1_request)
p status_code # => 2xx
p headers # => { ... }
p data # => <UserCreateObjectV1Response>
rescue EzmaxApi::ApiError => e
puts "Error when calling ObjectUserApi->user_create_object_v1_with_http_info: #{e}"
end| Name | Type | Description | Notes |
|---|---|---|---|
| user_create_object_v1_request | UserCreateObjectV1Request |
- Content-Type: application/json
- Accept: application/json
user_create_object_v2(user_create_object_v2_request)
Create a new User
The endpoint allows to create one or many elements at once.
require 'time'
require 'Ezmaxapi'
# setup authorization
EzmaxApi.configure do |config|
# Configure API key authorization: Authorization
config.api_key['Authorization'] = 'YOUR API KEY'
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
# config.api_key_prefix['Authorization'] = 'Bearer'
end
api_instance = EzmaxApi::ObjectUserApi.new
user_create_object_v2_request = EzmaxApi::UserCreateObjectV2Request.new({a_obj_user: [EzmaxApi::UserRequestCompoundV2.new({fki_company_id_default: 1, fki_department_id_default: 21, fki_timezone_id: 247, fki_language_id: 2, obj_email: EzmaxApi::EmailRequestCompound.new({fki_emailtype_id: 1, s_email_address: 'email@example.com'}), fki_billingentityinternal_id: 1, e_user_type: EzmaxApi::FieldEUserType::AGENT_BROKER, e_user_logintype: EzmaxApi::FieldEUserLogintype::PASSWORD, s_user_firstname: 'John', s_user_lastname: 'Doe', s_user_loginname: 'JohnDoe', e_user_ezsignaccess: EzmaxApi::FieldEUserEzsignaccess::NO, b_user_isactive: true})]}) # UserCreateObjectV2Request |
begin
# Create a new User
result = api_instance.user_create_object_v2(user_create_object_v2_request)
p result
rescue EzmaxApi::ApiError => e
puts "Error when calling ObjectUserApi->user_create_object_v2: #{e}"
endThis returns an Array which contains the response data, status code and headers.
<Array(, Integer, Hash)> user_create_object_v2_with_http_info(user_create_object_v2_request)
begin
# Create a new User
data, status_code, headers = api_instance.user_create_object_v2_with_http_info(user_create_object_v2_request)
p status_code # => 2xx
p headers # => { ... }
p data # => <UserCreateObjectV2Response>
rescue EzmaxApi::ApiError => e
puts "Error when calling ObjectUserApi->user_create_object_v2_with_http_info: #{e}"
end| Name | Type | Description | Notes |
|---|---|---|---|
| user_create_object_v2_request | UserCreateObjectV2Request |
- Content-Type: application/json
- Accept: application/json
user_edit_colleagues_v2(pki_user_id, user_edit_colleagues_v2_request)
Edit multiple Colleagues
Using this endpoint, you can edit multiple Colleagues at the same time.
require 'time'
require 'Ezmaxapi'
# setup authorization
EzmaxApi.configure do |config|
# Configure API key authorization: Authorization
config.api_key['Authorization'] = 'YOUR API KEY'
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
# config.api_key_prefix['Authorization'] = 'Bearer'
end
api_instance = EzmaxApi::ObjectUserApi.new
pki_user_id = 56 # Integer |
user_edit_colleagues_v2_request = EzmaxApi::UserEditColleaguesV2Request.new({a_obj_colleague: [EzmaxApi::ColleagueRequestCompoundV2.new({fki_user_id: 70, fki_user_id_colleague: 70, b_colleague_ezsignemail: false, b_colleague_financial: true, b_colleague_usecloneemail: true, b_colleague_attachment: true, b_colleague_canafe: true, b_colleague_permission: true, b_colleague_realestatecompleted: true, e_colleague_ezsign: EzmaxApi::FieldEColleagueEzsign::NO, e_colleague_realestateinprogress: EzmaxApi::FieldEColleagueRealestateinprogess::NO})]}) # UserEditColleaguesV2Request |
begin
# Edit multiple Colleagues
result = api_instance.user_edit_colleagues_v2(pki_user_id, user_edit_colleagues_v2_request)
p result
rescue EzmaxApi::ApiError => e
puts "Error when calling ObjectUserApi->user_edit_colleagues_v2: #{e}"
endThis returns an Array which contains the response data, status code and headers.
<Array(, Integer, Hash)> user_edit_colleagues_v2_with_http_info(pki_user_id, user_edit_colleagues_v2_request)
begin
# Edit multiple Colleagues
data, status_code, headers = api_instance.user_edit_colleagues_v2_with_http_info(pki_user_id, user_edit_colleagues_v2_request)
p status_code # => 2xx
p headers # => { ... }
p data # => <UserEditColleaguesV2Response>
rescue EzmaxApi::ApiError => e
puts "Error when calling ObjectUserApi->user_edit_colleagues_v2_with_http_info: #{e}"
end| Name | Type | Description | Notes |
|---|---|---|---|
| pki_user_id | Integer | ||
| user_edit_colleagues_v2_request | UserEditColleaguesV2Request |
- Content-Type: application/json
- Accept: application/json
user_edit_object_v1(pki_user_id, user_edit_object_v1_request)
Edit an existing User
require 'time'
require 'Ezmaxapi'
# setup authorization
EzmaxApi.configure do |config|
# Configure API key authorization: Authorization
config.api_key['Authorization'] = 'YOUR API KEY'
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
# config.api_key_prefix['Authorization'] = 'Bearer'
end
api_instance = EzmaxApi::ObjectUserApi.new
pki_user_id = 56 # Integer | The unique ID of the User
user_edit_object_v1_request = EzmaxApi::UserEditObjectV1Request.new({obj_user: EzmaxApi::UserRequestCompound.new({fki_company_id_default: 1, fki_department_id_default: 21, fki_timezone_id: 247, fki_language_id: 2, obj_email: EzmaxApi::EmailRequestCompound.new({fki_emailtype_id: 1, s_email_address: 'email@example.com'}), fki_billingentityinternal_id: 1, e_user_type: EzmaxApi::FieldEUserType::AGENT_BROKER, e_user_logintype: EzmaxApi::FieldEUserLogintype::PASSWORD, s_user_firstname: 'John', s_user_lastname: 'Doe', s_user_loginname: 'JohnDoe', e_user_ezsignaccess: EzmaxApi::FieldEUserEzsignaccess::NO, b_user_isactive: true})}) # UserEditObjectV1Request |
begin
# Edit an existing User
result = api_instance.user_edit_object_v1(pki_user_id, user_edit_object_v1_request)
p result
rescue EzmaxApi::ApiError => e
puts "Error when calling ObjectUserApi->user_edit_object_v1: #{e}"
endThis returns an Array which contains the response data, status code and headers.
<Array(, Integer, Hash)> user_edit_object_v1_with_http_info(pki_user_id, user_edit_object_v1_request)
begin
# Edit an existing User
data, status_code, headers = api_instance.user_edit_object_v1_with_http_info(pki_user_id, user_edit_object_v1_request)
p status_code # => 2xx
p headers # => { ... }
p data # => <UserEditObjectV1Response>
rescue EzmaxApi::ApiError => e
puts "Error when calling ObjectUserApi->user_edit_object_v1_with_http_info: #{e}"
end| Name | Type | Description | Notes |
|---|---|---|---|
| pki_user_id | Integer | The unique ID of the User | |
| user_edit_object_v1_request | UserEditObjectV1Request |
- Content-Type: application/json
- Accept: application/json
user_edit_permissions_v1(pki_user_id, user_edit_permissions_v1_request)
Edit multiple Permissions
Using this endpoint, you can edit multiple Permissions at the same time.
require 'time'
require 'Ezmaxapi'
# setup authorization
EzmaxApi.configure do |config|
# Configure API key authorization: Authorization
config.api_key['Authorization'] = 'YOUR API KEY'
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
# config.api_key_prefix['Authorization'] = 'Bearer'
end
api_instance = EzmaxApi::ObjectUserApi.new
pki_user_id = 56 # Integer |
user_edit_permissions_v1_request = EzmaxApi::UserEditPermissionsV1Request.new({a_obj_permission: [EzmaxApi::PermissionRequestCompound.new({fki_modulesection_id: 53})]}) # UserEditPermissionsV1Request |
begin
# Edit multiple Permissions
result = api_instance.user_edit_permissions_v1(pki_user_id, user_edit_permissions_v1_request)
p result
rescue EzmaxApi::ApiError => e
puts "Error when calling ObjectUserApi->user_edit_permissions_v1: #{e}"
endThis returns an Array which contains the response data, status code and headers.
<Array(, Integer, Hash)> user_edit_permissions_v1_with_http_info(pki_user_id, user_edit_permissions_v1_request)
begin
# Edit multiple Permissions
data, status_code, headers = api_instance.user_edit_permissions_v1_with_http_info(pki_user_id, user_edit_permissions_v1_request)
p status_code # => 2xx
p headers # => { ... }
p data # => <UserEditPermissionsV1Response>
rescue EzmaxApi::ApiError => e
puts "Error when calling ObjectUserApi->user_edit_permissions_v1_with_http_info: #{e}"
end| Name | Type | Description | Notes |
|---|---|---|---|
| pki_user_id | Integer | ||
| user_edit_permissions_v1_request | UserEditPermissionsV1Request |
- Content-Type: application/json
- Accept: application/json
user_get_apikeys_v1(pki_user_id)
Retrieve an existing User's Apikeys
require 'time'
require 'Ezmaxapi'
# setup authorization
EzmaxApi.configure do |config|
# Configure API key authorization: Authorization
config.api_key['Authorization'] = 'YOUR API KEY'
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
# config.api_key_prefix['Authorization'] = 'Bearer'
end
api_instance = EzmaxApi::ObjectUserApi.new
pki_user_id = 56 # Integer |
begin
# Retrieve an existing User's Apikeys
result = api_instance.user_get_apikeys_v1(pki_user_id)
p result
rescue EzmaxApi::ApiError => e
puts "Error when calling ObjectUserApi->user_get_apikeys_v1: #{e}"
endThis returns an Array which contains the response data, status code and headers.
<Array(, Integer, Hash)> user_get_apikeys_v1_with_http_info(pki_user_id)
begin
# Retrieve an existing User's Apikeys
data, status_code, headers = api_instance.user_get_apikeys_v1_with_http_info(pki_user_id)
p status_code # => 2xx
p headers # => { ... }
p data # => <UserGetApikeysV1Response>
rescue EzmaxApi::ApiError => e
puts "Error when calling ObjectUserApi->user_get_apikeys_v1_with_http_info: #{e}"
end| Name | Type | Description | Notes |
|---|---|---|---|
| pki_user_id | Integer |
- Content-Type: Not defined
- Accept: application/json
user_get_autocomplete_v2(s_selector, opts)
Retrieve Users and IDs
Get the list of User to be used in a dropdown or autocomplete control.
require 'time'
require 'Ezmaxapi'
# setup authorization
EzmaxApi.configure do |config|
# Configure API key authorization: Authorization
config.api_key['Authorization'] = 'YOUR API KEY'
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
# config.api_key_prefix['Authorization'] = 'Bearer'
end
api_instance = EzmaxApi::ObjectUserApi.new
s_selector = 'AgentBrokerAssistant' # String | The type of Users to return
opts = {
e_filter_active: 'All', # String | Specify which results we want to display.
s_query: 's_query_example', # String | Allow to filter the returned results
accept_language: EzmaxApi::HeaderAcceptLanguage:: # HeaderAcceptLanguage |
}
begin
# Retrieve Users and IDs
result = api_instance.user_get_autocomplete_v2(s_selector, opts)
p result
rescue EzmaxApi::ApiError => e
puts "Error when calling ObjectUserApi->user_get_autocomplete_v2: #{e}"
endThis returns an Array which contains the response data, status code and headers.
<Array(, Integer, Hash)> user_get_autocomplete_v2_with_http_info(s_selector, opts)
begin
# Retrieve Users and IDs
data, status_code, headers = api_instance.user_get_autocomplete_v2_with_http_info(s_selector, opts)
p status_code # => 2xx
p headers # => { ... }
p data # => <UserGetAutocompleteV2Response>
rescue EzmaxApi::ApiError => e
puts "Error when calling ObjectUserApi->user_get_autocomplete_v2_with_http_info: #{e}"
end| Name | Type | Description | Notes |
|---|---|---|---|
| s_selector | String | The type of Users 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] |
- Content-Type: Not defined
- Accept: application/json
user_get_colleagues_v2(pki_user_id)
Retrieve an existing User's Colleagues
require 'time'
require 'Ezmaxapi'
# setup authorization
EzmaxApi.configure do |config|
# Configure API key authorization: Authorization
config.api_key['Authorization'] = 'YOUR API KEY'
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
# config.api_key_prefix['Authorization'] = 'Bearer'
end
api_instance = EzmaxApi::ObjectUserApi.new
pki_user_id = 56 # Integer |
begin
# Retrieve an existing User's Colleagues
result = api_instance.user_get_colleagues_v2(pki_user_id)
p result
rescue EzmaxApi::ApiError => e
puts "Error when calling ObjectUserApi->user_get_colleagues_v2: #{e}"
endThis returns an Array which contains the response data, status code and headers.
<Array(, Integer, Hash)> user_get_colleagues_v2_with_http_info(pki_user_id)
begin
# Retrieve an existing User's Colleagues
data, status_code, headers = api_instance.user_get_colleagues_v2_with_http_info(pki_user_id)
p status_code # => 2xx
p headers # => { ... }
p data # => <UserGetColleaguesV2Response>
rescue EzmaxApi::ApiError => e
puts "Error when calling ObjectUserApi->user_get_colleagues_v2_with_http_info: #{e}"
end| Name | Type | Description | Notes |
|---|---|---|---|
| pki_user_id | Integer |
- Content-Type: Not defined
- Accept: application/json
user_get_effective_permissions_v1(pki_user_id)
Retrieve an existing User's Effective Permissions
Effective Permissions refers to the combination of Permissions held by a User and the Permissions associated with the Usergroups they belong to.
require 'time'
require 'Ezmaxapi'
# setup authorization
EzmaxApi.configure do |config|
# Configure API key authorization: Authorization
config.api_key['Authorization'] = 'YOUR API KEY'
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
# config.api_key_prefix['Authorization'] = 'Bearer'
end
api_instance = EzmaxApi::ObjectUserApi.new
pki_user_id = 56 # Integer |
begin
# Retrieve an existing User's Effective Permissions
result = api_instance.user_get_effective_permissions_v1(pki_user_id)
p result
rescue EzmaxApi::ApiError => e
puts "Error when calling ObjectUserApi->user_get_effective_permissions_v1: #{e}"
endThis returns an Array which contains the response data, status code and headers.
<Array(, Integer, Hash)> user_get_effective_permissions_v1_with_http_info(pki_user_id)
begin
# Retrieve an existing User's Effective Permissions
data, status_code, headers = api_instance.user_get_effective_permissions_v1_with_http_info(pki_user_id)
p status_code # => 2xx
p headers # => { ... }
p data # => <UserGetEffectivePermissionsV1Response>
rescue EzmaxApi::ApiError => e
puts "Error when calling ObjectUserApi->user_get_effective_permissions_v1_with_http_info: #{e}"
end| Name | Type | Description | Notes |
|---|---|---|---|
| pki_user_id | Integer |
UserGetEffectivePermissionsV1Response
- Content-Type: Not defined
- Accept: application/json
user_get_list_v1(opts)
Retrieve User list
Enum values that can be filtered in query parameter sFilter: | Variable | Valid values | |---|---| | eUserType | AgentBroker
Assistant
Employee
EzsignUser
Normal | | eUserOrigin | BuiltIn
External | | eUserEzsignaccess | No
PaidByOffice
PerDocument
Prepaid |
require 'time'
require 'Ezmaxapi'
# setup authorization
EzmaxApi.configure do |config|
# Configure API key authorization: Authorization
config.api_key['Authorization'] = 'YOUR API KEY'
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
# config.api_key_prefix['Authorization'] = 'Bearer'
end
api_instance = EzmaxApi::ObjectUserApi.new
opts = {
e_order_by: 'pkiUserID_ASC', # String | Specify how you want the results to be sorted
i_row_max: 56, # Integer |
i_row_offset: 56, # Integer |
accept_language: EzmaxApi::HeaderAcceptLanguage::, # HeaderAcceptLanguage |
s_filter: 's_filter_example' # String |
}
begin
# Retrieve User list
result = api_instance.user_get_list_v1(opts)
p result
rescue EzmaxApi::ApiError => e
puts "Error when calling ObjectUserApi->user_get_list_v1: #{e}"
endThis returns an Array which contains the response data, status code and headers.
<Array(, Integer, Hash)> user_get_list_v1_with_http_info(opts)
begin
# Retrieve User list
data, status_code, headers = api_instance.user_get_list_v1_with_http_info(opts)
p status_code # => 2xx
p headers # => { ... }
p data # => <UserGetListV1Response>
rescue EzmaxApi::ApiError => e
puts "Error when calling ObjectUserApi->user_get_list_v1_with_http_info: #{e}"
end| Name | Type | Description | Notes |
|---|---|---|---|
| e_order_by | String | Specify how you want the results to be sorted | [optional] |
| i_row_max | Integer | [optional] | |
| i_row_offset | Integer | [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
user_get_object_v2(pki_user_id)
Retrieve an existing User
require 'time'
require 'Ezmaxapi'
# setup authorization
EzmaxApi.configure do |config|
# Configure API key authorization: Authorization
config.api_key['Authorization'] = 'YOUR API KEY'
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
# config.api_key_prefix['Authorization'] = 'Bearer'
end
api_instance = EzmaxApi::ObjectUserApi.new
pki_user_id = 56 # Integer | The unique ID of the User
begin
# Retrieve an existing User
result = api_instance.user_get_object_v2(pki_user_id)
p result
rescue EzmaxApi::ApiError => e
puts "Error when calling ObjectUserApi->user_get_object_v2: #{e}"
endThis returns an Array which contains the response data, status code and headers.
<Array(, Integer, Hash)> user_get_object_v2_with_http_info(pki_user_id)
begin
# Retrieve an existing User
data, status_code, headers = api_instance.user_get_object_v2_with_http_info(pki_user_id)
p status_code # => 2xx
p headers # => { ... }
p data # => <UserGetObjectV2Response>
rescue EzmaxApi::ApiError => e
puts "Error when calling ObjectUserApi->user_get_object_v2_with_http_info: #{e}"
end| Name | Type | Description | Notes |
|---|---|---|---|
| pki_user_id | Integer | The unique ID of the User |
- Content-Type: Not defined
- Accept: application/json
user_get_permissions_v1(pki_user_id)
Retrieve an existing User's Permissions
require 'time'
require 'Ezmaxapi'
# setup authorization
EzmaxApi.configure do |config|
# Configure API key authorization: Authorization
config.api_key['Authorization'] = 'YOUR API KEY'
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
# config.api_key_prefix['Authorization'] = 'Bearer'
end
api_instance = EzmaxApi::ObjectUserApi.new
pki_user_id = 56 # Integer |
begin
# Retrieve an existing User's Permissions
result = api_instance.user_get_permissions_v1(pki_user_id)
p result
rescue EzmaxApi::ApiError => e
puts "Error when calling ObjectUserApi->user_get_permissions_v1: #{e}"
endThis returns an Array which contains the response data, status code and headers.
<Array(, Integer, Hash)> user_get_permissions_v1_with_http_info(pki_user_id)
begin
# Retrieve an existing User's Permissions
data, status_code, headers = api_instance.user_get_permissions_v1_with_http_info(pki_user_id)
p status_code # => 2xx
p headers # => { ... }
p data # => <UserGetPermissionsV1Response>
rescue EzmaxApi::ApiError => e
puts "Error when calling ObjectUserApi->user_get_permissions_v1_with_http_info: #{e}"
end| Name | Type | Description | Notes |
|---|---|---|---|
| pki_user_id | Integer |
- Content-Type: Not defined
- Accept: application/json
user_get_subnets_v1(pki_user_id)
Retrieve an existing User's Subnets
require 'time'
require 'Ezmaxapi'
# setup authorization
EzmaxApi.configure do |config|
# Configure API key authorization: Authorization
config.api_key['Authorization'] = 'YOUR API KEY'
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
# config.api_key_prefix['Authorization'] = 'Bearer'
end
api_instance = EzmaxApi::ObjectUserApi.new
pki_user_id = 56 # Integer |
begin
# Retrieve an existing User's Subnets
result = api_instance.user_get_subnets_v1(pki_user_id)
p result
rescue EzmaxApi::ApiError => e
puts "Error when calling ObjectUserApi->user_get_subnets_v1: #{e}"
endThis returns an Array which contains the response data, status code and headers.
<Array(, Integer, Hash)> user_get_subnets_v1_with_http_info(pki_user_id)
begin
# Retrieve an existing User's Subnets
data, status_code, headers = api_instance.user_get_subnets_v1_with_http_info(pki_user_id)
p status_code # => 2xx
p headers # => { ... }
p data # => <UserGetSubnetsV1Response>
rescue EzmaxApi::ApiError => e
puts "Error when calling ObjectUserApi->user_get_subnets_v1_with_http_info: #{e}"
end| Name | Type | Description | Notes |
|---|---|---|---|
| pki_user_id | Integer |
- Content-Type: Not defined
- Accept: application/json
user_get_usergroupexternals_v1(pki_user_id)
Get User's Usergroupexternals
require 'time'
require 'Ezmaxapi'
# setup authorization
EzmaxApi.configure do |config|
# Configure API key authorization: Authorization
config.api_key['Authorization'] = 'YOUR API KEY'
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
# config.api_key_prefix['Authorization'] = 'Bearer'
end
api_instance = EzmaxApi::ObjectUserApi.new
pki_user_id = 56 # Integer |
begin
# Get User's Usergroupexternals
result = api_instance.user_get_usergroupexternals_v1(pki_user_id)
p result
rescue EzmaxApi::ApiError => e
puts "Error when calling ObjectUserApi->user_get_usergroupexternals_v1: #{e}"
endThis returns an Array which contains the response data, status code and headers.
<Array(, Integer, Hash)> user_get_usergroupexternals_v1_with_http_info(pki_user_id)
begin
# Get User's Usergroupexternals
data, status_code, headers = api_instance.user_get_usergroupexternals_v1_with_http_info(pki_user_id)
p status_code # => 2xx
p headers # => { ... }
p data # => <UserGetUsergroupexternalsV1Response>
rescue EzmaxApi::ApiError => e
puts "Error when calling ObjectUserApi->user_get_usergroupexternals_v1_with_http_info: #{e}"
end| Name | Type | Description | Notes |
|---|---|---|---|
| pki_user_id | Integer |
UserGetUsergroupexternalsV1Response
- Content-Type: Not defined
- Accept: application/json
user_get_usergroups_v1(pki_user_id)
Get User's Usergroups
require 'time'
require 'Ezmaxapi'
# setup authorization
EzmaxApi.configure do |config|
# Configure API key authorization: Authorization
config.api_key['Authorization'] = 'YOUR API KEY'
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
# config.api_key_prefix['Authorization'] = 'Bearer'
end
api_instance = EzmaxApi::ObjectUserApi.new
pki_user_id = 56 # Integer |
begin
# Get User's Usergroups
result = api_instance.user_get_usergroups_v1(pki_user_id)
p result
rescue EzmaxApi::ApiError => e
puts "Error when calling ObjectUserApi->user_get_usergroups_v1: #{e}"
endThis returns an Array which contains the response data, status code and headers.
<Array(, Integer, Hash)> user_get_usergroups_v1_with_http_info(pki_user_id)
begin
# Get User's Usergroups
data, status_code, headers = api_instance.user_get_usergroups_v1_with_http_info(pki_user_id)
p status_code # => 2xx
p headers # => { ... }
p data # => <UserGetUsergroupsV1Response>
rescue EzmaxApi::ApiError => e
puts "Error when calling ObjectUserApi->user_get_usergroups_v1_with_http_info: #{e}"
end| Name | Type | Description | Notes |
|---|---|---|---|
| pki_user_id | Integer |
- Content-Type: Not defined
- Accept: application/json
user_send_password_reset_v1(pki_user_id, body)
Send password reset
Send the password reset email
require 'time'
require 'Ezmaxapi'
# setup authorization
EzmaxApi.configure do |config|
# Configure API key authorization: Authorization
config.api_key['Authorization'] = 'YOUR API KEY'
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
# config.api_key_prefix['Authorization'] = 'Bearer'
end
api_instance = EzmaxApi::ObjectUserApi.new
pki_user_id = 56 # Integer |
body = { ... } # Object |
begin
# Send password reset
result = api_instance.user_send_password_reset_v1(pki_user_id, body)
p result
rescue EzmaxApi::ApiError => e
puts "Error when calling ObjectUserApi->user_send_password_reset_v1: #{e}"
endThis returns an Array which contains the response data, status code and headers.
<Array(, Integer, Hash)> user_send_password_reset_v1_with_http_info(pki_user_id, body)
begin
# Send password reset
data, status_code, headers = api_instance.user_send_password_reset_v1_with_http_info(pki_user_id, body)
p status_code # => 2xx
p headers # => { ... }
p data # => <UserSendPasswordResetV1Response>
rescue EzmaxApi::ApiError => e
puts "Error when calling ObjectUserApi->user_send_password_reset_v1_with_http_info: #{e}"
end| Name | Type | Description | Notes |
|---|---|---|---|
| pki_user_id | Integer | ||
| body | Object |
UserSendPasswordResetV1Response
- Content-Type: application/json
- Accept: application/json