Geo details
The below APIs are used to get country, timezone, and language information from Zoho One.
Get country details
This API request retrieves country-level geographic information from Zoho One.
$ curl https://zohoapis.com/one/api/v2/geodetails/country
-H 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'
{
"status_code": 200,
"country": [
{
"country_code": "pr",
"display_name": "Puerto Rico"
},
{
"country_code": "ps",
"display_name": "Palestinian Territories"
},
{
"country_code": "pt",
"display_name": "Portugal"
},
{...},
{...},...
],
"has_more": false,
"resource_name": "country"
}
Get timezone details
This API request retrieves timezone geographic details from the Zoho One.
$ curl https://zohoapis.com/one/api/v2/geodetails/timezone
-H 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'
{
"status_code": 200,
"timezone": [
{
"timezone_id": "America/Cuiaba",
"display_name": " (-04:00) Amazon Standard Time (America/Cuiaba)"
},
{
"timezone_id": "Asia/Aqtobe",
"display_name": " (+05:00) West Kazakhstan Time (Asia/Aqtobe)"
},
{
"timezone_id": "Atlantic/Stanley",
"display_name": " (-03:00) Falkland Islands Standard Time (Atlantic/Stanley)"
},
{...},
{...},...
],
"has_more": false,
"resource_name": "timezone"
}
Get Language details
This API request retrieves language geographic details from the Zoho One.
$ curl https://zohoapis.com/one/api/v2/geodetails/language
-H 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'
{
"status_code": 200,
"language": [
{
"language_code": "ky-kg",
"display_name": "Kyrgyz (Kyrgyzstan)"
},
{
"language_code": "sw-tz",
"display_name": "Swahili (Tanzania)"
},
{
"language_code": "ar-td",
"display_name": "Arabic (Chad)"
},
{...},
{...},...
],
"has_more": false,
"resource_name": "language"
}