public class Messages extends CreateSendBase
jerseyClient, URL_ENCODING_SCHEME| Constructor and Description |
|---|
Messages(AuthenticationDetails auth) |
| Modifier and Type | Method and Description |
|---|---|
Message |
get(UUID messageID) |
Message |
get(UUID messageID,
boolean includeStatistics) |
MessageSent |
resend(UUID messageID)
Resend a message.
|
TransactionalStatistics |
statistics(String clientID,
UUID smartEmailID,
String group,
Date from,
Date to,
String timezone)
Gets statistics for a range of messages.
|
MessageLogItem[] |
timeline(String clientID,
UUID sentBeforeID,
UUID sentAfterID,
Integer count,
String status,
UUID smartEmailID,
String group)
Perform a sliding window request of the delivery log.
|
refreshTokenpublic Messages(AuthenticationDetails auth)
auth - The authentication details to use when making API calls.
May be either an OAuthAuthenticationDetails or
ApiKeyAuthenticationDetails instance.public Message get(UUID messageID) throws CreateSendException
CreateSendExceptionpublic Message get(UUID messageID, boolean includeStatistics) throws CreateSendException
messageID - includeStatistics - include statistics.CreateSendExceptionpublic TransactionalStatistics statistics(String clientID, UUID smartEmailID, String group, Date from, Date to, String timezone) throws CreateSendException
clientID - optional Client ID to filter.smartEmailID - optional Smart Email ID.group - optional Group.from - optional From address.to - optional To address.timezone - optional timezone.CreateSendExceptionpublic MessageSent resend(UUID messageID) throws CreateSendException
messageID - the message id to resend.CreateSendExceptionpublic MessageLogItem[] timeline(String clientID, UUID sentBeforeID, UUID sentAfterID, Integer count, String status, UUID smartEmailID, String group) throws CreateSendException
clientID - optional Client ID to filter.sentBeforeID - optional start range. Find message sent before this id.sentAfterID - optional end range. Find message sent after this id.count - optional count, number of messages to retrieve.status - optional message status filter.smartEmailID - optional filter to a specific smart email.group - optional filter to a specific group.CreateSendExceptionCopyright © 2019. All rights reserved.