Authorization: ********************{
"deviceId": "string",
"start": "string",
"end": "string",
"type": "string"
}curl --location --request POST 'https://mettahub.mettaxiot.com/gps/v2/openapi/device/gpsTrip' \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"deviceId": "string",
"start": "string",
"end": "string",
"type": "string"
}'{
"code": 0,
"data": {
"totalMileage": 0.0,
"totalTime": 0,
"avgSpeed": 0.0,
"maxSpeed": 0.0,
"deviceData": [
{
"tripId": "",
"deviceId": "",
"startTime": "",
"startLat": 0.0,
"startLon": 0.0,
"pointType": "",
"endTime": "",
"endLat": 0.0,
"endLon": 0.0,
"totalTime": 0,
"totalMileage": 0.0,
"avgSpeed": 0.0,
"maxSpeed": 0.0
}
]
},
"msg": ""
}