Data type

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
This section describes the data types that can be specified by using REST API requests that include simple in the request line.

The following table shows the data types supported by REST API requests that include simple in the request line and the corresponding JSON data types.

Data type

JSON type

Description

boolean

boolean

A type that represents true or false.

Example: true

int

number

A type that represents a 32-bit signed integer.

Example: 100

long

number

A type that represents a 64-bit signed integer.

Example: 1048576

string

string

A type that represents a character string.

Example: "DKR5D-J900SS"

ISO8601string

string

A type that represents time in the ISO 8601 extended format (YYYY-MM-DDThh:mm:ssZ).

The only time zone that you can specify is UTC.

Example: "2017-09-30T09:27:35Z"

In addition to the preceding data types, the following JSON data types are also used:

Object type
The character string, in which the attribute and value are connected with a colon (:), is enclosed in { and }. If more than one attribute-value pair exists, the pairs are separated by commas.
Array type
The character string, in which multiple values are separated by commas, is enclosed in [ and ].