A comprehensive suite of services that provides access to CDQ metadata. It is designed to offer basic services to apply such a metadata, for instance, for parsing.
Metadata API (5)
https://idp.cdq.com/_mock/apis/metadata-api/api-v5/
https://api.corporate-data-league.ch/metadata-api/soap/v5/
https://api.corporate-data-league.ch/metadata-api/
Identifiers
-> Categorize the API endpoints related to operations on identifiers. These operations include getting a list of identifier issuing bodies, which can be filtered and paged by optional query parameters. The metadata provided includes technical keys, names, descriptions, jurisdictions, and associated identifier types among others.
Request
Provides a list of legal form metadata, optionally filtered by country short name. Results are provided on pages, paged by optional query parameters. An optional term, which may be the legal form's name or a (defective) abbreviation, can be used to get metadata for a specific legal form.
- Mock server
https://idp.cdq.com/_mock/apis/metadata-api/api-v5/v3/legalforms
- Production SOAP
https://api.corporate-data-league.ch/metadata-api/soap/v5/v3/legalforms
- Production
https://api.corporate-data-league.ch/metadata-api/v3/legalforms
curl -i -X GET \
-u <username>:<password> \
https://idp.cdq.com/_mock/apis/metadata-api/api-v5/v3/legalforms{ "pageSize": "10", "page": "1", "total": "100", "values": [ { … } ] }
- Mock server
https://idp.cdq.com/_mock/apis/metadata-api/api-v5/v3/legalforms/match
- Production SOAP
https://api.corporate-data-league.ch/metadata-api/soap/v5/v3/legalforms/match
- Production
https://api.corporate-data-league.ch/metadata-api/v3/legalforms/match
curl -i -X POST \
-u <username>:<password> \
https://idp.cdq.com/_mock/apis/metadata-api/api-v5/v3/legalforms/match \
-H 'Content-Type: application/json' \
-d '{
"countryShortName": "DE",
"input": "CDQ Aktienges."
}'{ "input": "CDQ Aktienges. St. Gallen", "inputNormalized": "CDQ Aktienges. St. Gallen", "legalForm": { "url": "https://meta.cdq.com/Business_partner/legal_form", "name": "Aktiengesellschaft", "technicalKey": "AE_2507", "language": { … }, "countryScope": "CH", "mainAbbreviation": "AG", "abbreviations": [ … ], "defectiveAbbreviations": [ … ], "internationalName": "Public Limited Company", "categories": [ … ] }, "matchedString": "Aktienges", "matchPositionStart": "4", "matchPositionEnd": "13", "containsLegalForm": "true", "startsWithLegalForm": "true", "stringBeforeLegalForm": "CDQ", "stringAfterLegalForm": "St. Gallen", "stringCutAfterLegalForm": "CDQ Aktienges.", "stringWithoutLegalForm": "CDQ St. Gallen", "stringWithHarmonizedLegalForm": "CDQ AG St. Gallen", "stringWithHarmonizedLegalFormCutAfterLegalForm": "CDQ AG" }
Request
Matches legal form full names and abbreviations in given strings. To improve a matching outcome, a country short name should be provided to reduce the number of potential patterns. Otherwise, legal forms from all countries will be taken into consideration. Matching is not fuzzy but case-insensitive.
- Mock server
https://idp.cdq.com/_mock/apis/metadata-api/api-v5/v3/legalforms/matchbatch
- Production SOAP
https://api.corporate-data-league.ch/metadata-api/soap/v5/v3/legalforms/matchbatch
- Production
https://api.corporate-data-league.ch/metadata-api/v3/legalforms/matchbatch
curl -i -X POST \
-u <username>:<password> \
https://idp.cdq.com/_mock/apis/metadata-api/api-v5/v3/legalforms/matchbatch \
-H 'Content-Type: application/json' \
-d '[
{
"countryShortName": "DE",
"input": "CDQ Aktienges."
}
]'[ { "input": "CDQ Aktienges. St. Gallen", "inputNormalized": "CDQ Aktienges. St. Gallen", "legalForm": { … }, "matchedString": "Aktienges", "matchPositionStart": "4", "matchPositionEnd": "13", "containsLegalForm": "true", "startsWithLegalForm": "true", "stringBeforeLegalForm": "CDQ", "stringAfterLegalForm": "St. Gallen", "stringCutAfterLegalForm": "CDQ Aktienges.", "stringWithoutLegalForm": "CDQ St. Gallen", "stringWithHarmonizedLegalForm": "CDQ AG St. Gallen", "stringWithHarmonizedLegalFormCutAfterLegalForm": "CDQ AG" } ]
- Mock server
https://idp.cdq.com/_mock/apis/metadata-api/api-v5/v3/legalformcategories
- Production SOAP
https://api.corporate-data-league.ch/metadata-api/soap/v5/v3/legalformcategories
- Production
https://api.corporate-data-league.ch/metadata-api/v3/legalformcategories
curl -i -X GET \
-u <username>:<password> \
https://idp.cdq.com/_mock/apis/metadata-api/api-v5/v3/legalformcategories{ "pageSize": "10", "page": "1", "total": "100", "values": [ { … } ] }
Postal Delivery Points
-> Categorize the API endpoints related to operations on postal delivery points. These operations include reading postal delivery point metadata. The metadata provided includes postal delivery point names, postal delivery point technical keys, and postal delivery point categories.