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

ValueDescription
StringAttribute with String value
NumericAttribute with numeric value
IntegerAttribute with Integer value
BooleanAttribute with true or false value
DateAttribute with date value (without time)
TimeAttribute with time value (without date)
DateTimeAttribute with date and time value
TextAttribute with long text value
JSONAttribute with JSON value
GeoJSONAttribute with GeoJSON value
PointAttribute with geographic point value

Indicator type

ValueDescription
DATA_INDICATORData indicator
FORMULA_INDICATORFormula indicator
INDICATOR_GROUPIndicator group

Import form field type

ValueDescription
usernameField for username values
textfieldField for text values
datefieldField for dates
checkboxField for boolean values
timestampField for timestamps
selectField for selection

Data Overwriting Policy

ValueDescription
DELETE_ALLDeletes existing data
DELETE_BY_MEMBERSDeletes existing data by members
DELETE_BY_MEMBERS_WITHOUT_IMPORTDeletes existing data by members without import

Import Period

ValueDescriptionMinutes
CUSTOMSpecifies custom repeat interval in minutes. 
HOURHour60
HOUR22 hoursHOUR * 2
HOUR44 hoursHOUR * 4
HOUR88 hoursHOUR * 8
DAYDayHOUR * 24
DAY22 daysDAY * 2
WEEKWeekDAY * 7
WEEK22 weeksWEEK * 2
MONTHMonthDAY * 31
QUARTERQuarterMONTH * 3
YEARYearDAY * 365

Date and time interval type

ValueDescription
absoluteAbsolute interval
relativeRelative interval
customCustom interval

Date Interval Period

ValueDescription
DAYDay
WEEKWeek
MONTHMonth
QUARTERQuarter
YEARYear

Time Interval Period

ValueDescription
HOURHour
MINUTEMinute
SECONDSecond
  • No labels