public class SmartEmail extends CreateSendBase
jerseyClient, URL_ENCODING_SCHEME| Constructor and Description |
|---|
SmartEmail(AuthenticationDetails auth) |
| Modifier and Type | Method and Description |
|---|---|
SmartEmailDetails |
get(UUID smartEmailId)
Get a SmartEmail by SmartEmailID.
|
SmartEmailItem[] |
list()
List SmartEmails.
|
SmartEmailItem[] |
list(SmartEmailStatus status)
List SmartEmails, filtered by status.
|
SmartEmailItem[] |
list(SmartEmailStatus status,
String clientID)
List SmartEmails, filtered by status for a specific Client.
|
SmartEmailItem[] |
list(String clientID)
List SmartEmails, filtered for a specific Client.
|
MessageSent[] |
send(SmartEmailRequest smartEmailRequest)
Send a SmartEmail.
|
refreshTokenpublic SmartEmail(AuthenticationDetails auth)
auth - The authentication details to use when making API calls.
May be either an OAuthAuthenticationDetails or
ApiKeyAuthenticationDetails instance.public SmartEmailItem[] list() throws CreateSendException
CreateSendExceptionpublic SmartEmailItem[] list(SmartEmailStatus status) throws CreateSendException
status - CreateSendExceptionpublic SmartEmailItem[] list(String clientID) throws CreateSendException
clientID - CreateSendExceptionpublic SmartEmailItem[] list(SmartEmailStatus status, String clientID) throws CreateSendException
status - clientID - CreateSendExceptionpublic SmartEmailDetails get(UUID smartEmailId) throws CreateSendException
smartEmailId - CreateSendExceptionpublic MessageSent[] send(SmartEmailRequest smartEmailRequest) throws CreateSendException
smartEmailRequest - The SmartEmailRequest to send.CreateSendExceptionCopyright © 2019. All rights reserved.