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 |
UserCreateObjectV1Response user_create_object_v1(user_create_object_v1_request)
Create a new User
The endpoint allows to create one or many elements at once.
- Api Key Authentication (Authorization):
import eZmaxApi
from eZmaxApi.models.user_create_object_v1_request import UserCreateObjectV1Request
from eZmaxApi.models.user_create_object_v1_response import UserCreateObjectV1Response
from eZmaxApi.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest
# See configuration.py for a list of all supported configuration parameters.
configuration = eZmaxApi.Configuration(
host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure API key authorization: Authorization
configuration.api_key['Authorization'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Authorization'] = 'Bearer'
# Enter a context with an instance of the API client
with eZmaxApi.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = eZmaxApi.ObjectUserApi(api_client)
user_create_object_v1_request = eZmaxApi.UserCreateObjectV1Request() # UserCreateObjectV1Request |
try:
# Create a new User
api_response = api_instance.user_create_object_v1(user_create_object_v1_request)
print("The response of ObjectUserApi->user_create_object_v1:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling ObjectUserApi->user_create_object_v1: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
user_create_object_v1_request | UserCreateObjectV1Request |
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
201 | Successful response | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
UserCreateObjectV2Response user_create_object_v2(user_create_object_v2_request)
Create a new User
The endpoint allows to create one or many elements at once.
- Api Key Authentication (Authorization):
import eZmaxApi
from eZmaxApi.models.user_create_object_v2_request import UserCreateObjectV2Request
from eZmaxApi.models.user_create_object_v2_response import UserCreateObjectV2Response
from eZmaxApi.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest
# See configuration.py for a list of all supported configuration parameters.
configuration = eZmaxApi.Configuration(
host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure API key authorization: Authorization
configuration.api_key['Authorization'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Authorization'] = 'Bearer'
# Enter a context with an instance of the API client
with eZmaxApi.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = eZmaxApi.ObjectUserApi(api_client)
user_create_object_v2_request = eZmaxApi.UserCreateObjectV2Request() # UserCreateObjectV2Request |
try:
# Create a new User
api_response = api_instance.user_create_object_v2(user_create_object_v2_request)
print("The response of ObjectUserApi->user_create_object_v2:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling ObjectUserApi->user_create_object_v2: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
user_create_object_v2_request | UserCreateObjectV2Request |
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
201 | Successful response | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
UserEditColleaguesV2Response 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.
- Api Key Authentication (Authorization):
import eZmaxApi
from eZmaxApi.models.user_edit_colleagues_v2_request import UserEditColleaguesV2Request
from eZmaxApi.models.user_edit_colleagues_v2_response import UserEditColleaguesV2Response
from eZmaxApi.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest
# See configuration.py for a list of all supported configuration parameters.
configuration = eZmaxApi.Configuration(
host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure API key authorization: Authorization
configuration.api_key['Authorization'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Authorization'] = 'Bearer'
# Enter a context with an instance of the API client
with eZmaxApi.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = eZmaxApi.ObjectUserApi(api_client)
pki_user_id = 56 # int |
user_edit_colleagues_v2_request = eZmaxApi.UserEditColleaguesV2Request() # UserEditColleaguesV2Request |
try:
# Edit multiple Colleagues
api_response = api_instance.user_edit_colleagues_v2(pki_user_id, user_edit_colleagues_v2_request)
print("The response of ObjectUserApi->user_edit_colleagues_v2:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling ObjectUserApi->user_edit_colleagues_v2: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
pki_user_id | int | ||
user_edit_colleagues_v2_request | UserEditColleaguesV2Request |
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Successful response | - |
404 | The request failed. The element on which you were trying to work does not exists. Look for detail about the error in the body | - |
422 | The request was syntactically valid but failed because of an interdependance condition. Look for detail about the error in the body | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
UserEditObjectV1Response user_edit_object_v1(pki_user_id, user_edit_object_v1_request)
Edit an existing User
- Api Key Authentication (Authorization):
import eZmaxApi
from eZmaxApi.models.user_edit_object_v1_request import UserEditObjectV1Request
from eZmaxApi.models.user_edit_object_v1_response import UserEditObjectV1Response
from eZmaxApi.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest
# See configuration.py for a list of all supported configuration parameters.
configuration = eZmaxApi.Configuration(
host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure API key authorization: Authorization
configuration.api_key['Authorization'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Authorization'] = 'Bearer'
# Enter a context with an instance of the API client
with eZmaxApi.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = eZmaxApi.ObjectUserApi(api_client)
pki_user_id = 56 # int | The unique ID of the User
user_edit_object_v1_request = eZmaxApi.UserEditObjectV1Request() # UserEditObjectV1Request |
try:
# Edit an existing User
api_response = api_instance.user_edit_object_v1(pki_user_id, user_edit_object_v1_request)
print("The response of ObjectUserApi->user_edit_object_v1:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling ObjectUserApi->user_edit_object_v1: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
pki_user_id | int | The unique ID of the User | |
user_edit_object_v1_request | UserEditObjectV1Request |
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Successful response | - |
404 | The request failed. The element on which you were trying to work does not exists. Look for detail about the error in the body | - |
422 | The request was syntactically valid but failed because of an interdependance condition. Look for detail about the error in the body | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
UserEditPermissionsV1Response 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.
- Api Key Authentication (Authorization):
import eZmaxApi
from eZmaxApi.models.user_edit_permissions_v1_request import UserEditPermissionsV1Request
from eZmaxApi.models.user_edit_permissions_v1_response import UserEditPermissionsV1Response
from eZmaxApi.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest
# See configuration.py for a list of all supported configuration parameters.
configuration = eZmaxApi.Configuration(
host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure API key authorization: Authorization
configuration.api_key['Authorization'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Authorization'] = 'Bearer'
# Enter a context with an instance of the API client
with eZmaxApi.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = eZmaxApi.ObjectUserApi(api_client)
pki_user_id = 56 # int |
user_edit_permissions_v1_request = eZmaxApi.UserEditPermissionsV1Request() # UserEditPermissionsV1Request |
try:
# Edit multiple Permissions
api_response = api_instance.user_edit_permissions_v1(pki_user_id, user_edit_permissions_v1_request)
print("The response of ObjectUserApi->user_edit_permissions_v1:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling ObjectUserApi->user_edit_permissions_v1: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
pki_user_id | int | ||
user_edit_permissions_v1_request | UserEditPermissionsV1Request |
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Successful response | - |
404 | The request failed. The element on which you were trying to work does not exists. Look for detail about the error in the body | - |
422 | The request was syntactically valid but failed because of an interdependance condition. Look for detail about the error in the body | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
UserGetApikeysV1Response user_get_apikeys_v1(pki_user_id)
Retrieve an existing User's Apikeys
- Api Key Authentication (Authorization):
import eZmaxApi
from eZmaxApi.models.user_get_apikeys_v1_response import UserGetApikeysV1Response
from eZmaxApi.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest
# See configuration.py for a list of all supported configuration parameters.
configuration = eZmaxApi.Configuration(
host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure API key authorization: Authorization
configuration.api_key['Authorization'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Authorization'] = 'Bearer'
# Enter a context with an instance of the API client
with eZmaxApi.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = eZmaxApi.ObjectUserApi(api_client)
pki_user_id = 56 # int |
try:
# Retrieve an existing User's Apikeys
api_response = api_instance.user_get_apikeys_v1(pki_user_id)
print("The response of ObjectUserApi->user_get_apikeys_v1:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling ObjectUserApi->user_get_apikeys_v1: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
pki_user_id | int |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Successful response | - |
404 | The request failed. The element on which you were trying to work does not exists. Look for detail about the error in the body | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
UserGetAutocompleteV2Response user_get_autocomplete_v2(s_selector, e_filter_active=e_filter_active, s_query=s_query, accept_language=accept_language)
Retrieve Users and IDs
Get the list of User to be used in a dropdown or autocomplete control.
- Api Key Authentication (Authorization):
import eZmaxApi
from eZmaxApi.models.header_accept_language import HeaderAcceptLanguage
from eZmaxApi.models.user_get_autocomplete_v2_response import UserGetAutocompleteV2Response
from eZmaxApi.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest
# See configuration.py for a list of all supported configuration parameters.
configuration = eZmaxApi.Configuration(
host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure API key authorization: Authorization
configuration.api_key['Authorization'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Authorization'] = 'Bearer'
# Enter a context with an instance of the API client
with eZmaxApi.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = eZmaxApi.ObjectUserApi(api_client)
s_selector = 's_selector_example' # str | The type of Users to return
e_filter_active = Active # str | Specify which results we want to display. (optional) (default to Active)
s_query = 's_query_example' # str | Allow to filter the returned results (optional)
accept_language = eZmaxApi.HeaderAcceptLanguage() # HeaderAcceptLanguage | (optional)
try:
# Retrieve Users and IDs
api_response = api_instance.user_get_autocomplete_v2(s_selector, e_filter_active=e_filter_active, s_query=s_query, accept_language=accept_language)
print("The response of ObjectUserApi->user_get_autocomplete_v2:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling ObjectUserApi->user_get_autocomplete_v2: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
s_selector | str | The type of Users to return | |
e_filter_active | str | Specify which results we want to display. | [optional] [default to Active] |
s_query | str | Allow to filter the returned results | [optional] |
accept_language | HeaderAcceptLanguage | [optional] |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Successful response | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
UserGetColleaguesV2Response user_get_colleagues_v2(pki_user_id)
Retrieve an existing User's Colleagues
- Api Key Authentication (Authorization):
import eZmaxApi
from eZmaxApi.models.user_get_colleagues_v2_response import UserGetColleaguesV2Response
from eZmaxApi.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest
# See configuration.py for a list of all supported configuration parameters.
configuration = eZmaxApi.Configuration(
host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure API key authorization: Authorization
configuration.api_key['Authorization'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Authorization'] = 'Bearer'
# Enter a context with an instance of the API client
with eZmaxApi.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = eZmaxApi.ObjectUserApi(api_client)
pki_user_id = 56 # int |
try:
# Retrieve an existing User's Colleagues
api_response = api_instance.user_get_colleagues_v2(pki_user_id)
print("The response of ObjectUserApi->user_get_colleagues_v2:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling ObjectUserApi->user_get_colleagues_v2: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
pki_user_id | int |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Successful response | - |
404 | The request failed. The element on which you were trying to work does not exists. Look for detail about the error in the body | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
UserGetEffectivePermissionsV1Response 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.
- Api Key Authentication (Authorization):
import eZmaxApi
from eZmaxApi.models.user_get_effective_permissions_v1_response import UserGetEffectivePermissionsV1Response
from eZmaxApi.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest
# See configuration.py for a list of all supported configuration parameters.
configuration = eZmaxApi.Configuration(
host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure API key authorization: Authorization
configuration.api_key['Authorization'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Authorization'] = 'Bearer'
# Enter a context with an instance of the API client
with eZmaxApi.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = eZmaxApi.ObjectUserApi(api_client)
pki_user_id = 56 # int |
try:
# Retrieve an existing User's Effective Permissions
api_response = api_instance.user_get_effective_permissions_v1(pki_user_id)
print("The response of ObjectUserApi->user_get_effective_permissions_v1:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling ObjectUserApi->user_get_effective_permissions_v1: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
pki_user_id | int |
UserGetEffectivePermissionsV1Response
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Successful response | - |
404 | The request failed. The element on which you were trying to work does not exists. Look for detail about the error in the body | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
UserGetListV1Response user_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 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 |
- Api Key Authentication (Authorization):
import eZmaxApi
from eZmaxApi.models.header_accept_language import HeaderAcceptLanguage
from eZmaxApi.models.user_get_list_v1_response import UserGetListV1Response
from eZmaxApi.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest
# See configuration.py for a list of all supported configuration parameters.
configuration = eZmaxApi.Configuration(
host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure API key authorization: Authorization
configuration.api_key['Authorization'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Authorization'] = 'Bearer'
# Enter a context with an instance of the API client
with eZmaxApi.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = eZmaxApi.ObjectUserApi(api_client)
e_order_by = 'e_order_by_example' # str | Specify how you want the results to be sorted (optional)
i_row_max = 56 # int | (optional)
i_row_offset = 0 # int | (optional) (default to 0)
accept_language = eZmaxApi.HeaderAcceptLanguage() # HeaderAcceptLanguage | (optional)
s_filter = 's_filter_example' # str | (optional)
try:
# Retrieve User list
api_response = api_instance.user_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("The response of ObjectUserApi->user_get_list_v1:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling ObjectUserApi->user_get_list_v1: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
e_order_by | str | 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 | str | [optional] |
- Content-Type: Not defined
- Accept: application/json, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
Status code | Description | Response headers |
---|---|---|
200 | Successful response | - |
406 | The URL is valid, but one of the Accept header is not defined or invalid. For example, you set the header "Accept: application/json" but the function can only return "Content-type: image/png" | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
UserGetObjectV2Response user_get_object_v2(pki_user_id)
Retrieve an existing User
- Api Key Authentication (Authorization):
import eZmaxApi
from eZmaxApi.models.user_get_object_v2_response import UserGetObjectV2Response
from eZmaxApi.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest
# See configuration.py for a list of all supported configuration parameters.
configuration = eZmaxApi.Configuration(
host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure API key authorization: Authorization
configuration.api_key['Authorization'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Authorization'] = 'Bearer'
# Enter a context with an instance of the API client
with eZmaxApi.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = eZmaxApi.ObjectUserApi(api_client)
pki_user_id = 56 # int | The unique ID of the User
try:
# Retrieve an existing User
api_response = api_instance.user_get_object_v2(pki_user_id)
print("The response of ObjectUserApi->user_get_object_v2:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling ObjectUserApi->user_get_object_v2: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
pki_user_id | int | The unique ID of the User |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Successful response | - |
404 | The request failed. The element on which you were trying to work does not exists. Look for detail about the error in the body | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
UserGetPermissionsV1Response user_get_permissions_v1(pki_user_id)
Retrieve an existing User's Permissions
- Api Key Authentication (Authorization):
import eZmaxApi
from eZmaxApi.models.user_get_permissions_v1_response import UserGetPermissionsV1Response
from eZmaxApi.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest
# See configuration.py for a list of all supported configuration parameters.
configuration = eZmaxApi.Configuration(
host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure API key authorization: Authorization
configuration.api_key['Authorization'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Authorization'] = 'Bearer'
# Enter a context with an instance of the API client
with eZmaxApi.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = eZmaxApi.ObjectUserApi(api_client)
pki_user_id = 56 # int |
try:
# Retrieve an existing User's Permissions
api_response = api_instance.user_get_permissions_v1(pki_user_id)
print("The response of ObjectUserApi->user_get_permissions_v1:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling ObjectUserApi->user_get_permissions_v1: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
pki_user_id | int |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Successful response | - |
404 | The request failed. The element on which you were trying to work does not exists. Look for detail about the error in the body | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
UserGetSubnetsV1Response user_get_subnets_v1(pki_user_id)
Retrieve an existing User's Subnets
- Api Key Authentication (Authorization):
import eZmaxApi
from eZmaxApi.models.user_get_subnets_v1_response import UserGetSubnetsV1Response
from eZmaxApi.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest
# See configuration.py for a list of all supported configuration parameters.
configuration = eZmaxApi.Configuration(
host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure API key authorization: Authorization
configuration.api_key['Authorization'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Authorization'] = 'Bearer'
# Enter a context with an instance of the API client
with eZmaxApi.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = eZmaxApi.ObjectUserApi(api_client)
pki_user_id = 56 # int |
try:
# Retrieve an existing User's Subnets
api_response = api_instance.user_get_subnets_v1(pki_user_id)
print("The response of ObjectUserApi->user_get_subnets_v1:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling ObjectUserApi->user_get_subnets_v1: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
pki_user_id | int |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Successful response | - |
404 | The request failed. The element on which you were trying to work does not exists. Look for detail about the error in the body | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
UserGetUsergroupexternalsV1Response user_get_usergroupexternals_v1(pki_user_id)
Get User's Usergroupexternals
- Api Key Authentication (Authorization):
import eZmaxApi
from eZmaxApi.models.user_get_usergroupexternals_v1_response import UserGetUsergroupexternalsV1Response
from eZmaxApi.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest
# See configuration.py for a list of all supported configuration parameters.
configuration = eZmaxApi.Configuration(
host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure API key authorization: Authorization
configuration.api_key['Authorization'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Authorization'] = 'Bearer'
# Enter a context with an instance of the API client
with eZmaxApi.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = eZmaxApi.ObjectUserApi(api_client)
pki_user_id = 56 # int |
try:
# Get User's Usergroupexternals
api_response = api_instance.user_get_usergroupexternals_v1(pki_user_id)
print("The response of ObjectUserApi->user_get_usergroupexternals_v1:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling ObjectUserApi->user_get_usergroupexternals_v1: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
pki_user_id | int |
UserGetUsergroupexternalsV1Response
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Successful response | - |
404 | The request failed. The element on which you were trying to work does not exists. Look for detail about the error in the body | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
UserGetUsergroupsV1Response user_get_usergroups_v1(pki_user_id)
Get User's Usergroups
- Api Key Authentication (Authorization):
import eZmaxApi
from eZmaxApi.models.user_get_usergroups_v1_response import UserGetUsergroupsV1Response
from eZmaxApi.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest
# See configuration.py for a list of all supported configuration parameters.
configuration = eZmaxApi.Configuration(
host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure API key authorization: Authorization
configuration.api_key['Authorization'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Authorization'] = 'Bearer'
# Enter a context with an instance of the API client
with eZmaxApi.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = eZmaxApi.ObjectUserApi(api_client)
pki_user_id = 56 # int |
try:
# Get User's Usergroups
api_response = api_instance.user_get_usergroups_v1(pki_user_id)
print("The response of ObjectUserApi->user_get_usergroups_v1:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling ObjectUserApi->user_get_usergroups_v1: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
pki_user_id | int |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Successful response | - |
404 | The request failed. The element on which you were trying to work does not exists. Look for detail about the error in the body | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
UserSendPasswordResetV1Response user_send_password_reset_v1(pki_user_id, body)
Send password reset
Send the password reset email
- Api Key Authentication (Authorization):
import eZmaxApi
from eZmaxApi.models.user_send_password_reset_v1_response import UserSendPasswordResetV1Response
from eZmaxApi.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest
# See configuration.py for a list of all supported configuration parameters.
configuration = eZmaxApi.Configuration(
host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure API key authorization: Authorization
configuration.api_key['Authorization'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Authorization'] = 'Bearer'
# Enter a context with an instance of the API client
with eZmaxApi.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = eZmaxApi.ObjectUserApi(api_client)
pki_user_id = 56 # int |
body = None # object |
try:
# Send password reset
api_response = api_instance.user_send_password_reset_v1(pki_user_id, body)
print("The response of ObjectUserApi->user_send_password_reset_v1:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling ObjectUserApi->user_send_password_reset_v1: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
pki_user_id | int | ||
body | object |
UserSendPasswordResetV1Response
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Successful response | - |
404 | The request failed. The element on which you were trying to work does not exists. Look for detail about the error in the body | - |
422 | The request was syntactically valid but failed because of an interdependance condition. Look for detail about the error in the body | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]