Supported Data Types
Most of the time, when you make a REST API call, both the sent request and delivered response are in JavaScript Object Notation (JSON). The following table lists the JSON data types for REST resource attributes in our REST APIs.
JSON Data Type | Description |
---|---|
string |
Any sequence of characters added between double quotes. Similar to a C or Java string. Example: |
date |
A string value conforming to the ISO 8601 format. For example, the data type for DateValidated is |
datetime |
A string value conforming to the ISO 8601 format. For example, the data type for LastUpdateDate is |
boolean |
A value that must be either |
number |
A numeric value represented in base 10 with no extra leading zero. It includes digits between 0 and 9, can be negative, a fraction, or an exponent of 10 prefixed by |
integer |
A number without a fraction part or an exponent part. |
null |
No value to assign. |
object |
An unordered set of |
array |
An ordered collection of |