Package software.xdev.brevo.api
Class AccountApi
java.lang.Object
software.xdev.brevo.api.AccountApi
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class AccountApi
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet your account information, plan and credits detailsgetAccount(Map<String, String> additionalHeaders) Get your account information, plan and credits detailsgetAccountActivity(String startDate, String endDate, Long limit, Long offset) Get user activity logsgetAccountActivity(String startDate, String endDate, Long limit, Long offset, Map<String, String> additionalHeaders) Get user activity logsvoidsetApiClient(ApiClient apiClient)
-
Constructor Details
-
AccountApi
public AccountApi() -
AccountApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
getAccount
Get your account information, plan and credits details- Returns:
- GetAccount
- Throws:
ApiException- if fails to make API call
-
getAccount
Get your account information, plan and credits details- Parameters:
additionalHeaders- additionalHeaders for this call- Returns:
- GetAccount
- Throws:
ApiException- if fails to make API call
-
getAccountActivity
public GetAccountActivity getAccountActivity(String startDate, String endDate, Long limit, Long offset) throws ApiException Get user activity logs- Parameters:
startDate- Mandatory if endDate is used. Enter start date in UTC date (YYYY-MM-DD) format to filter the activity in your account. Maximum time period that can be selected is one month. Additionally, you can retrieve activity logs from the past 12 months from the date of your search. (optional)endDate- Mandatory if startDate is used. Enter end date in UTC date (YYYY-MM-DD) format to filter the activity in your account. Maximum time period that can be selected is one month. (optional)limit- Number of documents per page (optional, default to 10)offset- Index of the first document in the page. (optional, default to 0)- Returns:
- GetAccountActivity
- Throws:
ApiException- if fails to make API call
-
getAccountActivity
public GetAccountActivity getAccountActivity(String startDate, String endDate, Long limit, Long offset, Map<String, String> additionalHeaders) throws ApiExceptionGet user activity logs- Parameters:
startDate- Mandatory if endDate is used. Enter start date in UTC date (YYYY-MM-DD) format to filter the activity in your account. Maximum time period that can be selected is one month. Additionally, you can retrieve activity logs from the past 12 months from the date of your search. (optional)endDate- Mandatory if startDate is used. Enter end date in UTC date (YYYY-MM-DD) format to filter the activity in your account. Maximum time period that can be selected is one month. (optional)limit- Number of documents per page (optional, default to 10)offset- Index of the first document in the page. (optional, default to 0)additionalHeaders- additionalHeaders for this call- Returns:
- GetAccountActivity
- Throws:
ApiException- if fails to make API call
-