Create global KPI Metric definitions
Create global KPI Metric definitions
application/json
Request Body required
kpiMetricDefinitionDTO
baselineInfoJSON object
apptCreateCategory string[]
brandNameFilter string[]
cpValueFilter string[]
dealerIDList string[]
departmentFilter string[]
groupBy string
orderTypeFilter string[]
payTypeFilter string[]
timeWindow object
endTime int32
endTimeUnit string
Possible values: [SECONDS
, MINUTES
, HOURS
, DAYS
, WEEKS
, MONTHS
, QUARTERS
, YEARS
]
startTime int32
startTimeUnit string
Possible values: [SECONDS
, MINUTES
, HOURS
, DAYS
, WEEKS
, MONTHS
, QUARTERS
, YEARS
]
timeColumnName string
baselineMetricColumnName string
baselineMetricSqlColumn string
baselineMetricSqlFunction string
baselineMetricTable string
category string
isBaselineMetricPresent boolean
kpiMetricTemplatesMap object
property name* KPIMetricTemplate
metricBaselineValueTemplate string
metricDescriptionTemplate string
metricSummaryTemplate string
metricValueTemplate string
metricColumnName string
metricInfoJSON object
apptCreateCategory string[]
brandNameFilter string[]
cpValueFilter string[]
dealerIDList string[]
departmentFilter string[]
groupBy string
orderTypeFilter string[]
payTypeFilter string[]
timeWindow object
endTime int32
endTimeUnit string
Possible values: [SECONDS
, MINUTES
, HOURS
, DAYS
, WEEKS
, MONTHS
, QUARTERS
, YEARS
]
startTime int32
startTimeUnit string
Possible values: [SECONDS
, MINUTES
, HOURS
, DAYS
, WEEKS
, MONTHS
, QUARTERS
, YEARS
]
timeColumnName string
metricSqlColumn string
metricSqlFunction string
metricTable string
name string
Responses
- 200
- 201
- 401
- 403
- 404
OK
application/json
Schema
Example (from schema)
Schema
- Array [
- ]
error object
errorCode string
errorDescription string
kpiMetricDefinition object
baselineInfoJSON object
apptCreateCategory string[]
brandNameFilter string[]
cpValueFilter string[]
dealerIDList string[]
departmentFilter string[]
groupBy string
orderTypeFilter string[]
payTypeFilter string[]
timeWindow object
endTime int32
endTimeUnit string
Possible values: [SECONDS
, MINUTES
, HOURS
, DAYS
, WEEKS
, MONTHS
, QUARTERS
, YEARS
]
startTime int32
startTimeUnit string
Possible values: [SECONDS
, MINUTES
, HOURS
, DAYS
, WEEKS
, MONTHS
, QUARTERS
, YEARS
]
timeColumnName string
baselineMetricColumnName string
baselineMetricSqlColumn string
baselineMetricSqlFunction string
baselineMetricTable string
category string
isBaselineMetricPresent boolean
kpiMetricTemplatesMap object
property name* KPIMetricTemplate
metricBaselineValueTemplate string
metricDescriptionTemplate string
metricSummaryTemplate string
metricValueTemplate string
metricColumnName string
metricInfoJSON object
apptCreateCategory string[]
brandNameFilter string[]
cpValueFilter string[]
dealerIDList string[]
departmentFilter string[]
groupBy string
orderTypeFilter string[]
payTypeFilter string[]
timeWindow object
endTime int32
endTimeUnit string
Possible values: [SECONDS
, MINUTES
, HOURS
, DAYS
, WEEKS
, MONTHS
, QUARTERS
, YEARS
]
startTime int32
startTimeUnit string
Possible values: [SECONDS
, MINUTES
, HOURS
, DAYS
, WEEKS
, MONTHS
, QUARTERS
, YEARS
]
timeColumnName string
metricSqlColumn string
metricSqlFunction string
metricTable string
name string
uuid string
status string
warning object[]
warningCode string
warningDescription string
{
"error": {
"errorCode": "string",
"errorDescription": "string"
},
"kpiMetricDefinition": {
"baselineInfoJSON": {
"apptCreateCategory": [
"string"
],
"brandNameFilter": [
"string"
],
"cpValueFilter": [
"string"
],
"dealerIDList": [
"string"
],
"departmentFilter": [
"string"
],
"groupBy": "string",
"orderTypeFilter": [
"string"
],
"payTypeFilter": [
"string"
],
"timeWindow": {
"endTime": 0,
"endTimeUnit": "SECONDS",
"startTime": 0,
"startTimeUnit": "SECONDS",
"timeColumnName": "string"
}
},
"baselineMetricColumnName": "string",
"baselineMetricSqlColumn": "string",
"baselineMetricSqlFunction": "string",
"baselineMetricTable": "string",
"category": "string",
"isBaselineMetricPresent": true,
"kpiMetricTemplatesMap": {},
"metricColumnName": "string",
"metricInfoJSON": {
"apptCreateCategory": [
"string"
],
"brandNameFilter": [
"string"
],
"cpValueFilter": [
"string"
],
"dealerIDList": [
"string"
],
"departmentFilter": [
"string"
],
"groupBy": "string",
"orderTypeFilter": [
"string"
],
"payTypeFilter": [
"string"
],
"timeWindow": {
"endTime": 0,
"endTimeUnit": "SECONDS",
"startTime": 0,
"startTimeUnit": "SECONDS",
"timeColumnName": "string"
}
},
"metricSqlColumn": "string",
"metricSqlFunction": "string",
"metricTable": "string",
"name": "string",
"uuid": "string"
},
"status": "string",
"warning": [
{
"warningCode": "string",
"warningDescription": "string"
}
]
}
Created
Unauthorized
Forbidden
Not Found
Loading...