Countries
Use this call to get all available counties in your API call. Contact support if you need more countries. TecDoc supports 248 countries.
Query URL
https://onedb.tecalliance.cn/api/common/getCountries
Query parameter
Name | Type | Required | Example | Description |
---|---|---|---|---|
language | String | Yes | EN | This is the language code according to ISO 639. |
JSON Input
{
"language":"en"
}
RESPONSE
A successful request returns the HTTP 200 OK status code and a JSON response with following parameter.
JSON Output
{
"data": [
{
"countryName": "China",
"countryCode": "CN"
},
{
"countryName": "Germany",
"countryCode": "DE"
}
]
}