This API provides services to curate and enrich Business Partner and address data.
https://idp.cdq.com/_mock/apis/data-curation-api/api-v3/
https://api.cdq.com/data-curation/soap/v3/
https://api.cdq.com/data-curation/
An address provides information about the physical location of a Business Partner. It can be specialized in a certain context(e.g. delivery address or invoice address). Additional documentation can be found here.
CDQ supports multiple versions of addresses comprising different charsets and languages. An address version is a unique combination of a character set and a language.
An identifying name assigned to an address. In most cases the identifying name refers to the name of a registered agent.
ID the address has in the external system where the record originates from.
Signifies an intermediary who is responsible for transferring a piece of mail between the postal system and the final addressee. For example, when the addressee has no standard address, is under a corporate mail system, or is being manually forwarded mail sent to a more accessible location.
Country consisting of the country name and country code (ISO 3166-1 alpha-2).
List of Administrative Areas.
List of Postal Delivery Points.
Decimal geographic coordinates (WGS 84 - reference coordinate system). Additional documentation can be found here.
- Mock server
https://idp.cdq.com/_mock/apis/data-curation-api/api-v3/v2/addresses/format
- Production SOAP
https://api.cdq.com/data-curation/soap/v3/v2/addresses/format
- Production
https://api.cdq.com/data-curation/v2/addresses/format
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
-u <username>:<password> \
https://idp.cdq.com/_mock/apis/data-curation-api/api-v3/v2/addresses/format \
-H 'Content-Type: application/json' \
-H 'X-Credential-Username: 87b1bdb1-ba87-4522-b363-c5a0e6e917b3' \
-d '{
"address": {
"version": {
"characterSet": {
"name": "International",
"technicalKey": "INTERNATIONAL"
},
"language": {
"name": "German",
"technicalKey": "DE"
}
},
"identifyingName": {
"value": "John Doe"
},
"externalId": "1",
"careOf": {
"value": "CDQ GmbH c/o Product Department"
},
"contexts": [
{
"value": "Production hall 7, Storage field 8."
}
],
"country": {
"shortName": "CH",
"value": "Switzerland"
},
"administrativeAreas": [
{
"value": "Sankt Gallen",
"fipsCode": "SZ15",
"isoCode": "CH-SG",
"shortName": "SG",
"type": {
"name": "COUNTY",
"url": "https://meta.cdq.com/Address/administrative_area/type",
"technicalKey": "COUNTY"
},
"language": {
"name": "German",
"technicalKey": "DE"
}
}
],
"postCodes": [
{
"value": "9000",
"type": {
"name": "Regular",
"url": "https://meta.cdq.com/Address/post_code/type",
"technicalKey": "REGULAR"
}
}
],
"localities": [
{
"type": {
"name": "City",
"url": "https://meta.cdq.com/Address/locality/type",
"technicalKey": "CITY"
},
"shortName": "St. Gallen",
"value": "Sankt Gallen",
"language": {
"name": "German",
"technicalKey": "DE"
}
}
],
"thoroughfares": [
{
"type": {
"name": "Industrial zone",
"url": "https://meta.cdq.com/Address/thoroughfare/type",
"technicalKey": "INDUSTRIAL_ZONE"
},
"shortName": "Lukasstr. 4",
"number": "4",
"value": "Lukasstraße 4",
"name": "Lukasstraße",
"direction": "221-bis Baker Street, North",
"language": {
"name": "German",
"technicalKey": "DE"
}
}
],
"premises": [
{
"value": "Lukasstraße 4",
"shortName": "Lukasstr. 4",
"number": "4",
"type": {
"name": "Factory",
"url": "https://meta.cdq.com/Address/premise/type",
"technicalKey": "FACTORY"
},
"language": {
"name": "German",
"technicalKey": "DE"
}
}
],
"postalDeliveryPoints": [
{
"type": {
"name": "Mailbox",
"url": "https://meta.cdq.com/Address/postal_delivery_point/type",
"technicalKey": "MAILBOX"
},
"shortName": "St Gallen, Postfach 460",
"number": "460",
"value": "Postfach",
"language": {
"name": "German",
"technicalKey": "DE"
}
}
],
"geographicCoordinates": {
"latitude": "47.439549",
"longitude": "9.395275"
},
"types": [
{
"name": "Legal Address",
"url": "https://meta.cdq.com/Address/type",
"technicalKey": "LEGAL_ADDRESS"
}
]
}
}'{ "formattedAddress": { "country": "Switzerland", "administrativeArea": "Sankt Gallen", "region": "Sankt Gallen", "regionCode": "9004", "locality": "Sankt Gallen", "district": "City center", "postalCode": "9000", "thoroughfare": "Lukassstrasse", "premise": "Lukasstraße 4, Building 2, Floor 3, Room 4", "interurbanDeliveryPoint": "Sankt Gallen, Postfach 460", "mailbox": "Postfach 460", "postOfficeBox": "Postfach 460" } }
- Mock server
https://idp.cdq.com/_mock/apis/data-curation-api/api-v3/v2/addresses/parse
- Production SOAP
https://api.cdq.com/data-curation/soap/v3/v2/addresses/parse
- Production
https://api.cdq.com/data-curation/v2/addresses/parse
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
-u <username>:<password> \
https://idp.cdq.com/_mock/apis/data-curation-api/api-v3/v2/addresses/parse \
-H 'Content-Type: application/json' \
-H 'X-Credential-Username: 87b1bdb1-ba87-4522-b363-c5a0e6e917b3' \
-d '{
"countryShortName": "CH",
"addressString": "Musterstraße 1, 12345 Musterstadt"
}'OK
An address provides information about the physical location of a Business Partner. It can be specialized in a certain context(e.g. delivery address or invoice address). Additional documentation can be found here.
{ "address": { "version": { … }, "identifyingName": { … }, "externalId": "1", "careOf": { … }, "contexts": [ … ], "country": { … }, "administrativeAreas": [ … ], "postCodes": [ … ], "localities": [ … ], "thoroughfares": [ … ], "premises": [ … ], "postalDeliveryPoints": [ … ], "geographicCoordinates": { … }, "types": [ … ] } }