public class MandatorAdministrationApi extends Object
| Constructor and Description |
|---|
MandatorAdministrationApi() |
MandatorAdministrationApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
void |
changeClientCredentials(ChangeClientCredentialsParams body)
Change client credentials
Change the client_secret for any of your clients, including the mandator admin client.
|
com.squareup.okhttp.Call |
changeClientCredentialsAsync(ChangeClientCredentialsParams body,
ApiCallback<Void> callback)
Change client credentials (asynchronously)
Change the client_secret for any of your clients, including the mandator admin client.
|
com.squareup.okhttp.Call |
changeClientCredentialsCall(ChangeClientCredentialsParams body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for changeClientCredentials
|
ApiResponse<Void> |
changeClientCredentialsWithHttpInfo(ChangeClientCredentialsParams body)
Change client credentials
Change the client_secret for any of your clients, including the mandator admin client.
|
UserIdentifiersList |
deleteUsers(UserIdentifiersParams body)
Delete users
Delete one or several users, which are specified by a given list of identifiers.
|
com.squareup.okhttp.Call |
deleteUsersAsync(UserIdentifiersParams body,
ApiCallback<UserIdentifiersList> callback)
Delete users (asynchronously)
Delete one or several users, which are specified by a given list of identifiers.
|
com.squareup.okhttp.Call |
deleteUsersCall(UserIdentifiersParams body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for deleteUsers
|
ApiResponse<UserIdentifiersList> |
deleteUsersWithHttpInfo(UserIdentifiersParams body)
Delete users
Delete one or several users, which are specified by a given list of identifiers.
|
ApiClient |
getApiClient() |
PageableUserInfoList |
getUserList(String minRegistrationDate,
String maxRegistrationDate,
String minDeletionDate,
String maxDeletionDate,
String minLastActiveDate,
String maxLastActiveDate,
Boolean includeMonthlyStats,
String monthlyStatsStartDate,
String monthlyStatsEndDate,
Boolean isDeleted,
Integer page,
Integer perPage,
List<String> order)
Get user list
<p>Get a list of the users of the mandator that is authorized by the access_token.
|
com.squareup.okhttp.Call |
getUserListAsync(String minRegistrationDate,
String maxRegistrationDate,
String minDeletionDate,
String maxDeletionDate,
String minLastActiveDate,
String maxLastActiveDate,
Boolean includeMonthlyStats,
String monthlyStatsStartDate,
String monthlyStatsEndDate,
Boolean isDeleted,
Integer page,
Integer perPage,
List<String> order,
ApiCallback<PageableUserInfoList> callback)
Get user list (asynchronously)
<p>Get a list of the users of the mandator that is authorized by the access_token.
|
com.squareup.okhttp.Call |
getUserListCall(String minRegistrationDate,
String maxRegistrationDate,
String minDeletionDate,
String maxDeletionDate,
String minLastActiveDate,
String maxLastActiveDate,
Boolean includeMonthlyStats,
String monthlyStatsStartDate,
String monthlyStatsEndDate,
Boolean isDeleted,
Integer page,
Integer perPage,
List<String> order,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getUserList
|
ApiResponse<PageableUserInfoList> |
getUserListWithHttpInfo(String minRegistrationDate,
String maxRegistrationDate,
String minDeletionDate,
String maxDeletionDate,
String minLastActiveDate,
String maxLastActiveDate,
Boolean includeMonthlyStats,
String monthlyStatsStartDate,
String monthlyStatsEndDate,
Boolean isDeleted,
Integer page,
Integer perPage,
List<String> order)
Get user list
<p>Get a list of the users of the mandator that is authorized by the access_token.
|
void |
setApiClient(ApiClient apiClient) |
public MandatorAdministrationApi()
public MandatorAdministrationApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call changeClientCredentialsCall(ChangeClientCredentialsParams body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
body - Parameters for changing client credentials (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void changeClientCredentials(ChangeClientCredentialsParams body) throws ApiException
body - Parameters for changing client credentials (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> changeClientCredentialsWithHttpInfo(ChangeClientCredentialsParams body) throws ApiException
body - Parameters for changing client credentials (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call changeClientCredentialsAsync(ChangeClientCredentialsParams body, ApiCallback<Void> callback) throws ApiException
body - Parameters for changing client credentials (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call deleteUsersCall(UserIdentifiersParams body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
body - List of user identifiers (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic UserIdentifiersList deleteUsers(UserIdentifiersParams body) throws ApiException
body - List of user identifiers (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<UserIdentifiersList> deleteUsersWithHttpInfo(UserIdentifiersParams body) throws ApiException
body - List of user identifiers (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call deleteUsersAsync(UserIdentifiersParams body, ApiCallback<UserIdentifiersList> callback) throws ApiException
body - List of user identifiers (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call getUserListCall(String minRegistrationDate, String maxRegistrationDate, String minDeletionDate, String maxDeletionDate, String minLastActiveDate, String maxLastActiveDate, Boolean includeMonthlyStats, String monthlyStatsStartDate, String monthlyStatsEndDate, Boolean isDeleted, Integer page, Integer perPage, List<String> order, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
minRegistrationDate - Lower bound for a user's registration date, in the format 'YYYY-MM-DD' (e.g. '2016-01-01'). If specified, then only users whose 'registrationDate' is equal to or later than the given date will be regarded. (optional)maxRegistrationDate - Upper bound for a user's registration date, in the format 'YYYY-MM-DD' (e.g. '2016-01-01'). If specified, then only users whose 'registrationDate' is equal to or earlier than the given date will be regarded. (optional)minDeletionDate - Lower bound for a user's deletion date, in the format 'YYYY-MM-DD' (e.g. '2016-01-01'). If specified, then only users whose 'deletionDate' is not null, and is equal to or later than the given date will be regarded. (optional)maxDeletionDate - Upper bound for a user's deletion date, in the format 'YYYY-MM-DD' (e.g. '2016-01-01'). If specified, then only users whose 'deletionDate' is null, or is equal to or earlier than the given date will be regarded. (optional)minLastActiveDate - Lower bound for a user's last active date, in the format 'YYYY-MM-DD' (e.g. '2016-01-01'). If specified, then only users whose 'lastActiveDate' is not null, and is equal to or later than the given date will be regarded. (optional)maxLastActiveDate - Upper bound for a user's last active date, in the format 'YYYY-MM-DD' (e.g. '2016-01-01'). If specified, then only users whose 'lastActiveDate' is null, or is equal to or earlier than the given date will be regarded. (optional)includeMonthlyStats - Whether to include the 'monthlyStats' for the returned users. If not specified, then the field defaults to 'false'. (optional)monthlyStatsStartDate - Minimum bound for the monthly stats (=oldest month that should be included). Must be passed in the format 'YYYY-MM'. If not specified, then the monthly stats will go back up to the first month in which the user existed (date of the user's registration). Note that this field is only regarded if 'includeMonthlyStats' = true. (optional)monthlyStatsEndDate - Maximum bound for the monthly stats (=latest month that should be included). Must be passed in the format 'YYYY-MM'. If not specified, then the monthly stats will go up to either the current month (for active users), or up to the month of deletion (for deleted users). Note that this field is only regarded if 'includeMonthlyStats' = true. (optional)isDeleted - If NOT specified, then the service will regard both active and deleted users in the search. If set to 'true', then ONLY deleted users will be regarded. If set to 'false', then ONLY active users will be regarded. (optional)page - Result page that you want to retrieve (optional, default to 1)perPage - Maximum number of records per page. Can be at most 500. NOTE: Due to its validation and visualization, the swagger frontend might show very low performance, or even crashes, when a service responds with a lot of data. It is recommended to use a HTTP client like Postman or DHC instead of our swagger frontend for service calls with large page sizes. (optional, default to 20)order - Determines the order of the results. You can order the results by 'userId'. The default order for this service is 'userId,asc'. The general format is: 'property[,asc|desc]', with 'asc' being the default value. (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic PageableUserInfoList getUserList(String minRegistrationDate, String maxRegistrationDate, String minDeletionDate, String maxDeletionDate, String minLastActiveDate, String maxLastActiveDate, Boolean includeMonthlyStats, String monthlyStatsStartDate, String monthlyStatsEndDate, Boolean isDeleted, Integer page, Integer perPage, List<String> order) throws ApiException
minRegistrationDate - Lower bound for a user's registration date, in the format 'YYYY-MM-DD' (e.g. '2016-01-01'). If specified, then only users whose 'registrationDate' is equal to or later than the given date will be regarded. (optional)maxRegistrationDate - Upper bound for a user's registration date, in the format 'YYYY-MM-DD' (e.g. '2016-01-01'). If specified, then only users whose 'registrationDate' is equal to or earlier than the given date will be regarded. (optional)minDeletionDate - Lower bound for a user's deletion date, in the format 'YYYY-MM-DD' (e.g. '2016-01-01'). If specified, then only users whose 'deletionDate' is not null, and is equal to or later than the given date will be regarded. (optional)maxDeletionDate - Upper bound for a user's deletion date, in the format 'YYYY-MM-DD' (e.g. '2016-01-01'). If specified, then only users whose 'deletionDate' is null, or is equal to or earlier than the given date will be regarded. (optional)minLastActiveDate - Lower bound for a user's last active date, in the format 'YYYY-MM-DD' (e.g. '2016-01-01'). If specified, then only users whose 'lastActiveDate' is not null, and is equal to or later than the given date will be regarded. (optional)maxLastActiveDate - Upper bound for a user's last active date, in the format 'YYYY-MM-DD' (e.g. '2016-01-01'). If specified, then only users whose 'lastActiveDate' is null, or is equal to or earlier than the given date will be regarded. (optional)includeMonthlyStats - Whether to include the 'monthlyStats' for the returned users. If not specified, then the field defaults to 'false'. (optional)monthlyStatsStartDate - Minimum bound for the monthly stats (=oldest month that should be included). Must be passed in the format 'YYYY-MM'. If not specified, then the monthly stats will go back up to the first month in which the user existed (date of the user's registration). Note that this field is only regarded if 'includeMonthlyStats' = true. (optional)monthlyStatsEndDate - Maximum bound for the monthly stats (=latest month that should be included). Must be passed in the format 'YYYY-MM'. If not specified, then the monthly stats will go up to either the current month (for active users), or up to the month of deletion (for deleted users). Note that this field is only regarded if 'includeMonthlyStats' = true. (optional)isDeleted - If NOT specified, then the service will regard both active and deleted users in the search. If set to 'true', then ONLY deleted users will be regarded. If set to 'false', then ONLY active users will be regarded. (optional)page - Result page that you want to retrieve (optional, default to 1)perPage - Maximum number of records per page. Can be at most 500. NOTE: Due to its validation and visualization, the swagger frontend might show very low performance, or even crashes, when a service responds with a lot of data. It is recommended to use a HTTP client like Postman or DHC instead of our swagger frontend for service calls with large page sizes. (optional, default to 20)order - Determines the order of the results. You can order the results by 'userId'. The default order for this service is 'userId,asc'. The general format is: 'property[,asc|desc]', with 'asc' being the default value. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<PageableUserInfoList> getUserListWithHttpInfo(String minRegistrationDate, String maxRegistrationDate, String minDeletionDate, String maxDeletionDate, String minLastActiveDate, String maxLastActiveDate, Boolean includeMonthlyStats, String monthlyStatsStartDate, String monthlyStatsEndDate, Boolean isDeleted, Integer page, Integer perPage, List<String> order) throws ApiException
minRegistrationDate - Lower bound for a user's registration date, in the format 'YYYY-MM-DD' (e.g. '2016-01-01'). If specified, then only users whose 'registrationDate' is equal to or later than the given date will be regarded. (optional)maxRegistrationDate - Upper bound for a user's registration date, in the format 'YYYY-MM-DD' (e.g. '2016-01-01'). If specified, then only users whose 'registrationDate' is equal to or earlier than the given date will be regarded. (optional)minDeletionDate - Lower bound for a user's deletion date, in the format 'YYYY-MM-DD' (e.g. '2016-01-01'). If specified, then only users whose 'deletionDate' is not null, and is equal to or later than the given date will be regarded. (optional)maxDeletionDate - Upper bound for a user's deletion date, in the format 'YYYY-MM-DD' (e.g. '2016-01-01'). If specified, then only users whose 'deletionDate' is null, or is equal to or earlier than the given date will be regarded. (optional)minLastActiveDate - Lower bound for a user's last active date, in the format 'YYYY-MM-DD' (e.g. '2016-01-01'). If specified, then only users whose 'lastActiveDate' is not null, and is equal to or later than the given date will be regarded. (optional)maxLastActiveDate - Upper bound for a user's last active date, in the format 'YYYY-MM-DD' (e.g. '2016-01-01'). If specified, then only users whose 'lastActiveDate' is null, or is equal to or earlier than the given date will be regarded. (optional)includeMonthlyStats - Whether to include the 'monthlyStats' for the returned users. If not specified, then the field defaults to 'false'. (optional)monthlyStatsStartDate - Minimum bound for the monthly stats (=oldest month that should be included). Must be passed in the format 'YYYY-MM'. If not specified, then the monthly stats will go back up to the first month in which the user existed (date of the user's registration). Note that this field is only regarded if 'includeMonthlyStats' = true. (optional)monthlyStatsEndDate - Maximum bound for the monthly stats (=latest month that should be included). Must be passed in the format 'YYYY-MM'. If not specified, then the monthly stats will go up to either the current month (for active users), or up to the month of deletion (for deleted users). Note that this field is only regarded if 'includeMonthlyStats' = true. (optional)isDeleted - If NOT specified, then the service will regard both active and deleted users in the search. If set to 'true', then ONLY deleted users will be regarded. If set to 'false', then ONLY active users will be regarded. (optional)page - Result page that you want to retrieve (optional, default to 1)perPage - Maximum number of records per page. Can be at most 500. NOTE: Due to its validation and visualization, the swagger frontend might show very low performance, or even crashes, when a service responds with a lot of data. It is recommended to use a HTTP client like Postman or DHC instead of our swagger frontend for service calls with large page sizes. (optional, default to 20)order - Determines the order of the results. You can order the results by 'userId'. The default order for this service is 'userId,asc'. The general format is: 'property[,asc|desc]', with 'asc' being the default value. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getUserListAsync(String minRegistrationDate, String maxRegistrationDate, String minDeletionDate, String maxDeletionDate, String minLastActiveDate, String maxLastActiveDate, Boolean includeMonthlyStats, String monthlyStatsStartDate, String monthlyStatsEndDate, Boolean isDeleted, Integer page, Integer perPage, List<String> order, ApiCallback<PageableUserInfoList> callback) throws ApiException
minRegistrationDate - Lower bound for a user's registration date, in the format 'YYYY-MM-DD' (e.g. '2016-01-01'). If specified, then only users whose 'registrationDate' is equal to or later than the given date will be regarded. (optional)maxRegistrationDate - Upper bound for a user's registration date, in the format 'YYYY-MM-DD' (e.g. '2016-01-01'). If specified, then only users whose 'registrationDate' is equal to or earlier than the given date will be regarded. (optional)minDeletionDate - Lower bound for a user's deletion date, in the format 'YYYY-MM-DD' (e.g. '2016-01-01'). If specified, then only users whose 'deletionDate' is not null, and is equal to or later than the given date will be regarded. (optional)maxDeletionDate - Upper bound for a user's deletion date, in the format 'YYYY-MM-DD' (e.g. '2016-01-01'). If specified, then only users whose 'deletionDate' is null, or is equal to or earlier than the given date will be regarded. (optional)minLastActiveDate - Lower bound for a user's last active date, in the format 'YYYY-MM-DD' (e.g. '2016-01-01'). If specified, then only users whose 'lastActiveDate' is not null, and is equal to or later than the given date will be regarded. (optional)maxLastActiveDate - Upper bound for a user's last active date, in the format 'YYYY-MM-DD' (e.g. '2016-01-01'). If specified, then only users whose 'lastActiveDate' is null, or is equal to or earlier than the given date will be regarded. (optional)includeMonthlyStats - Whether to include the 'monthlyStats' for the returned users. If not specified, then the field defaults to 'false'. (optional)monthlyStatsStartDate - Minimum bound for the monthly stats (=oldest month that should be included). Must be passed in the format 'YYYY-MM'. If not specified, then the monthly stats will go back up to the first month in which the user existed (date of the user's registration). Note that this field is only regarded if 'includeMonthlyStats' = true. (optional)monthlyStatsEndDate - Maximum bound for the monthly stats (=latest month that should be included). Must be passed in the format 'YYYY-MM'. If not specified, then the monthly stats will go up to either the current month (for active users), or up to the month of deletion (for deleted users). Note that this field is only regarded if 'includeMonthlyStats' = true. (optional)isDeleted - If NOT specified, then the service will regard both active and deleted users in the search. If set to 'true', then ONLY deleted users will be regarded. If set to 'false', then ONLY active users will be regarded. (optional)page - Result page that you want to retrieve (optional, default to 1)perPage - Maximum number of records per page. Can be at most 500. NOTE: Due to its validation and visualization, the swagger frontend might show very low performance, or even crashes, when a service responds with a lot of data. It is recommended to use a HTTP client like Postman or DHC instead of our swagger frontend for service calls with large page sizes. (optional, default to 20)order - Determines the order of the results. You can order the results by 'userId'. The default order for this service is 'userId,asc'. The general format is: 'property[,asc|desc]', with 'asc' being the default value. (optional)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectCopyright © 2018. All rights reserved.