Supported Data Types
The following table lists the supported data types for the resource attributes in REST API services.
Generic Data Types
These are generic data types supported for REST resources, and are not specific to CPQ resources. View JSON Syntax for CPQ Attributes to view information and examples for CPQ resources.
Data Type | Description |
---|---|
string
|
A JSON string is similar to a C or Java string. Note: The For example, data type for DateValidated is |
boolean
|
A JSON boolean. |
number
|
A JSON number. This data type doesn't include the octal and hexadecimal formats. |
integer
|
A JSON number without a fraction part or an exponent part. |
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.
|
array
|
A JSON array is an ordered collection of values .
|
Note:
Refer to the following items for more information: