Primitive data types

The API uses the following primitive data types.

Types

Type Description
String Represents textual data as UTF-8 character sequences. Used for storing text, with some fields having length restrictions based on the data being stored. For example, in the Contact object, the FirstName field allows up to 40 characters, the LastName field allows up to 80 characters, and the MailingStreet field allows up to 255 characters.
Instant Represents a timestamp stored in Coordinated Universal Time (UTC) and following the ISO-8601 format (e.g., “2023-03-22T14:30:00.000Z”).
BigDecimal Represents numbers with decimal points.
Boolean Represents true or false values
Int Represents whole numeric values
ID Represents a unique identifier. Appears as a string in JSON responses but is not intended to be human-readable.
LocalDate Represents a date without a time-zone in the ISO-8601 calendar format.
LocalTime Represents a time without a time-zone in the ISO-8601 calendar format.
Duration Represents the duration in minutes between two instants in time.