Supported Data Types

The following table lists the supported data types for the resource attributes in REST API.

Data Type Description
array A JSON array is an ordered collection of values.
boolean A JSON boolean.
date A date value is represented as a JSON string conforming to the ISO 8601 format.

For example, data type for DateValidated is string (date).

datetime A datetime value is also represented as a JSON string conforming to the ISO 8601 format.

For example, data type for LastUpdateDate is string (date-time).

integer A JSON number without a fraction part or an exponent part.
number A JSON number. This data type doesn't include the octal and hexadecimal formats.
null The JSON null value.
object A JSON object is an unordered set of name and value pairs. A name is a string and a value is a string, number, boolean, null, object, or array.
string A JSON string is similar to a C or Java string.