- README
- Update Record
- token
- customer
- device
- fence
- push
- video
- alarm
- audio
- gallery
- fleet
- gps
- Protocol AnalysisPOST
deviceTripInfoByTripId
Singapore
Singapore
POST
/v2/openapi/device/gpsTripData
Request
Header Params
Authorization
string
required
Body Params application/json
tripId
string | null
required
Example
{
"tripId": "string"
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://mettahub.mettaxiot.com/gps/v2/openapi/device/gpsTripData' \
--header 'Authorization;' \
--header 'Content-Type: application/json' \
--data-raw '{
"tripId": "string"
}'
Responses
🟢200Success
application/json
Body
code
integer | null
optional
data
array[object (ApiDeviceTripDataVO) {10}] | null
optional
reportTime
string | null
optional
speed
string | null
optional
course
string | null
optional
acc
string | null
optional
lat
number | null
optional
lon
number | null
optional
num
integer | null
optional
signal
integer | null
optional
type
integer | null
optional
actual
boolean | null
optional
msg
string | null
optional
Example
{
"code": 0,
"data": [
{
"reportTime": "",
"speed": "",
"course": "",
"acc": "",
"lat": 0,
"lon": 0,
"num": 0,
"signal": 0,
"type": 0,
"actual": false
}
],
"msg": ""
}
Modified at 2024-11-27 03:17:54