SAP Data Quality Management for location data offers cloud-based services that let you embed address cleansing, geocoding, and reverse geocoding within any business process or application, so that you can reap the value of complete and accurate address data.
https://developer.cdq.com/_mock/apis/sap-dqm-api/v1/api-v1/
https://api.cdq.com/sap-dqm/v1/
Request
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 data.
Address settings.
Output fields of the address.
Generate country suggestion list.
Generate type-ahead suggestion list.
- Mock server
https://developer.cdq.com/_mock/apis/sap-dqm-api/v1/api-v1/data-curation/rest/v2/businesspartners/curate
https://api.cdq.com/sap-dqm/v1/data-curation/rest/v2/businesspartners/curate
- cURL
- Java
- JavaScript
- Python
- Node.js
curl -i -X POST \
https://developer.cdq.com/_mock/apis/sap-dqm-api/v1/api-v1/data-curation/rest/v2/businesspartners/curate \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"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": "" }