Data Types

The Survey API uses these custom data structures, including enumerated types.

A Data Type defines structure for organizing and containing a specific set of data. Data types can consist of two or more elements, each of which may be an array, enumeration, structure, or "primitive" element. Adobe defines data types using the following convention:

<namespace>:<type>

For example:

  • xsd:int indicates that the data type is part of the xsd namespace (XML Schema Definition), and that the type is int (Integer). XML defines certain primitive (common) data types such as int, string or date. The XML Schema Definition describes all primitive data types.
  • code_items indicates that the data type is part of the tns namespace (a private Adobe namespace), and that the custom data type is code_items. The tns namespace prefixes all Marketing Cloud's custom data types.

Comments (0)

Must be logged in to comment. or register now to comment!