Timezone
Every timezone the Navixy platform supports, with localized descriptions.
This operation returns every timezone the platform supports, with descriptions in the requested locale. It is the list an account picks its timezone from at registration.
It takes no authentication, and accepts none either: a session hash or API key is simply not used. That makes it a useful control when debugging credentials, since it answers whether or not the caller has a working one.
API actions
API base path: /timezone.
Operations that list no errors of their own return only the general error codes.
Return every timezone the platform supports, with descriptions in the requested locale.
No authentication is required, and no session is accepted either: this is registration-time information.
Locale to return the descriptions in, such as en_US.
The supported timezones
true if request finished successfully.
trueBad request. The response body carries the API-level error code in status.code. Validation failures also include an errors array naming each offending parameter.
Error response object
POST /v2/timezone/list HTTP/1.1
Host: api.eu.navixy.com
Content-Type: application/json
Accept: */*
Content-Length: 17
{
"locale": "text"
}{
"success": true,
"list": [
{
"zone_id": "text",
"description": "text",
"base_offset": 1,
"dst_offset": 1,
"country_code": "text",
"alt_ids": [
"text"
],
"ANY_ADDITIONAL_PROPERTY": "anything"
}
]
}Last updated
Was this helpful?