The endpoint parses, standardizes, corrects, validates, and enhances address data. Address cleansing also includes geocode processing automatically when you request at least one geocode-related field.
See https://help.sap.com/viewer/d95546360fea44988eb614718ff7e959/Cloud/en-US/0d5cdf3b816e45ddb03fe3b425886431.html for details.
Address data and settings.
Address cleanse results
Bad request. The user needs to change something before the request can be successful.
Unauthorized. Authorization failed.
Forbidden. You are not allowed to process the request.
Internal server error. The request could not be processed. Try again.
Service unavailable. The required service is not currently available. Try again.
{- "addressInput": {
- "country": "US",
- "mixed": "3999 WEST CHESTER PIKE",
- "locality": "NEWTOWN",
- "region": "PENNSYLVANIA",
- "postcode": ""
}, - "outputFields": [
- "std_addr_address_delivery",
- "std_addr_locality_full",
- "std_addr_region_full",
- "std_addr_postcode_full",
- "std_addr_country_2char",
- "addr_latitude",
- "addr_longitude",
- "addr_asmt_level",
- "addr_info_code",
- "addr_info_code_msg",
- "geo_asmt_level",
- "geo_info_code",
- "geo_info_code_msg"
], - "addressSettings": {
- "casing": "mixed",
- "diacritics": "include",
- "streetFormat": "countryCommonStyle",
- "postalFormat": "countryCommonStyle",
- "regionFormat": "countryCommonStyle",
- "scriptConversion": "none"
}
}
{- "std_addr_locality_full": "Newtown Sq",
- "addr_longitude": -75.416103,
- "addr_info_code_msg": "",
- "addr_info_code": "",
- "std_addr_postcode_full": "19073-2305",
- "geo_asmt_level": "PRE",
- "addr_asmt_level": "PR",
- "addr_latitude": 39.985662,
- "geo_info_code": "",
- "std_addr_region_full": "PA",
- "std_addr_address_delivery": "3999 W Chester Pike",
- "std_addr_country_2char": "US",
- "geo_info_code_msg": ""
}