Skip to main content
Skip table of contents

5.1 API Data Types

The following primitive data types are used by the Thru REST Services API:

  • String: Sequence of characters in UTF-8 encoding. Empty string is used to represent a non-initialized string value

  • Integer: 32-bit integer number. Empty value indicates NULL-value

  • Long: 64-bit integer number. Empty value indicates NULL-value

  • Boolean: Boolean value. Possible values: True, False. Empty value indicates NULL-value

  • DateTime: Represents an instant in time, expressed as a date and time of day.
    In Thru REST services API, Empty value indicates NULL-value.

DateTime is represented as a JSON string in following format /Date(ticks)/, where ticks represents the number of milliseconds since January 1, 1970 in Universal Coordinated Time (UTC).

Example: “/Date(1337174868623)/”.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.