nma.timezones.detailed.list
- Title: Get NMA timezones detailed list
- Description: return timezones detailed list for UI
Edit
Edit
Edit
Field | Type | Description |
---|---|---|
timezones | array | array of timezones strings |
Edit
Edit
- request:
{
"id": "Z4E40EE6F",
"method": "nma.timezones.detailed.list",
"params": {}
}
- response(success):
{
"id": "Z4E40EE6F",
"method": "nma.timezones.detailed.list",
"error": null,
"result": {
"timezones": [
{ "name": "America/Chicago", "current_gmt_offset": 10800 },
{ "name": "Europe/Paris", "current_gmt_offset": 10801 },
]
}
}
- response(failure):
{
"id": "Z4E40EE6F",
"method": "nma.timezones.detailed.list",
"error": {
"code": 24,
"data": "cloud.error.http_request_failed"
},
"result": {}
}
Edit
Code | Description |
---|---|
24 | cloud.error.http_request_failed |