1.2.0
Changes in 1.2.0
-
Added support for sending notification requests with recipient identifiers supported by Master Person Index.
Identifiers will be used to lookup contact information (email, phone number) as well as contact preferences in VA Profile.Currently supported identifiers include:
ICN
VA Profile Id
Participant Id
Birls Id (FileNumber)
EDIPI
You can send requests that contain only recipient identifier, for example:
SendEmailResponse response = client.sendEmail(new EmailRequest.Builder()
.withTemplateId("aTemplateId")
.withRecipientIdentifier(new Identifier(IdentifierType.VAPROFILEID, "some-id");
.build()
);
Or you can specify both email / phone number and identifier. In that case identifier will be only used to lookup preferences.
SendEmailResponse response = client.sendEmail(new EmailRequest.Builder()
.withTemplateId("aTemplateId")
.withEmailAddress("[email protected]")
.withRecipientIdentifier(new Identifier(IdentifierType.VAPROFILEID, "some-id");
.build()
);
- Moved all tests to Junit5.