Skip to content

1.2.0

Compare
Choose a tag to compare
@ffafara-tw ffafara-tw released this 30 Sep 03:02

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.

Download binary from GH Package Maven Repository

https://github.com/department-of-veterans-affairs/notifications-java-client/packages/990487?version=1.2.0