This section describes the data types that can be specified by using the REST API.
The following table shows the data types supported by the REST API 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: