public class EmailCampaignsApi extends Object
| Constructor and Description |
|---|
EmailCampaignsApi() |
EmailCampaignsApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
CreateModel |
createEmailCampaign(CreateEmailCampaign emailCampaigns)
Create an email campaign
|
com.squareup.okhttp.Call |
createEmailCampaignAsync(CreateEmailCampaign emailCampaigns,
ApiCallback<CreateModel> callback)
Create an email campaign (asynchronously)
|
com.squareup.okhttp.Call |
createEmailCampaignCall(CreateEmailCampaign emailCampaigns,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for createEmailCampaign
|
ApiResponse<CreateModel> |
createEmailCampaignWithHttpInfo(CreateEmailCampaign emailCampaigns)
Create an email campaign
|
void |
deleteEmailCampaign(Long campaignId)
Delete an email campaign
|
com.squareup.okhttp.Call |
deleteEmailCampaignAsync(Long campaignId,
ApiCallback<Void> callback)
Delete an email campaign (asynchronously)
|
com.squareup.okhttp.Call |
deleteEmailCampaignCall(Long campaignId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for deleteEmailCampaign
|
ApiResponse<Void> |
deleteEmailCampaignWithHttpInfo(Long campaignId)
Delete an email campaign
|
CreatedProcessId |
emailExportRecipients(Long campaignId,
EmailExportRecipients recipientExport)
Export the recipients of an email campaign
|
com.squareup.okhttp.Call |
emailExportRecipientsAsync(Long campaignId,
EmailExportRecipients recipientExport,
ApiCallback<CreatedProcessId> callback)
Export the recipients of an email campaign (asynchronously)
|
com.squareup.okhttp.Call |
emailExportRecipientsCall(Long campaignId,
EmailExportRecipients recipientExport,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for emailExportRecipients
|
ApiResponse<CreatedProcessId> |
emailExportRecipientsWithHttpInfo(Long campaignId,
EmailExportRecipients recipientExport)
Export the recipients of an email campaign
|
AbTestCampaignResult |
getAbTestCampaignResult(Long campaignId)
Get an A/B test email campaign results
Obtain winning version of an A/B test email campaign
|
com.squareup.okhttp.Call |
getAbTestCampaignResultAsync(Long campaignId,
ApiCallback<AbTestCampaignResult> callback)
Get an A/B test email campaign results (asynchronously)
Obtain winning version of an A/B test email campaign
|
com.squareup.okhttp.Call |
getAbTestCampaignResultCall(Long campaignId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getAbTestCampaignResult
|
ApiResponse<AbTestCampaignResult> |
getAbTestCampaignResultWithHttpInfo(Long campaignId)
Get an A/B test email campaign results
Obtain winning version of an A/B test email campaign
|
ApiClient |
getApiClient() |
GetEmailCampaign |
getEmailCampaign(Long campaignId)
Get an email campaign report
|
com.squareup.okhttp.Call |
getEmailCampaignAsync(Long campaignId,
ApiCallback<GetEmailCampaign> callback)
Get an email campaign report (asynchronously)
|
com.squareup.okhttp.Call |
getEmailCampaignCall(Long campaignId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getEmailCampaign
|
GetEmailCampaigns |
getEmailCampaigns(String type,
String status,
String startDate,
String endDate,
Long limit,
Long offset,
String sort)
Return all your created email campaigns
|
com.squareup.okhttp.Call |
getEmailCampaignsAsync(String type,
String status,
String startDate,
String endDate,
Long limit,
Long offset,
String sort,
ApiCallback<GetEmailCampaigns> callback)
Return all your created email campaigns (asynchronously)
|
com.squareup.okhttp.Call |
getEmailCampaignsCall(String type,
String status,
String startDate,
String endDate,
Long limit,
Long offset,
String sort,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getEmailCampaigns
|
ApiResponse<GetEmailCampaigns> |
getEmailCampaignsWithHttpInfo(String type,
String status,
String startDate,
String endDate,
Long limit,
Long offset,
String sort)
Return all your created email campaigns
|
ApiResponse<GetEmailCampaign> |
getEmailCampaignWithHttpInfo(Long campaignId)
Get an email campaign report
|
GetSharedTemplateUrl |
getSharedTemplateUrl(Long campaignId)
Get a shared template url
Get a unique URL to share & import an email template from one Sendinblue account to another.
|
com.squareup.okhttp.Call |
getSharedTemplateUrlAsync(Long campaignId,
ApiCallback<GetSharedTemplateUrl> callback)
Get a shared template url (asynchronously)
Get a unique URL to share & import an email template from one Sendinblue account to another.
|
com.squareup.okhttp.Call |
getSharedTemplateUrlCall(Long campaignId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getSharedTemplateUrl
|
ApiResponse<GetSharedTemplateUrl> |
getSharedTemplateUrlWithHttpInfo(Long campaignId)
Get a shared template url
Get a unique URL to share & import an email template from one Sendinblue account to another.
|
void |
sendEmailCampaignNow(Long campaignId)
Send an email campaign immediately, based on campaignId
|
com.squareup.okhttp.Call |
sendEmailCampaignNowAsync(Long campaignId,
ApiCallback<Void> callback)
Send an email campaign immediately, based on campaignId (asynchronously)
|
com.squareup.okhttp.Call |
sendEmailCampaignNowCall(Long campaignId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for sendEmailCampaignNow
|
ApiResponse<Void> |
sendEmailCampaignNowWithHttpInfo(Long campaignId)
Send an email campaign immediately, based on campaignId
|
void |
sendReport(Long campaignId,
SendReport sendReport)
Send the report of a campaign
A PDF will be sent to the specified email addresses
|
com.squareup.okhttp.Call |
sendReportAsync(Long campaignId,
SendReport sendReport,
ApiCallback<Void> callback)
Send the report of a campaign (asynchronously)
A PDF will be sent to the specified email addresses
|
com.squareup.okhttp.Call |
sendReportCall(Long campaignId,
SendReport sendReport,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for sendReport
|
ApiResponse<Void> |
sendReportWithHttpInfo(Long campaignId,
SendReport sendReport)
Send the report of a campaign
A PDF will be sent to the specified email addresses
|
void |
sendTestEmail(Long campaignId,
SendTestEmail emailTo)
Send an email campaign to your test list
|
com.squareup.okhttp.Call |
sendTestEmailAsync(Long campaignId,
SendTestEmail emailTo,
ApiCallback<Void> callback)
Send an email campaign to your test list (asynchronously)
|
com.squareup.okhttp.Call |
sendTestEmailCall(Long campaignId,
SendTestEmail emailTo,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for sendTestEmail
|
ApiResponse<Void> |
sendTestEmailWithHttpInfo(Long campaignId,
SendTestEmail emailTo)
Send an email campaign to your test list
|
void |
setApiClient(ApiClient apiClient) |
void |
updateCampaignStatus(Long campaignId,
UpdateCampaignStatus status)
Update an email campaign status
|
com.squareup.okhttp.Call |
updateCampaignStatusAsync(Long campaignId,
UpdateCampaignStatus status,
ApiCallback<Void> callback)
Update an email campaign status (asynchronously)
|
com.squareup.okhttp.Call |
updateCampaignStatusCall(Long campaignId,
UpdateCampaignStatus status,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for updateCampaignStatus
|
ApiResponse<Void> |
updateCampaignStatusWithHttpInfo(Long campaignId,
UpdateCampaignStatus status)
Update an email campaign status
|
void |
updateEmailCampaign(Long campaignId,
UpdateEmailCampaign emailCampaign)
Update an email campaign
|
com.squareup.okhttp.Call |
updateEmailCampaignAsync(Long campaignId,
UpdateEmailCampaign emailCampaign,
ApiCallback<Void> callback)
Update an email campaign (asynchronously)
|
com.squareup.okhttp.Call |
updateEmailCampaignCall(Long campaignId,
UpdateEmailCampaign emailCampaign,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for updateEmailCampaign
|
ApiResponse<Void> |
updateEmailCampaignWithHttpInfo(Long campaignId,
UpdateEmailCampaign emailCampaign)
Update an email campaign
|
void |
uploadImageToGallery(UploadImageToGallery uploadImage)
Upload an image to your account's image gallery
|
com.squareup.okhttp.Call |
uploadImageToGalleryAsync(UploadImageToGallery uploadImage,
ApiCallback<Void> callback)
Upload an image to your account's image gallery (asynchronously)
|
com.squareup.okhttp.Call |
uploadImageToGalleryCall(UploadImageToGallery uploadImage,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for uploadImageToGallery
|
ApiResponse<Void> |
uploadImageToGalleryWithHttpInfo(UploadImageToGallery uploadImage)
Upload an image to your account's image gallery
|
public EmailCampaignsApi()
public EmailCampaignsApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call createEmailCampaignCall(CreateEmailCampaign emailCampaigns, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
emailCampaigns - Values to create a campaign (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic CreateModel createEmailCampaign(CreateEmailCampaign emailCampaigns) throws ApiException
emailCampaigns - Values to create a campaign (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<CreateModel> createEmailCampaignWithHttpInfo(CreateEmailCampaign emailCampaigns) throws ApiException
emailCampaigns - Values to create a campaign (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call createEmailCampaignAsync(CreateEmailCampaign emailCampaigns, ApiCallback<CreateModel> callback) throws ApiException
emailCampaigns - Values to create a campaign (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 deleteEmailCampaignCall(Long campaignId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
campaignId - id of the campaign (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void deleteEmailCampaign(Long campaignId) throws ApiException
campaignId - id of the campaign (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> deleteEmailCampaignWithHttpInfo(Long campaignId) throws ApiException
campaignId - id of the campaign (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call deleteEmailCampaignAsync(Long campaignId, ApiCallback<Void> callback) throws ApiException
campaignId - id of the campaign (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 emailExportRecipientsCall(Long campaignId, EmailExportRecipients recipientExport, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
campaignId - Id of the campaign (required)recipientExport - Values to send for a recipient export request (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic CreatedProcessId emailExportRecipients(Long campaignId, EmailExportRecipients recipientExport) throws ApiException
campaignId - Id of the campaign (required)recipientExport - Values to send for a recipient export request (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<CreatedProcessId> emailExportRecipientsWithHttpInfo(Long campaignId, EmailExportRecipients recipientExport) throws ApiException
campaignId - Id of the campaign (required)recipientExport - Values to send for a recipient export request (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call emailExportRecipientsAsync(Long campaignId, EmailExportRecipients recipientExport, ApiCallback<CreatedProcessId> callback) throws ApiException
campaignId - Id of the campaign (required)recipientExport - Values to send for a recipient export request (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 objectpublic com.squareup.okhttp.Call getAbTestCampaignResultCall(Long campaignId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
campaignId - Id of the A/B test campaign (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic AbTestCampaignResult getAbTestCampaignResult(Long campaignId) throws ApiException
campaignId - Id of the A/B test campaign (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<AbTestCampaignResult> getAbTestCampaignResultWithHttpInfo(Long campaignId) throws ApiException
campaignId - Id of the A/B test campaign (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getAbTestCampaignResultAsync(Long campaignId, ApiCallback<AbTestCampaignResult> callback) throws ApiException
campaignId - Id of the A/B test campaign (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 getEmailCampaignCall(Long campaignId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
campaignId - Id of the campaign (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic GetEmailCampaign getEmailCampaign(Long campaignId) throws ApiException
campaignId - Id of the campaign (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<GetEmailCampaign> getEmailCampaignWithHttpInfo(Long campaignId) throws ApiException
campaignId - Id of the campaign (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getEmailCampaignAsync(Long campaignId, ApiCallback<GetEmailCampaign> callback) throws ApiException
campaignId - Id of the campaign (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 getEmailCampaignsCall(String type, String status, String startDate, String endDate, Long limit, Long offset, String sort, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
type - Filter on the type of the campaigns (optional)status - Filter on the status of the campaign (optional)startDate - Mandatory if endDate is used. Starting (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the sent email campaigns. Prefer to pass your timezone in date-time format for accurate result ( only available if either 'status' not passed and if passed is set to 'sent' ) (optional)endDate - Mandatory if startDate is used. Ending (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the sent email campaigns. Prefer to pass your timezone in date-time format for accurate result ( only available if either 'status' not passed and if passed is set to 'sent' ) (optional)limit - Number of documents per page (optional, default to 500)offset - Index of the first document in the page (optional, default to 0)sort - Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic GetEmailCampaigns getEmailCampaigns(String type, String status, String startDate, String endDate, Long limit, Long offset, String sort) throws ApiException
type - Filter on the type of the campaigns (optional)status - Filter on the status of the campaign (optional)startDate - Mandatory if endDate is used. Starting (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the sent email campaigns. Prefer to pass your timezone in date-time format for accurate result ( only available if either 'status' not passed and if passed is set to 'sent' ) (optional)endDate - Mandatory if startDate is used. Ending (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the sent email campaigns. Prefer to pass your timezone in date-time format for accurate result ( only available if either 'status' not passed and if passed is set to 'sent' ) (optional)limit - Number of documents per page (optional, default to 500)offset - Index of the first document in the page (optional, default to 0)sort - Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<GetEmailCampaigns> getEmailCampaignsWithHttpInfo(String type, String status, String startDate, String endDate, Long limit, Long offset, String sort) throws ApiException
type - Filter on the type of the campaigns (optional)status - Filter on the status of the campaign (optional)startDate - Mandatory if endDate is used. Starting (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the sent email campaigns. Prefer to pass your timezone in date-time format for accurate result ( only available if either 'status' not passed and if passed is set to 'sent' ) (optional)endDate - Mandatory if startDate is used. Ending (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the sent email campaigns. Prefer to pass your timezone in date-time format for accurate result ( only available if either 'status' not passed and if passed is set to 'sent' ) (optional)limit - Number of documents per page (optional, default to 500)offset - Index of the first document in the page (optional, default to 0)sort - Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getEmailCampaignsAsync(String type, String status, String startDate, String endDate, Long limit, Long offset, String sort, ApiCallback<GetEmailCampaigns> callback) throws ApiException
type - Filter on the type of the campaigns (optional)status - Filter on the status of the campaign (optional)startDate - Mandatory if endDate is used. Starting (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the sent email campaigns. Prefer to pass your timezone in date-time format for accurate result ( only available if either 'status' not passed and if passed is set to 'sent' ) (optional)endDate - Mandatory if startDate is used. Ending (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the sent email campaigns. Prefer to pass your timezone in date-time format for accurate result ( only available if either 'status' not passed and if passed is set to 'sent' ) (optional)limit - Number of documents per page (optional, default to 500)offset - Index of the first document in the page (optional, default to 0)sort - Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc)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 getSharedTemplateUrlCall(Long campaignId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
campaignId - Id of the campaign or template (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic GetSharedTemplateUrl getSharedTemplateUrl(Long campaignId) throws ApiException
campaignId - Id of the campaign or template (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<GetSharedTemplateUrl> getSharedTemplateUrlWithHttpInfo(Long campaignId) throws ApiException
campaignId - Id of the campaign or template (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getSharedTemplateUrlAsync(Long campaignId, ApiCallback<GetSharedTemplateUrl> callback) throws ApiException
campaignId - Id of the campaign or template (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 sendEmailCampaignNowCall(Long campaignId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
campaignId - Id of the campaign (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void sendEmailCampaignNow(Long campaignId) throws ApiException
campaignId - Id of the campaign (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> sendEmailCampaignNowWithHttpInfo(Long campaignId) throws ApiException
campaignId - Id of the campaign (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call sendEmailCampaignNowAsync(Long campaignId, ApiCallback<Void> callback) throws ApiException
campaignId - Id of the campaign (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 sendReportCall(Long campaignId, SendReport sendReport, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
campaignId - Id of the campaign (required)sendReport - Values for send a report (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void sendReport(Long campaignId, SendReport sendReport) throws ApiException
campaignId - Id of the campaign (required)sendReport - Values for send a report (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> sendReportWithHttpInfo(Long campaignId, SendReport sendReport) throws ApiException
campaignId - Id of the campaign (required)sendReport - Values for send a report (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call sendReportAsync(Long campaignId, SendReport sendReport, ApiCallback<Void> callback) throws ApiException
campaignId - Id of the campaign (required)sendReport - Values for send a report (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 sendTestEmailCall(Long campaignId, SendTestEmail emailTo, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
campaignId - Id of the campaign (required)emailTo - (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void sendTestEmail(Long campaignId, SendTestEmail emailTo) throws ApiException
campaignId - Id of the campaign (required)emailTo - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> sendTestEmailWithHttpInfo(Long campaignId, SendTestEmail emailTo) throws ApiException
campaignId - Id of the campaign (required)emailTo - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call sendTestEmailAsync(Long campaignId, SendTestEmail emailTo, ApiCallback<Void> callback) throws ApiException
campaignId - Id of the campaign (required)emailTo - (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 updateCampaignStatusCall(Long campaignId, UpdateCampaignStatus status, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
campaignId - Id of the campaign (required)status - Status of the campaign (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void updateCampaignStatus(Long campaignId, UpdateCampaignStatus status) throws ApiException
campaignId - Id of the campaign (required)status - Status of the campaign (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> updateCampaignStatusWithHttpInfo(Long campaignId, UpdateCampaignStatus status) throws ApiException
campaignId - Id of the campaign (required)status - Status of the campaign (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call updateCampaignStatusAsync(Long campaignId, UpdateCampaignStatus status, ApiCallback<Void> callback) throws ApiException
campaignId - Id of the campaign (required)status - Status of the campaign (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 updateEmailCampaignCall(Long campaignId, UpdateEmailCampaign emailCampaign, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
campaignId - Id of the campaign (required)emailCampaign - Values to update a campaign (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void updateEmailCampaign(Long campaignId, UpdateEmailCampaign emailCampaign) throws ApiException
campaignId - Id of the campaign (required)emailCampaign - Values to update a campaign (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> updateEmailCampaignWithHttpInfo(Long campaignId, UpdateEmailCampaign emailCampaign) throws ApiException
campaignId - Id of the campaign (required)emailCampaign - Values to update a campaign (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call updateEmailCampaignAsync(Long campaignId, UpdateEmailCampaign emailCampaign, ApiCallback<Void> callback) throws ApiException
campaignId - Id of the campaign (required)emailCampaign - Values to update a campaign (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 uploadImageToGalleryCall(UploadImageToGallery uploadImage, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
uploadImage - Parameters to upload an image (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void uploadImageToGallery(UploadImageToGallery uploadImage) throws ApiException
uploadImage - Parameters to upload an image (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> uploadImageToGalleryWithHttpInfo(UploadImageToGallery uploadImage) throws ApiException
uploadImage - Parameters to upload an image (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call uploadImageToGalleryAsync(UploadImageToGallery uploadImage, ApiCallback<Void> callback) throws ApiException
uploadImage - Parameters to upload an image (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 objectCopyright © 2021. All rights reserved.