You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 5
Next »
Types and enumerations
Here are listed all types and enumerations that can be used in REST API.
Attribute type
Value | Description |
---|
String | Attribute with String value |
Numeric | Attribute with numeric value |
Integer | Attribute with Integer value |
Boolean | Attribute with true or false value |
Date | Attribute with date value (without time) |
Time | Attribute with time value (without date) |
DateTime | Attribute with date and time value |
Text | Attribute with long text value |
JSON | Attribute with JSON value |
GeoJSON | Attribute with GeoJSON value |
Point | Attribute with geographic point value |
Indicator type
Value | Description |
---|
DATA_INDICATOR | Data indicator |
FORMULA_INDICATOR | Formula indicator |
INDICATOR_GROUP | Indicator group |
Value | Description |
---|
username | Field for username values |
textfield | Field for text values |
datefield | Field for dates |
checkbox | Field for boolean values |
timestamp | Field for timestamps |
select | Field for selection |
Data Overwriting Policy
Value | Description |
---|
DELETE_ALL | Deletes existing data |
DELETE_BY_MEMBERS | Deletes existing data by members |
DELETE_BY_MEMBERS_WITHOUT_IMPORT | Deletes existing data by members without import |
Import Period
Value | Description | Minutes |
---|
CUSTOM | Specifies custom repeat interval in minutes. | |
HOUR | Hour | 60 |
HOUR2 | 2 hours | HOUR * 2 |
HOUR4 | 4 hours | HOUR * 4 |
HOUR8 | 8 hours | HOUR * 8 |
DAY | Day | HOUR * 24 |
DAY2 | 2 days | DAY * 2 |
WEEK | Week | DAY * 7 |
WEEK2 | 2 weeks | WEEK * 2 |
MONTH | Month | DAY * 31 |
QUARTER | Quarter | MONTH * 3 |
YEAR | Year | DAY * 365 |
Date and time interval type
Value | Description |
---|
absolute | Absolute interval |
relative | Relative interval |
custom | Custom interval |
Date Interval Period
Value | Description |
---|
DAY | Day |
WEEK | Week |
MONTH | Month |
QUARTER | Quarter |
YEAR | Year |
Time Interval Period
Value | Description |
---|
HOUR | Hour |
MINUTE | Minute |
SECOND | Second |