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.
Download OpenAPI description
Overview
URL
SAP Data Quality Management
Languages
Servers
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.
Security
oauth2Authentication
Address data and settings.
Address data.
Example: {"country":"US","mixed":"3999 WEST CHESTER PIKE","locality":"NEWTOWN","region":"PENNSYLVANIA","postcode":""}
Address settings.
Example: {"casing":"mixed","diacritics":"include","streetFormat":"countryCommonStyle","postalFormat":"countryCommonStyle","regionFormat":"countryCommonStyle","scriptConversion":"none"}
Output fields of the address.
Items Enum"std_addr_country_name""std_addr_country_2char""std_addr_country_3char""std_addr_country_3digit""std_addr_locality""std_addr_locality_desc""std_addr_locality_full""std_addr_locality_official""std_addr_locality2""std_addr_locality2_desc"
Example: ["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"]
Generate country suggestion list.
Default false
Example: "false"
Generate type-ahead suggestion list.
Default false
Example: "false"
https://api.cdq.com/sap-dqm/v1/data-curation/rest/v2/businesspartners/curate
- cURL
- Java
- JavaScript
- Python
- Node.js
curl -i -X POST \
https://api.cdq.com/sap-dqm/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"
}
}'
Response
{ "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": "" }