FINS Address Validation System API - Implementation Template

(0 reviews)

Data mappings

This document provides information generated from the DataWeave scripts included in the project, such as function definitions, variable definitions, and data mapping tables.

ModuleDescription
postal-address-validation-usps-requestMapping of a single ContactPointAddress to XML format that is used by USPS WebTools API to validate US Postal Address. USPS WebTools API takes XML input of address as a query parameter and this transforms creates the XML

postal-address-validation-usps-request

Mapping of a single ContactPointAddress to XML format that is used by USPS WebTools API to validate US Postal Address.
USPS WebTools API takes XML input of address as a query parameter and this transforms creates the XML

Source: ./src/main/resources/dwl/postal-address-validation-usps-request.dwl

Mapping Tables

Maps ContactPointAddress JSON of CIM to an XML format that is accepted by the USPS Web Tools API (ShippingAPI)

CIM Spec fieldUSPS XML Field used by Web Tools APIDescription
addressLine1Address2addressLine1 is mapped to Address2 field as its the main field needed for validation that holds house and street number
addressLine2Address1addressLine2 is mapped to Address1 and its the unit or apartment number
cityNameCitycity of the address
stateProvinceNameStateState code of the address (abbreviated 2 chars)
postalCodeTextZip55 Digit Zip Code for the address

(back to top)


Reviews

TypeTemplate
OrganizationMulesoft
Published by
MuleSoft Organization
Published onDec 13, 2023
Asset overview

Asset versions for 1.4.x

Asset versions
VersionActions
1.4.4