aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--swagger.json58
1 files changed, 57 insertions, 1 deletions
diff --git a/swagger.json b/swagger.json
index 8fdbbf867..4870441b9 100644
--- a/swagger.json
+++ b/swagger.json
@@ -1118,7 +1118,7 @@
},
"deviceId": {
"type": "integer"
- },
+ },
"protocol": {
"type": "string"
},
@@ -1405,6 +1405,62 @@
},
"attributes": {}
}
+ },
+ "ReportSummary": {
+ "properties": {
+ "deviceId": {
+ "type": "integer"
+ },
+ "deviceName": {
+ "type": "string"
+ },
+ "maxSpeed": {
+ "type": "number"
+ },
+ "averageSpeed": {
+ "type": "number"
+ },
+ "distance": {
+ "type": "number"
+ },
+ "engineHours": {
+ "type": "integer"
+ }
+ }
+ },
+ "ReportTrips": {
+ "properties": {
+ "deviceId": {
+ "type": "integer"
+ },
+ "deviceName": {
+ "type": "string"
+ },
+ "maxSpeed": {
+ "type": "number"
+ },
+ "averageSpeed": {
+ "type": "number"
+ },
+ "distance": {
+ "type": "number"
+ },
+ "duration": {
+ "type": "integer"
+ },
+ "startTime": {
+ "type": "string"
+ },
+ "startAddress": {
+ "type": "string"
+ },
+ "endTime": {
+ "type": "string"
+ },
+ "endAddress": {
+ "type": "string"
+ }
+ }
}
}
} \ No newline at end of file