Package software.xdev.brevo.api
Class InboundParsingApi
java.lang.Object
software.xdev.brevo.api.InboundParsingApi
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class InboundParsingApi
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetInboundEmailAttachment(String downloadToken) Retrieve inbound attachment with download token.getInboundEmailAttachment(String downloadToken, Map<String, String> additionalHeaders) Retrieve inbound attachment with download token.getInboundEmailEvents(String sender, String startDate, String endDate, Long limit, Long offset, String sort) Get the list of all the events for the received emails.getInboundEmailEvents(String sender, String startDate, String endDate, Long limit, Long offset, String sort, Map<String, String> additionalHeaders) Get the list of all the events for the received emails.Fetch all events history for one particular received email.getInboundEmailEventsByUuid(String uuid, Map<String, String> additionalHeaders) Fetch all events history for one particular received email.voidsetApiClient(ApiClient apiClient)
-
Constructor Details
-
InboundParsingApi
public InboundParsingApi() -
InboundParsingApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
getInboundEmailAttachment
Retrieve inbound attachment with download token. This endpoint will retrieve inbound attachment with download token.- Parameters:
downloadToken- Token to fetch a particular attachment (required)- Returns:
- File
- Throws:
ApiException- if fails to make API call
-
getInboundEmailAttachment
public File getInboundEmailAttachment(String downloadToken, Map<String, String> additionalHeaders) throws ApiExceptionRetrieve inbound attachment with download token. This endpoint will retrieve inbound attachment with download token.- Parameters:
downloadToken- Token to fetch a particular attachment (required)additionalHeaders- additionalHeaders for this call- Returns:
- File
- Throws:
ApiException- if fails to make API call
-
getInboundEmailEvents
public GetInboundEmailEvents getInboundEmailEvents(String sender, String startDate, String endDate, Long limit, Long offset, String sort) throws ApiException Get the list of all the events for the received emails. This endpoint will show the list of all the events for the received emails.- Parameters:
sender- Email address of the sender. (optional)startDate- Mandatory if endDate is used. Starting date (YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss.SSSZ) from which you want to fetch the list. Maximum time period that can be selected is one month. (optional)endDate- Mandatory if startDate is used. Ending date (YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss.SSSZ) till which you want to fetch the list. Maximum time period that can be selected is one month. (optional)limit- Number of documents returned per page (optional, default to 100)offset- Index of the first document on the page (optional, default to 0)sort- Sort the results in the ascending/descending order of record creation (optional, default to desc)- Returns:
- GetInboundEmailEvents
- Throws:
ApiException- if fails to make API call
-
getInboundEmailEvents
public GetInboundEmailEvents getInboundEmailEvents(String sender, String startDate, String endDate, Long limit, Long offset, String sort, Map<String, String> additionalHeaders) throws ApiExceptionGet the list of all the events for the received emails. This endpoint will show the list of all the events for the received emails.- Parameters:
sender- Email address of the sender. (optional)startDate- Mandatory if endDate is used. Starting date (YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss.SSSZ) from which you want to fetch the list. Maximum time period that can be selected is one month. (optional)endDate- Mandatory if startDate is used. Ending date (YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss.SSSZ) till which you want to fetch the list. Maximum time period that can be selected is one month. (optional)limit- Number of documents returned per page (optional, default to 100)offset- Index of the first document on the page (optional, default to 0)sort- Sort the results in the ascending/descending order of record creation (optional, default to desc)additionalHeaders- additionalHeaders for this call- Returns:
- GetInboundEmailEvents
- Throws:
ApiException- if fails to make API call
-
getInboundEmailEventsByUuid
Fetch all events history for one particular received email. This endpoint will show the list of all events history for one particular received email.- Parameters:
uuid- UUID to fetch events specific to recieved email (required)- Returns:
- GetInboundEmailEventsByUuid
- Throws:
ApiException- if fails to make API call
-
getInboundEmailEventsByUuid
public GetInboundEmailEventsByUuid getInboundEmailEventsByUuid(String uuid, Map<String, String> additionalHeaders) throws ApiExceptionFetch all events history for one particular received email. This endpoint will show the list of all events history for one particular received email.- Parameters:
uuid- UUID to fetch events specific to recieved email (required)additionalHeaders- additionalHeaders for this call- Returns:
- GetInboundEmailEventsByUuid
- Throws:
ApiException- if fails to make API call
-