All URIs are relative to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest
Method | HTTP request | Description |
---|---|---|
UserCreateObjectV1 | POST /1/object/user | Create a new User |
UserCreateObjectV2 | POST /2/object/user | Create a new User |
UserEditObjectV1 | PUT /1/object/user/{pkiUserID} | Edit an existing User |
UserEditPermissionsV1 | PUT /1/object/user/{pkiUserID}/editPermissions | Edit multiple Permissions |
UserGetApikeysV1 | GET /1/object/user/{pkiUserID}/getApikeys | Retrieve an existing User's Apikeys |
UserGetAutocompleteV2 | GET /2/object/user/getAutocomplete/{sSelector} | Retrieve Users and IDs |
UserGetEffectivePermissionsV1 | GET /1/object/user/{pkiUserID}/getEffectivePermissions | Retrieve an existing User's Effective Permissions |
UserGetListV1 | GET /1/object/user/getList | Retrieve User list |
UserGetObjectV2 | GET /2/object/user/{pkiUserID} | Retrieve an existing User |
UserGetPermissionsV1 | GET /1/object/user/{pkiUserID}/getPermissions | Retrieve an existing User's Permissions |
UserGetSubnetsV1 | GET /1/object/user/{pkiUserID}/getSubnets | Retrieve an existing User's Subnets |
UserGetUsergroupexternalsV1 | GET /1/object/user/{pkiUserID}/getUsergroupexternals | Get User's Usergroupexternals |
UserGetUsergroupsV1 | GET /1/object/user/{pkiUserID}/getUsergroups | Get User's Usergroups |
UserSendPasswordResetV1 | POST /1/object/user/{pkiUserID}/sendPasswordReset | Send password reset |
UserCreateObjectV1Response UserCreateObjectV1 (UserCreateObjectV1Request userCreateObjectV1Request)
Create a new User
The endpoint allows to create one or many elements at once.
using System.Collections.Generic;
using System.Diagnostics;
using eZmaxApi.Api;
using eZmaxApi.Client;
using eZmaxApi.Model;
namespace Example
{
public class UserCreateObjectV1Example
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest";
// Configure API key authorization: Authorization
config.AddApiKey("Authorization", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// config.AddApiKeyPrefix("Authorization", "Bearer");
var apiInstance = new ObjectUserApi(config);
var userCreateObjectV1Request = new UserCreateObjectV1Request(); // UserCreateObjectV1Request |
try
{
// Create a new User
UserCreateObjectV1Response result = apiInstance.UserCreateObjectV1(userCreateObjectV1Request);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling ObjectUserApi.UserCreateObjectV1: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
This returns an ApiResponse object which contains the response data, status code and headers.
try
{
// Create a new User
ApiResponse<UserCreateObjectV1Response> response = apiInstance.UserCreateObjectV1WithHttpInfo(userCreateObjectV1Request);
Debug.Write("Status Code: " + response.StatusCode);
Debug.Write("Response Headers: " + response.Headers);
Debug.Write("Response Body: " + response.Data);
}
catch (ApiException e)
{
Debug.Print("Exception when calling ObjectUserApi.UserCreateObjectV1WithHttpInfo: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
Name | Type | Description | Notes |
---|---|---|---|
userCreateObjectV1Request | 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 UserCreateObjectV2 (UserCreateObjectV2Request userCreateObjectV2Request)
Create a new User
The endpoint allows to create one or many elements at once.
using System.Collections.Generic;
using System.Diagnostics;
using eZmaxApi.Api;
using eZmaxApi.Client;
using eZmaxApi.Model;
namespace Example
{
public class UserCreateObjectV2Example
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest";
// Configure API key authorization: Authorization
config.AddApiKey("Authorization", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// config.AddApiKeyPrefix("Authorization", "Bearer");
var apiInstance = new ObjectUserApi(config);
var userCreateObjectV2Request = new UserCreateObjectV2Request(); // UserCreateObjectV2Request |
try
{
// Create a new User
UserCreateObjectV2Response result = apiInstance.UserCreateObjectV2(userCreateObjectV2Request);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling ObjectUserApi.UserCreateObjectV2: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
This returns an ApiResponse object which contains the response data, status code and headers.
try
{
// Create a new User
ApiResponse<UserCreateObjectV2Response> response = apiInstance.UserCreateObjectV2WithHttpInfo(userCreateObjectV2Request);
Debug.Write("Status Code: " + response.StatusCode);
Debug.Write("Response Headers: " + response.Headers);
Debug.Write("Response Body: " + response.Data);
}
catch (ApiException e)
{
Debug.Print("Exception when calling ObjectUserApi.UserCreateObjectV2WithHttpInfo: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
Name | Type | Description | Notes |
---|---|---|---|
userCreateObjectV2Request | 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]
UserEditObjectV1Response UserEditObjectV1 (int pkiUserID, UserEditObjectV1Request userEditObjectV1Request)
Edit an existing User
using System.Collections.Generic;
using System.Diagnostics;
using eZmaxApi.Api;
using eZmaxApi.Client;
using eZmaxApi.Model;
namespace Example
{
public class UserEditObjectV1Example
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest";
// Configure API key authorization: Authorization
config.AddApiKey("Authorization", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// config.AddApiKeyPrefix("Authorization", "Bearer");
var apiInstance = new ObjectUserApi(config);
var pkiUserID = 56; // int | The unique ID of the User
var userEditObjectV1Request = new UserEditObjectV1Request(); // UserEditObjectV1Request |
try
{
// Edit an existing User
UserEditObjectV1Response result = apiInstance.UserEditObjectV1(pkiUserID, userEditObjectV1Request);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling ObjectUserApi.UserEditObjectV1: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
This returns an ApiResponse object which contains the response data, status code and headers.
try
{
// Edit an existing User
ApiResponse<UserEditObjectV1Response> response = apiInstance.UserEditObjectV1WithHttpInfo(pkiUserID, userEditObjectV1Request);
Debug.Write("Status Code: " + response.StatusCode);
Debug.Write("Response Headers: " + response.Headers);
Debug.Write("Response Body: " + response.Data);
}
catch (ApiException e)
{
Debug.Print("Exception when calling ObjectUserApi.UserEditObjectV1WithHttpInfo: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
Name | Type | Description | Notes |
---|---|---|---|
pkiUserID | int | The unique ID of the User | |
userEditObjectV1Request | 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 UserEditPermissionsV1 (int pkiUserID, UserEditPermissionsV1Request userEditPermissionsV1Request)
Edit multiple Permissions
Using this endpoint, you can edit multiple Permissions at the same time.
using System.Collections.Generic;
using System.Diagnostics;
using eZmaxApi.Api;
using eZmaxApi.Client;
using eZmaxApi.Model;
namespace Example
{
public class UserEditPermissionsV1Example
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest";
// Configure API key authorization: Authorization
config.AddApiKey("Authorization", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// config.AddApiKeyPrefix("Authorization", "Bearer");
var apiInstance = new ObjectUserApi(config);
var pkiUserID = 56; // int |
var userEditPermissionsV1Request = new UserEditPermissionsV1Request(); // UserEditPermissionsV1Request |
try
{
// Edit multiple Permissions
UserEditPermissionsV1Response result = apiInstance.UserEditPermissionsV1(pkiUserID, userEditPermissionsV1Request);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling ObjectUserApi.UserEditPermissionsV1: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
This returns an ApiResponse object which contains the response data, status code and headers.
try
{
// Edit multiple Permissions
ApiResponse<UserEditPermissionsV1Response> response = apiInstance.UserEditPermissionsV1WithHttpInfo(pkiUserID, userEditPermissionsV1Request);
Debug.Write("Status Code: " + response.StatusCode);
Debug.Write("Response Headers: " + response.Headers);
Debug.Write("Response Body: " + response.Data);
}
catch (ApiException e)
{
Debug.Print("Exception when calling ObjectUserApi.UserEditPermissionsV1WithHttpInfo: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
Name | Type | Description | Notes |
---|---|---|---|
pkiUserID | int | ||
userEditPermissionsV1Request | 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 UserGetApikeysV1 (int pkiUserID)
Retrieve an existing User's Apikeys
using System.Collections.Generic;
using System.Diagnostics;
using eZmaxApi.Api;
using eZmaxApi.Client;
using eZmaxApi.Model;
namespace Example
{
public class UserGetApikeysV1Example
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest";
// Configure API key authorization: Authorization
config.AddApiKey("Authorization", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// config.AddApiKeyPrefix("Authorization", "Bearer");
var apiInstance = new ObjectUserApi(config);
var pkiUserID = 56; // int |
try
{
// Retrieve an existing User's Apikeys
UserGetApikeysV1Response result = apiInstance.UserGetApikeysV1(pkiUserID);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling ObjectUserApi.UserGetApikeysV1: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
This returns an ApiResponse object which contains the response data, status code and headers.
try
{
// Retrieve an existing User's Apikeys
ApiResponse<UserGetApikeysV1Response> response = apiInstance.UserGetApikeysV1WithHttpInfo(pkiUserID);
Debug.Write("Status Code: " + response.StatusCode);
Debug.Write("Response Headers: " + response.Headers);
Debug.Write("Response Body: " + response.Data);
}
catch (ApiException e)
{
Debug.Print("Exception when calling ObjectUserApi.UserGetApikeysV1WithHttpInfo: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
Name | Type | Description | Notes |
---|---|---|---|
pkiUserID | 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 UserGetAutocompleteV2 (string sSelector, string? eFilterActive = null, string? sQuery = null, HeaderAcceptLanguage? acceptLanguage = null)
Retrieve Users and IDs
Get the list of User to be used in a dropdown or autocomplete control.
using System.Collections.Generic;
using System.Diagnostics;
using eZmaxApi.Api;
using eZmaxApi.Client;
using eZmaxApi.Model;
namespace Example
{
public class UserGetAutocompleteV2Example
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest";
// Configure API key authorization: Authorization
config.AddApiKey("Authorization", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// config.AddApiKeyPrefix("Authorization", "Bearer");
var apiInstance = new ObjectUserApi(config);
var sSelector = "AgentBrokerEmployeeEzsignUserNormal"; // string | The type of Users to return
var eFilterActive = "All"; // string? | Specify which results we want to display. (optional) (default to Active)
var sQuery = "sQuery_example"; // string? | Allow to filter the returned results (optional)
var acceptLanguage = new HeaderAcceptLanguage?(); // HeaderAcceptLanguage? | (optional)
try
{
// Retrieve Users and IDs
UserGetAutocompleteV2Response result = apiInstance.UserGetAutocompleteV2(sSelector, eFilterActive, sQuery, acceptLanguage);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling ObjectUserApi.UserGetAutocompleteV2: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
This returns an ApiResponse object which contains the response data, status code and headers.
try
{
// Retrieve Users and IDs
ApiResponse<UserGetAutocompleteV2Response> response = apiInstance.UserGetAutocompleteV2WithHttpInfo(sSelector, eFilterActive, sQuery, acceptLanguage);
Debug.Write("Status Code: " + response.StatusCode);
Debug.Write("Response Headers: " + response.Headers);
Debug.Write("Response Body: " + response.Data);
}
catch (ApiException e)
{
Debug.Print("Exception when calling ObjectUserApi.UserGetAutocompleteV2WithHttpInfo: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
Name | Type | Description | Notes |
---|---|---|---|
sSelector | string | The type of Users 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] |
- 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]
UserGetEffectivePermissionsV1Response UserGetEffectivePermissionsV1 (int pkiUserID)
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.
using System.Collections.Generic;
using System.Diagnostics;
using eZmaxApi.Api;
using eZmaxApi.Client;
using eZmaxApi.Model;
namespace Example
{
public class UserGetEffectivePermissionsV1Example
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest";
// Configure API key authorization: Authorization
config.AddApiKey("Authorization", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// config.AddApiKeyPrefix("Authorization", "Bearer");
var apiInstance = new ObjectUserApi(config);
var pkiUserID = 56; // int |
try
{
// Retrieve an existing User's Effective Permissions
UserGetEffectivePermissionsV1Response result = apiInstance.UserGetEffectivePermissionsV1(pkiUserID);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling ObjectUserApi.UserGetEffectivePermissionsV1: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
This returns an ApiResponse object which contains the response data, status code and headers.
try
{
// Retrieve an existing User's Effective Permissions
ApiResponse<UserGetEffectivePermissionsV1Response> response = apiInstance.UserGetEffectivePermissionsV1WithHttpInfo(pkiUserID);
Debug.Write("Status Code: " + response.StatusCode);
Debug.Write("Response Headers: " + response.Headers);
Debug.Write("Response Body: " + response.Data);
}
catch (ApiException e)
{
Debug.Print("Exception when calling ObjectUserApi.UserGetEffectivePermissionsV1WithHttpInfo: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
Name | Type | Description | Notes |
---|---|---|---|
pkiUserID | 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 UserGetListV1 (string? eOrderBy = null, int? iRowMax = null, int? iRowOffset = null, HeaderAcceptLanguage? acceptLanguage = null, string? sFilter = null)
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 |
using System.Collections.Generic;
using System.Diagnostics;
using eZmaxApi.Api;
using eZmaxApi.Client;
using eZmaxApi.Model;
namespace Example
{
public class UserGetListV1Example
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest";
// Configure API key authorization: Authorization
config.AddApiKey("Authorization", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// config.AddApiKeyPrefix("Authorization", "Bearer");
var apiInstance = new ObjectUserApi(config);
var eOrderBy = "pkiUserID_ASC"; // string? | Specify how you want the results to be sorted (optional)
var iRowMax = 56; // int? | (optional)
var iRowOffset = 0; // int? | (optional) (default to 0)
var acceptLanguage = new HeaderAcceptLanguage?(); // HeaderAcceptLanguage? | (optional)
var sFilter = "sFilter_example"; // string? | (optional)
try
{
// Retrieve User list
UserGetListV1Response result = apiInstance.UserGetListV1(eOrderBy, iRowMax, iRowOffset, acceptLanguage, sFilter);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling ObjectUserApi.UserGetListV1: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
This returns an ApiResponse object which contains the response data, status code and headers.
try
{
// Retrieve User list
ApiResponse<UserGetListV1Response> response = apiInstance.UserGetListV1WithHttpInfo(eOrderBy, iRowMax, iRowOffset, acceptLanguage, sFilter);
Debug.Write("Status Code: " + response.StatusCode);
Debug.Write("Response Headers: " + response.Headers);
Debug.Write("Response Body: " + response.Data);
}
catch (ApiException e)
{
Debug.Print("Exception when calling ObjectUserApi.UserGetListV1WithHttpInfo: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
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
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 UserGetObjectV2 (int pkiUserID)
Retrieve an existing User
using System.Collections.Generic;
using System.Diagnostics;
using eZmaxApi.Api;
using eZmaxApi.Client;
using eZmaxApi.Model;
namespace Example
{
public class UserGetObjectV2Example
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest";
// Configure API key authorization: Authorization
config.AddApiKey("Authorization", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// config.AddApiKeyPrefix("Authorization", "Bearer");
var apiInstance = new ObjectUserApi(config);
var pkiUserID = 56; // int | The unique ID of the User
try
{
// Retrieve an existing User
UserGetObjectV2Response result = apiInstance.UserGetObjectV2(pkiUserID);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling ObjectUserApi.UserGetObjectV2: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
This returns an ApiResponse object which contains the response data, status code and headers.
try
{
// Retrieve an existing User
ApiResponse<UserGetObjectV2Response> response = apiInstance.UserGetObjectV2WithHttpInfo(pkiUserID);
Debug.Write("Status Code: " + response.StatusCode);
Debug.Write("Response Headers: " + response.Headers);
Debug.Write("Response Body: " + response.Data);
}
catch (ApiException e)
{
Debug.Print("Exception when calling ObjectUserApi.UserGetObjectV2WithHttpInfo: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
Name | Type | Description | Notes |
---|---|---|---|
pkiUserID | 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 UserGetPermissionsV1 (int pkiUserID)
Retrieve an existing User's Permissions
using System.Collections.Generic;
using System.Diagnostics;
using eZmaxApi.Api;
using eZmaxApi.Client;
using eZmaxApi.Model;
namespace Example
{
public class UserGetPermissionsV1Example
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest";
// Configure API key authorization: Authorization
config.AddApiKey("Authorization", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// config.AddApiKeyPrefix("Authorization", "Bearer");
var apiInstance = new ObjectUserApi(config);
var pkiUserID = 56; // int |
try
{
// Retrieve an existing User's Permissions
UserGetPermissionsV1Response result = apiInstance.UserGetPermissionsV1(pkiUserID);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling ObjectUserApi.UserGetPermissionsV1: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
This returns an ApiResponse object which contains the response data, status code and headers.
try
{
// Retrieve an existing User's Permissions
ApiResponse<UserGetPermissionsV1Response> response = apiInstance.UserGetPermissionsV1WithHttpInfo(pkiUserID);
Debug.Write("Status Code: " + response.StatusCode);
Debug.Write("Response Headers: " + response.Headers);
Debug.Write("Response Body: " + response.Data);
}
catch (ApiException e)
{
Debug.Print("Exception when calling ObjectUserApi.UserGetPermissionsV1WithHttpInfo: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
Name | Type | Description | Notes |
---|---|---|---|
pkiUserID | 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 UserGetSubnetsV1 (int pkiUserID)
Retrieve an existing User's Subnets
using System.Collections.Generic;
using System.Diagnostics;
using eZmaxApi.Api;
using eZmaxApi.Client;
using eZmaxApi.Model;
namespace Example
{
public class UserGetSubnetsV1Example
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest";
// Configure API key authorization: Authorization
config.AddApiKey("Authorization", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// config.AddApiKeyPrefix("Authorization", "Bearer");
var apiInstance = new ObjectUserApi(config);
var pkiUserID = 56; // int |
try
{
// Retrieve an existing User's Subnets
UserGetSubnetsV1Response result = apiInstance.UserGetSubnetsV1(pkiUserID);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling ObjectUserApi.UserGetSubnetsV1: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
This returns an ApiResponse object which contains the response data, status code and headers.
try
{
// Retrieve an existing User's Subnets
ApiResponse<UserGetSubnetsV1Response> response = apiInstance.UserGetSubnetsV1WithHttpInfo(pkiUserID);
Debug.Write("Status Code: " + response.StatusCode);
Debug.Write("Response Headers: " + response.Headers);
Debug.Write("Response Body: " + response.Data);
}
catch (ApiException e)
{
Debug.Print("Exception when calling ObjectUserApi.UserGetSubnetsV1WithHttpInfo: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
Name | Type | Description | Notes |
---|---|---|---|
pkiUserID | 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 UserGetUsergroupexternalsV1 (int pkiUserID)
Get User's Usergroupexternals
using System.Collections.Generic;
using System.Diagnostics;
using eZmaxApi.Api;
using eZmaxApi.Client;
using eZmaxApi.Model;
namespace Example
{
public class UserGetUsergroupexternalsV1Example
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest";
// Configure API key authorization: Authorization
config.AddApiKey("Authorization", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// config.AddApiKeyPrefix("Authorization", "Bearer");
var apiInstance = new ObjectUserApi(config);
var pkiUserID = 56; // int |
try
{
// Get User's Usergroupexternals
UserGetUsergroupexternalsV1Response result = apiInstance.UserGetUsergroupexternalsV1(pkiUserID);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling ObjectUserApi.UserGetUsergroupexternalsV1: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
This returns an ApiResponse object which contains the response data, status code and headers.
try
{
// Get User's Usergroupexternals
ApiResponse<UserGetUsergroupexternalsV1Response> response = apiInstance.UserGetUsergroupexternalsV1WithHttpInfo(pkiUserID);
Debug.Write("Status Code: " + response.StatusCode);
Debug.Write("Response Headers: " + response.Headers);
Debug.Write("Response Body: " + response.Data);
}
catch (ApiException e)
{
Debug.Print("Exception when calling ObjectUserApi.UserGetUsergroupexternalsV1WithHttpInfo: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
Name | Type | Description | Notes |
---|---|---|---|
pkiUserID | 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 UserGetUsergroupsV1 (int pkiUserID)
Get User's Usergroups
using System.Collections.Generic;
using System.Diagnostics;
using eZmaxApi.Api;
using eZmaxApi.Client;
using eZmaxApi.Model;
namespace Example
{
public class UserGetUsergroupsV1Example
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest";
// Configure API key authorization: Authorization
config.AddApiKey("Authorization", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// config.AddApiKeyPrefix("Authorization", "Bearer");
var apiInstance = new ObjectUserApi(config);
var pkiUserID = 56; // int |
try
{
// Get User's Usergroups
UserGetUsergroupsV1Response result = apiInstance.UserGetUsergroupsV1(pkiUserID);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling ObjectUserApi.UserGetUsergroupsV1: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
This returns an ApiResponse object which contains the response data, status code and headers.
try
{
// Get User's Usergroups
ApiResponse<UserGetUsergroupsV1Response> response = apiInstance.UserGetUsergroupsV1WithHttpInfo(pkiUserID);
Debug.Write("Status Code: " + response.StatusCode);
Debug.Write("Response Headers: " + response.Headers);
Debug.Write("Response Body: " + response.Data);
}
catch (ApiException e)
{
Debug.Print("Exception when calling ObjectUserApi.UserGetUsergroupsV1WithHttpInfo: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
Name | Type | Description | Notes |
---|---|---|---|
pkiUserID | 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 UserSendPasswordResetV1 (int pkiUserID, Object body)
Send password reset
Send the password reset email
using System.Collections.Generic;
using System.Diagnostics;
using eZmaxApi.Api;
using eZmaxApi.Client;
using eZmaxApi.Model;
namespace Example
{
public class UserSendPasswordResetV1Example
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest";
// Configure API key authorization: Authorization
config.AddApiKey("Authorization", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// config.AddApiKeyPrefix("Authorization", "Bearer");
var apiInstance = new ObjectUserApi(config);
var pkiUserID = 56; // int |
var body = null; // Object |
try
{
// Send password reset
UserSendPasswordResetV1Response result = apiInstance.UserSendPasswordResetV1(pkiUserID, body);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling ObjectUserApi.UserSendPasswordResetV1: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
This returns an ApiResponse object which contains the response data, status code and headers.
try
{
// Send password reset
ApiResponse<UserSendPasswordResetV1Response> response = apiInstance.UserSendPasswordResetV1WithHttpInfo(pkiUserID, body);
Debug.Write("Status Code: " + response.StatusCode);
Debug.Write("Response Headers: " + response.Headers);
Debug.Write("Response Body: " + response.Data);
}
catch (ApiException e)
{
Debug.Print("Exception when calling ObjectUserApi.UserSendPasswordResetV1WithHttpInfo: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
Name | Type | Description | Notes |
---|---|---|---|
pkiUserID | 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]