Optional Fields and Default Values for JSON Data Representations

The API reference documentation uses the term optional in describing JSON data representation fields.

Optional has a slightly different meaning depending on the data type:

  • String: default is null if not specified.

  • int: default is zero (0) if not specified.

  • boolean: default is false if not specified.