- 3 Minutes to read
- Print
- DarkLight
List all available dynamic timefilters
- 3 Minutes to read
- Print
- DarkLight
List all available dynamic timefilter value.
Optional standard ISO-639-1 language code for translation (when applicable).
Only "de" and "en" supported for the moment.
Default is "en"
OK
[
{
"title": "Today",
"name": "today",
"dynamicFilter": {
"name": "time_dynamic",
"connector": "AND",
"filterPredicate": "LIKE",
"value1": "today",
"value2": "",
"context": "NONE"
}
},
{
"title": "Today, 7 days ago",
"name": "before_7_days",
"dynamicFilter": {
"name": "time_dynamic",
"connector": "AND",
"filterPredicate": "LIKE",
"value1": "before_7_days",
"value2": "",
"context": "NONE"
}
},
{
"title": "Today, 14 days ago",
"name": "before_14_days",
"dynamicFilter": {
"name": "time_dynamic",
"connector": "AND",
"filterPredicate": "LIKE",
"value1": "before_14_days",
"value2": "",
"context": "NONE"
}
}
]
Dynamic Time Filter
Human readable description of the dynamic time filter (localized)
API name of the filter value
Snippet code which can be used in analysis
API Name of the filtered dimension
Filter predicates
Connectors
Context to evaluate the metric/dimension. If context property is not given or empty the default context of the object will be used. The default context can be identified from the context property in the response list of /query-objects.
Value to be filtered on.
Second value to be filtered on. Only relevant for BETWEEN.
No permission to execute operation
Invalid Token
{
"title": "Invalid Token",
"status": 403,
"detail": "Token not valid",
"statusCode": "INVALID_TOKEN"
}
HTTP Status Code
Specific Mapp Error Code
Short description of the problem
Detailed informations about the problem
Each error has specific properties described in following table:
Error | Description | Relevant parameters |
---|---|---|
UnmappedName | At least one object name cannot be found. | List of objects not found in names array. |
PivotIncompatibleMetric | Metric not usable in Pivot detected. | List of incompatible Metrics in names array. |
PivotIncompatibleDimension | Dimension not usable in Pivot detected. | List of incompatible Dimensions in names array. |
AnalysisLogicalCubeMismatch | All Dimensions and Metrics are not compatible. | List of incompatible objects in names array. |
InvalidSortingCriteria | Sorting is applied on a non-sortable object. | List of invalid sorted objects in names array. |
TimeFilterMissing | Each query must have a minimum of one Time Filter. | N/A |
InvalidSegmentNoneContainer | A segment container has context set to NONE but either its connector is not set to AND or its inOrNotIn property is not set to IN. | N/A |
List of internal object names (dimension, metrics, filter, ...) that corresponds to the error.
List of columns aliases that corresponds to the error. See Result Header alias property.
List of object names (dimension, metrics, filter, ...) that corresponds to the error.
Each warnings has specific properties described in following table:
Warning | Description | Relevant parameters |
---|---|---|
FilterLogicalCubeMismatch | At least one filter is ignored due to incompatibily with Dimensions and Metrics used. | List of incomptible filter objects in names array. |
InvalidMetricContext | Metric used in an invalid context. | List of metric with invalid context in aliases array. |
SortingEnforced | Sorting criteria has been added automatically | List of objects that were sorted automatically in aliases array. |
NoSortingDefined | Sorting criteria is required for some dimensions. | List of dimensions requiring a sorting in names array. |
SortingLimitExceeded | 3 sorting criteria are allowed. All additional sorting criteria have been omitted. | List of columns ignored for sorting in aliases array. |
SortingRemoved | A requested sorting criteria has been removed | List of objects that were removed automatically in aliases array. |
TodayRemoved | Today date has been removed from calculation time range because the selected datasource does not contain it. | daysInDataSource, todayDate |
List of internal object names (dimension, metrics, filter, ...) that corresponds to the warning.
List of columns aliases that corresponds to the error. See Result Header alias property.
List of object names (dimension, metrics, filter, ...) that corresponds to the warning.
Number of days in the datasource which is beeing cut
Date of the day being cut