Data types

The RamBase API is using several datatypes in query parameters, filters, request- and response body.

2. Date
3. Time
4. Integer
5. Long
6. Decimal
7. Boolean
8. String

1. DateTime

DateTime follows the ISO-8601 format and is defined in UTC/GMT time

Format yyyy-MM-ddTHH:mm:ss
Example 2014-01-01T12:00:00

2. Date

Date follows the ISO-8601 format

Format yyyy-MM-dd
Example 2014-01-01

3. Time

Time follows the ISO-8601 format

Format HH:mm:ss
Example 12:00:00

4. Integer

Positive and negative whole numbers. Specific fields on resources may have additional limitations on the accepted minimum and maximum values. Both examples below are equivalent.

Minimum value -2,147,483,648
Maximum value 2,147,483,647
Example 12345
Example 12,345 (results in 12345)

5. Long

Larger numbers than integer. Specific fields on resources may have additional limitations on the accepted minimum and maximum values. Both examples below are equivalent.

Minimum value –9,223,372,036,854,775,808
Maximum value 9,223,372,036,854,775,807
Example 123456789012345
Example 123,456,789,012,345

6. Decimal

Decimal value, using a dot "." as the decimal mark.

Note: The comma "," is NOT treated as a decimal mark and will be ignored

Example 123.456 (results in the value 123.456)
Example 123,456 (valid but results in the value 123456)

7. Boolean

Allows the values "True" or "False"

8. String

Text as a sequence of characters