TemplatePreview |
NotificationClient.generateTemplatePreview(java.lang.String templateId,
java.util.Map<java.lang.String,java.lang.Object> personalisation) |
|
TemplatePreview |
NotificationClientApi.generateTemplatePreview(java.lang.String templateId,
java.util.Map<java.lang.String,java.lang.Object> personalisation) |
The generateTemplatePreview returns a template with the placeholders replaced with the given personalisation.
|
TemplateList |
NotificationClient.getAllTemplates(java.lang.String templateType) |
|
TemplateList |
NotificationClientApi.getAllTemplates(java.lang.String templateType) |
Returns all the templates for your service.
|
Notification |
NotificationClient.getNotificationById(java.lang.String notificationId) |
|
Notification |
NotificationClientApi.getNotificationById(java.lang.String notificationId) |
The getNotificationById method will return a Notification for a given notification id.
|
NotificationList |
NotificationClient.getNotifications(java.lang.String status,
java.lang.String notification_type,
java.lang.String reference,
java.lang.String olderThanId) |
|
NotificationList |
NotificationClientApi.getNotifications(java.lang.String status,
java.lang.String notification_type,
java.lang.String reference,
java.lang.String olderThanId) |
The getNotifications method will create a GET HTTPS request to retrieve all the notifications.
|
byte[] |
NotificationClient.getPdfForLetter(java.lang.String notificationId) |
|
byte[] |
NotificationClientApi.getPdfForLetter(java.lang.String notificationId) |
The getPdfForLetter method will return a byte[] containing the PDF contents of a given letter notification.
|
ReceivedTextMessageList |
NotificationClient.getReceivedTextMessages(java.lang.String olderThanId) |
|
ReceivedTextMessageList |
NotificationClientApi.getReceivedTextMessages(java.lang.String olderThanId) |
The getReceivedTextMessages returns a list of ReceivedTextMessage, the list is sorted by createdAt descending.
|
Template |
NotificationClient.getTemplateById(java.lang.String templateId) |
|
Template |
NotificationClientApi.getTemplateById(java.lang.String templateId) |
The getTemplateById returns a Template given the template id.
|
Template |
NotificationClient.getTemplateVersion(java.lang.String templateId,
int version) |
|
Template |
NotificationClientApi.getTemplateVersion(java.lang.String templateId,
int version) |
The getTemplateVersion returns a Template given the template id and version.
|
static org.json.JSONObject |
NotificationClient.prepareUpload(byte[] documentContents) |
Use the prepareUpload method when uploading a document via sendEmail.
|
SendEmailResponse |
NotificationClient.sendEmail(java.lang.String templateId,
java.lang.String emailAddress,
java.util.Map<java.lang.String,?> personalisation,
java.lang.String reference) |
|
SendEmailResponse |
NotificationClient.sendEmail(java.lang.String templateId,
java.lang.String emailAddress,
java.util.Map<java.lang.String,?> personalisation,
java.lang.String reference,
java.lang.String emailReplyToId) |
|
SendEmailResponse |
NotificationClientApi.sendEmail(java.lang.String templateId,
java.lang.String emailAddress,
java.util.Map<java.lang.String,?> personalisation,
java.lang.String reference) |
The sendEmail method will create an HTTPS POST request.
|
SendEmailResponse |
NotificationClientApi.sendEmail(java.lang.String templateId,
java.lang.String emailAddress,
java.util.Map<java.lang.String,?> personalisation,
java.lang.String reference,
java.lang.String emailReplyToId) |
The sendEmail method will create an HTTPS POST request.
|
SendLetterResponse |
NotificationClient.sendLetter(java.lang.String templateId,
java.util.Map<java.lang.String,?> personalisation,
java.lang.String reference) |
|
SendLetterResponse |
NotificationClientApi.sendLetter(java.lang.String templateId,
java.util.Map<java.lang.String,?> personalisation,
java.lang.String reference) |
The sendLetter method will create an HTTPS POST request.
|
LetterResponse |
NotificationClient.sendPrecompiledLetter(java.lang.String reference,
java.io.File precompiledPDF) |
|
LetterResponse |
NotificationClient.sendPrecompiledLetter(java.lang.String reference,
java.io.File precompiledPDF,
java.lang.String postage) |
|
LetterResponse |
NotificationClientApi.sendPrecompiledLetter(java.lang.String reference,
java.io.File precompiledPDF) |
The sendPrecompiledLetter method will create an HTTPS POST request.
|
LetterResponse |
NotificationClientApi.sendPrecompiledLetter(java.lang.String reference,
java.io.File precompiledPDF,
java.lang.String postage) |
The sendPrecompiledLetter method will create an HTTPS POST request.
|
LetterResponse |
NotificationClient.sendPrecompiledLetterWithInputStream(java.lang.String reference,
java.io.InputStream stream) |
|
LetterResponse |
NotificationClient.sendPrecompiledLetterWithInputStream(java.lang.String reference,
java.io.InputStream stream,
java.lang.String postage) |
|
LetterResponse |
NotificationClientApi.sendPrecompiledLetterWithInputStream(java.lang.String reference,
java.io.InputStream stream) |
The sendPrecompiledLetterWithInputStream method will create an HTTPS POST request.
|
LetterResponse |
NotificationClientApi.sendPrecompiledLetterWithInputStream(java.lang.String reference,
java.io.InputStream stream,
java.lang.String postage) |
The sendPrecompiledLetterWithInputStream method will create an HTTPS POST request.
|
SendSmsResponse |
NotificationClient.sendSms(java.lang.String templateId,
java.lang.String phoneNumber,
java.util.Map<java.lang.String,?> personalisation,
java.lang.String reference) |
|
SendSmsResponse |
NotificationClient.sendSms(java.lang.String templateId,
java.lang.String phoneNumber,
java.util.Map<java.lang.String,?> personalisation,
java.lang.String reference,
java.lang.String smsSenderId) |
|
SendSmsResponse |
NotificationClientApi.sendSms(java.lang.String templateId,
java.lang.String phoneNumber,
java.util.Map<java.lang.String,?> personalisation,
java.lang.String reference) |
The sendSms method will create an HTTPS POST request.
|
SendSmsResponse |
NotificationClientApi.sendSms(java.lang.String templateId,
java.lang.String phoneNumber,
java.util.Map<java.lang.String,?> personalisation,
java.lang.String reference,
java.lang.String smsSenderId) |
The sendSms method will create an HTTPS POST request.
|