Create dealer KPI Metric definitions
Create dealer KPI Metric definitions
Path Parameters
dealerUUID
Request Body required
request
baselineInfoJSON object
timeWindow object
Possible values: [SECONDS
, MINUTES
, HOURS
, DAYS
, WEEKS
, MONTHS
, QUARTERS
, YEARS
]
Possible values: [SECONDS
, MINUTES
, HOURS
, DAYS
, WEEKS
, MONTHS
, QUARTERS
, YEARS
]
kpiMetricTemplatesMap object
property name* KPIMetricTemplate
metricInfoJSON object
timeWindow object
Possible values: [SECONDS
, MINUTES
, HOURS
, DAYS
, WEEKS
, MONTHS
, QUARTERS
, YEARS
]
Possible values: [SECONDS
, MINUTES
, HOURS
, DAYS
, WEEKS
, MONTHS
, QUARTERS
, YEARS
]
- 200
- 201
- 401
- 403
- 404
OK
Schema
- Array [
- ]
dealerKPIMetricDefinitionDTO object
baselineInfoJSON object
timeWindow object
Possible values: [SECONDS
, MINUTES
, HOURS
, DAYS
, WEEKS
, MONTHS
, QUARTERS
, YEARS
]
Possible values: [SECONDS
, MINUTES
, HOURS
, DAYS
, WEEKS
, MONTHS
, QUARTERS
, YEARS
]
kpiMetric object
baselineInfoJSON object
timeWindow object
Possible values: [SECONDS
, MINUTES
, HOURS
, DAYS
, WEEKS
, MONTHS
, QUARTERS
, YEARS
]
Possible values: [SECONDS
, MINUTES
, HOURS
, DAYS
, WEEKS
, MONTHS
, QUARTERS
, YEARS
]
kpiMetricTemplatesMap object
property name* KPIMetricTemplate
metricInfoJSON object
timeWindow object
Possible values: [SECONDS
, MINUTES
, HOURS
, DAYS
, WEEKS
, MONTHS
, QUARTERS
, YEARS
]
Possible values: [SECONDS
, MINUTES
, HOURS
, DAYS
, WEEKS
, MONTHS
, QUARTERS
, YEARS
]
kpiMetricTemplatesMap object
property name* KPIMetricTemplate
metricInfoJSON object
timeWindow object
Possible values: [SECONDS
, MINUTES
, HOURS
, DAYS
, WEEKS
, MONTHS
, QUARTERS
, YEARS
]
Possible values: [SECONDS
, MINUTES
, HOURS
, DAYS
, WEEKS
, MONTHS
, QUARTERS
, YEARS
]
error object
warning object[]
{
"dealerKPIMetricDefinitionDTO": {
"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"
}
},
"dealerUuid": "string",
"kpiMetric": {
"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"
},
"kpiMetricTemplatesMap": {},
"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"
}
},
"sortOrder": 0,
"uuid": "string"
},
"error": {
"errorCode": "string",
"errorDescription": "string"
},
"status": "string",
"warning": [
{
"warningCode": "string",
"warningDescription": "string"
}
]
}
Created
Unauthorized
Forbidden
Not Found