FINS Customer Addresses Process API - Implementation Template

(0 reviews)

home

This API implementation template is a component of MuleSoft Accelerators, which accelerate the implementation of essential integration use cases.

The solution includes pre-built APIs, connectors, and integration templates that help unlock business-critical data from external systems and guide you in adopting best practices synthesized from thousands of customer implementations. Use these assets as is or extend them to meet your company’s unique needs.


Overview

This integration template implements the FINS Customer Addresses Process API specification.

This Process API will be responsible for querying and updating Contact Points (ContactPointAddress). It also can process an address change event for both Insurance and Banking Customers.

For a Banking Customer, when the Billing Address is updated, the address is validated by calling the FINS Address Validation System API and a Marketing email is sent to the Customer by calling the FINS Salesforce Marketing System API.

For an Insurance Customer, when the Billing Address is updated, the address is validated by integrating with the FINS Address Validation System API, the Core Logic System API is used to retrieve the Property Characteristics & risks and this information is used to create a Policy and Quote in Salesforce Insurance System using FINS Insurance System API. On success, a notification with the links to Quote and Policy is posted on the Slack channel customer-service-reps (configurable) using the Accelerator Slack System API.

For both Banking and Insurance Customers, whenever there is an update to Billing Address or Mailing Address, the addresses are validated and in case of an invalid address a notification message is posted on the Slack channel customer-service-reps(configurable) and the rest of the processing is skipped.

Note: Postal address validation will be processed only on address update of an existing active customer that exists in Global Data Service.

Getting started

bulb.png The Getting Started with MuleSoft Accelerators guide provides general information on getting started with the accelerator components. This includes instructions on setting up your local workstation for configuring and deploying the applications.

Once your workstation has been set up and the application template imported into Anypoint Studio, proceed with the Prerequisites section.

Prerequisites

This implementation template has the following dependencies:

Please review the use cases described on the MuleSoft Accelerator for Financial Services solution pages for more information about dependencies on other APIs and services.

Anypoint MQ destinations

The following Anypoint MQ destinations must be created and accessible for this API:

  1. fins-address-update-queue
  2. fins-address-update-dl-queue

The FINS Common Resources asset contains a Postman collection, which can be used to create the destinations and client application required for use by accelerator applications.

API dependencies

The following table lists all endpoints used by this API (assuming all syncronization targets are enabled).

API nameEndpointAction
Accelerator MariaDB Global Party System APIget:/partyRoles/{partyRoleId}Retrieve an existing party role
Accelerator MariaDB Global Party System APIget:/customersSearch a customer party role
Accelerator MariaDB Global Party System APIget:/parties/{partyId}Retrieve party along with contact points of an existing party
FINS Salesforce Accounts System APIget:/customersSearch a customer party role
FINS Salesforce Insurance System APIget:/policiesRetrieve policies related to the customer
FINS Salesforce Insurance System APIpost:/quotesCreate a quote related to the customer
FINS Address Validation System APIpost:/validators/postalAddressesValidate the postal address
FINS Salesforce Marketing System APIpost:/journeysCreate a new journey
FINS Core Logic System APIget:/properties/characteristicsRetrieve property characteristics of a specific address from CoreLogic
FINS Core Logic System APIget:/properties/risksRetrieve property risks of a specific address from CoreLogic
Accelerator Slack System APIpost:/messagesCreate a new message to post to slack

Deployment

Each Accelerator implementation template in Exchange includes Bash and Windows scripts for building and deploying the APIs to CloudHub. These scripts depend on repositories, global settings, deployment profiles, and associated properties configured in the Maven settings.xml file.

For additional details, please refer to the Application Deployment section of the Getting Started Guide.

Preparation

Ensure the Maven profile CloudHub-FINS-DEV has been properly configured in your settings.xml file. In particular, make sure the common properties for your environment have been provided (e.g., Anypoint Platform client ID and secret).

Required property overrides

At a minimum, the following properties must be customized to reflect the target deployment environment.

Property NameDescription
api.autodiscoveryIDRequired if using API Manager to secure this API
anypoint-mq.server-urlAnypoint MQ URL where the message Exchange, Topics, queues have been created
anypoint-mq.client-idAnypoint MQ Client Id to access messages from MQ
anypoint-mq.client-secretAnypoint MQ Client Secret to access messages from MQ
global-party-sys.hostAccelerator MariaDB Global Party System API HostName
global-party-sys.portAccelerator MariaDB Global Party System API Port
global-party-sys.base-pathAccelerator MariaDB Global Party System API Base path
address-validation-sys.hostHostName of FINS Address Validation System API
address-validation-sys.portPort of FINS Address Validation System API
address-validation-sys.base-pathBase Path of FINS Address Validation System APIs
slack-sys.hostHostName of Accelerator Slack System API
slack-sys.portPort of Accelerator Slack System API
slack-sys.base-pathBase Path of Accelerator Slack System API
corelogic-sys.hostFINS Corelogic System API HostName
corelogic-sys.portFINS Corelogic System API Port
corelogic-sys.base-pathFINS Corelogic System API Base path
salesforce-insurance-sys.hostFINS Salesforce Insurance System API HostName
salesforce-insurance-sys.portFINS Salesforce Insurance System API Port
salesforce-insurance-sys.base-pathFINS Salesforce Insurance System API path
marketing-sys.hostFINS Salesforce Marketing System API HostName
marketing-sys.portFINS Salesforce Marketing System API Port
marketing-sys.base-pathFINS Salesforce Marketing System API path
fsc-insurance-org-host-nameHostname of the Salesforce FSC Insurance Org. This is used to create a link to Insurance Policy and Quote in Salesforce FSC Insurance Org from the Slack notification message

Testing

Use Advanced Rest Client or Postman to send a request over HTTPS. The template includes a Postman collection in the src/test/resources folder. Update the collection variable(s) after successful import.

Additional resources


Reviews

TypeTemplate
OrganizationMulesoft Inc.
Published by
MuleSoft Solutions
Published onNov 10, 2023
Asset overview

Asset versions for 1.6.x

Asset versions
VersionActions
1.6.4
1.6.3
1.6.1
1.6.0