IotHub
  1. device
IotHub
  • README
  • Update Record
  • token
    • createToken
      POST
    • destroyToken
      POST
  • customer
    • customerPage
      POST
    • customerTree
      POST
  • device
    • command
      • commandSend
      • commandInfoList
      • cutOilElectric
      • getConfig
    • devicePage
      POST
    • deviceTypes
      POST
    • deviceTypeInfo
      POST
    • deviceDataByDeviceIds
      POST
    • deviceDataByCustomerId
      POST
    • deviceTripInfoByTripId
      POST
    • deviceTripsByDeviceId
      POST
    • expandInfoByDeviceId
      POST
    • saveDeviceChannelName
      POST
  • fence
    • fencePage
      POST
    • fenceInfo
      POST
    • addFence
      POST
    • saveFence
      POST
    • delFence
      POST
    • fenceDevices
      POST
    • fenceDeviceUpdate
      POST
    • fenceDeviceDel
      POST
    • fenceDeviceAdd
      POST
  • push
    • README
  • video
    • H5 page
    • H5 Page-V2
    • liveVideo
    • playBackList
    • historicalUpload
    • playBack
    • replaySet
    • taskPage
    • taskDelete
    • getNodes
  • alarm
    • alarmTypeList
    • alarmFilePage
    • alarmFileByAlarmId
    • alarmHistoryPage
    • alarmPageByUser
  • audio
    • README
    • talk
    • talkPlus
  • gallery
    • filePageV2
    • filePage
    • deleteFile
    • capture
    • capturePage
  • fleet
    • faceRecordPage
  • gps
    • historyData
  • Protocol Analysis
    POST
  1. device

deviceTripInfoByTripId

Singapore
https://mettahub.mettaxiot.com/gps
Singapore
https://mettahub.mettaxiot.com/gps
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
yyyy-MM-dd HH:mm:ss UTF-0
speed
string  | null 
optional
speed
course
string  | null 
optional
course
acc
string  | null 
optional
0:off,1:on
lat
number  | null 
optional
lat
lon
number  | null 
optional
lon
num
integer  | null 
optional
number of satellites
signal
integer  | null 
optional
signal
type
integer  | null 
optional
1 gps 2 lbs 3 wifi
actual
boolean  | null 
optional
msg
string  | null 
optional
Example
{
  "code": 0,
  "data": [
    {
      "reportTime": "",
      "speed": "",
      "course": "",
      "acc": "",
      "lat": 0.0,
      "lon": 0.0,
      "num": 0,
      "signal": 0,
      "type": 0,
      "actual": false
    }
  ],
  "msg": ""
}
Modified at 2025-06-17 03:08:51
Previous
deviceDataByCustomerId
Next
deviceTripsByDeviceId
Built with