-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathasset@{assetId}@mil@history.yaml
More file actions
34 lines (33 loc) · 1.13 KB
/
asset@{assetId}@mil@history.yaml
File metadata and controls
34 lines (33 loc) · 1.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
parameters:
- $ref: "#/components/parameters/assetId"
- $ref: "#/components/parameters/fromDate"
- $ref: "#/components/parameters/toDate"
get:
tags:
- MIL
summary: Get MIL codes history
description: |
Returns an array of the recorded Malfunction Indicator Light (MIL) codes from the vehicle's onboard diagnostics system in a stringified JSON format.
operationId: getMilHistory
security:
- basicAuth: []
responses:
"200":
description: Success
content:
application/json:
schema:
$ref: "#/components/schemas/DTCArray"
example:
- messageId: mdi-1313382935323227381
asset: "3516220738006655"
recordedAt": "2019-12-04T05:54:51Z"
<??????>: "[{\"mode\":7,\"ecu\":\"7E8\",\"dtc\":\"U11F5\"}]"
- messageId: mdi-1313382935323227352
asset: "3516220738006655"
recordedAt": "2019-12-04T06:54:51Z"
<??????>: "[{\"mode\":7,\"ecu\":\"7E8\",\"dtc\":\"U11F5\"}]"
"401":
$ref: "#/components/responses/Unauthorized"
"404":
$ref: "#/components/responses/DataNotFound"