Getting a list of time zones that can be used in a storage system

REST API Reference Guide for Virtual Storage Platform 5000, Virtual Storage Platform E Series, and Virtual Storage Platform G/F Series

Version
93-07-0x
90-09-0x
88-08-10
Audience
anonymous
Part Number
MK-98RD9014-17
The following request checks the time zones that can be used when you set the system date and time of a storage system or other information.
Note:

You can use this API function for VSP E series, VSP G350, G370, G700, G900, VSP F350, F370, F700, F900.

Execution permission

Storage Administrator (View Only)

Request line

GET base-URL/v1/objects/time-zones

Request message

Object ID

None.

Query parameters

None.

Body

None.

Response message

Body
{
  "data": [
    {
      "timeZoneId": "Etc/GMT+12",
      "timeZone": "(UTC-12:00)",
      "displayName": "International Date Line West",
      "observesDaylightSavingTime": false
    },
    {
      "timeZoneId": "Etc/GMT+11",
      "timeZone": "(UTC-11:00)",
      "displayName": "Coordinated Universal Time-11",
      "observesDaylightSavingTime": false
    },
    {
      "timeZoneId": "Pacific/Honolulu",
      "timeZone": "(UTC-10:00)",
      "displayName": "Hawaii",
      "observesDaylightSavingTime": false
    }
  ]
}

Attribute

Type

Description

timeZoneId

string

Time zone ID

timeZone

string

Time zone

displayName

string

Displays the name of the time zone

observesDaylightSavingTime

boolean

Whether daylight saving time is supported
  • true: Daylight saving time is supported.
  • false: Daylight saving time is not supported.

Status codes

The following table describes the meaning of the status code of the request for this operation. For details on other status codes, see the description of HTTP status codes.

Status code

Message

Description

412

Precondition Failed

The microcode version of the storage system does not support this operation.

Coding example

curl -v -H "Accept:application/json" -H "Content-Type:application/json" -H "Authorization:Session d7b673af189048468c5af9bcf3bbbb6f" -X GET https://192.0.2.100/ConfigurationManager/v1/objects/time-zones