API Data Types

Responsys API Data Types

The Responsys API uses the standard data types defined below. These data types conform to their specifications in the World Wide Web Consortium's publication, "XML Schema Part 2: Data Types" (available at http://www.w3.org/TR/xmlschema-2). Data types provide a standardized way to define, send, receive, and interpret data in the request/response messages exchanged between client applications and the Responsys API.

Type Description
boolean Boolean fields have one of these values: true (or 1), or false (or 0).
string and enum Character string data types contain text data. In some cases, the string is enumerated (enum); that is, the text data values are restricted to a specific set of expected values.
int and long Fields of these types contain integers (long ranges from 9223372036854775807 to -9223372036854775808 and int ranges from 2147483647 to -2147483648.)
dateTime Fields defined as dateTime data types handle date/time values (timestamps). Regular dateTime fields are full timestamps with a precision of one second.