- README
- Update Record
- token
- customer
- device
- fence
- push
- video
- alarm
- audio
- gallery
- fleet
- gps
- Protocol AnalysisPOST
getConfig
Singapore
https://mettahub.mettaxiot.com/gps
Singapore
https://mettahub.mettaxiot.com/gps
POST
/v2/openapi/device/command/getConfig
Request
Header Params
Authorization
string
required
Example:
{{token}}
Body Params application/json
deviceId
string | null
required
Example
{
"deviceId": "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/command/getConfig' \
--header 'Authorization: ' \
--header 'Authorization;' \
--header 'Content-Type: application/json' \
--data-raw '{
"deviceId": "string"
}'
Responses
🟢200OK
application/json
Body
code
integer | null
optional
data
object (ApiDeviceGetConfigVO)
optional
basicDetail
object (BasicDetailVO)
optional
network
object (NetworkVO)
optional
video
object (VideoVO)
optional
advancedDriverAssistanceSystem
object (AdvancedDriverAssistanceSystemVO)
optional
driverStatusMonitoringSystem
object (DriverStatusMonitoringSystemVO)
optional
blindSpotMonitoringSystem
object (BlindSpotMonitoringSystemVO)
optional
msg
string | null
optional
Example
{
"code": 0,
"data": {
"basicDetail": {
"heartbeatInterval": "",
"sleepInterval": "",
"emergencyInterval": "",
"defaultTimeInterval": "",
"maxSpeed": "",
"overspeedDuration": "",
"continuousDrivingTimeThreshold": "",
"todayDrivingTimeThreshold": "",
"minimumRestTime": "",
"maximumParkingTime": "",
"collisionTime": "",
"collisionAcceleration": "",
"rolloverAlarmSettings": "",
"graphicVideoQuality": "",
"brightness": "",
"contrast": "",
"saturation": "",
"chroma": "",
"vehicleOdometerReading": "",
"gnssLocationMode": "",
"gnssBaudRate": "",
"gnssOutputFrequency": "",
"gnssGatherFrequency": "",
"alarmShootingSwitch": "",
"alarmStorageIdentification": "",
"keyFlag": ""
},
"network": {
"mainServerAPN": "",
"mainServerUsername": "",
"mainServerPassword": "",
"mainServerAddress": "",
"backupServerAddress": "",
"serverTCPPort": ""
},
"video": {
"channel1Switch": false,
"channel2Switch": false,
"channel3Switch": false,
"channel4Switch": false,
"channel5switch": false,
"channel1StorageFlag": false,
"channel2StorageFlag": false,
"channel3StorageFlag": false,
"channel4StorageFlag": false,
"channel5StorageFlag": false,
"timingUnit": 0,
"timingInterval": 0,
"liveStreamMode": 0,
"streamResolution": 0,
"streamInterval": 0,
"streamFrameRate": 0,
"streamBitRate": 0,
"storageStreamMode": 0,
"storageResolution": 0,
"storageInterval": 0,
"storageFrameRate": 0,
"storageBitRate": 0,
"osdSubtitleSetting": 0,
"enableAudioOutput": 0,
"audioVideoTotal": 0,
"audioTotal": 0,
"videoTotal": 0
},
"advancedDriverAssistanceSystem": {
"alarmSpeed": 0,
"alarmVolume": 0,
"activePhotoStrategy": 0,
"timingPhotoInterval": 0,
"distancePhotoInterval": 0,
"activePhotoNumber": 0,
"activePhotoInterval": 0,
"photoResolution": 0,
"videoResolution": 0,
"alarmEnable": 0,
"eventEnable": 0,
"reserved": 0,
"obsDistance": 0,
"obsSpeed": 0,
"obsVideoTime": 0,
"obsPhotoNumber": 0,
"obsPhotoInterval": 0,
"fclTimeFrame": 0,
"fclJudgmentNumber": 0,
"fclSpeed": 0,
"fclVideoTime": 0,
"fclPhotoNumber": 0,
"fclPhotoInterval": 0,
"ldwSpeed": 0,
"ldwVideoTime": 0,
"ldwPhotoNumber": 0,
"ldwPhotoInterval": 0,
"fcwTime": 0,
"fcwSpeed": 0,
"fcwAlarmVideoTime": 0,
"fcwAlarmPhotoNumber": 0,
"fcwPhotoInterval": 0,
"pcwTime": 0,
"pcwSpeed": 0,
"pcwVideoTime": 0,
"pcwPhotoNumber": 0,
"pcwPhotoInterval": 0,
"dvwDistance": 0,
"dvwSpeed": 0,
"dvwVideoTime": 0,
"dvwPhotoNumber": 0,
"dvwPhotoInterval": 0,
"tsrPhotoNumber": 0,
"tsrPhotoInterval": 0,
"reserved1": 0
},
"driverStatusMonitoringSystem": {
"alarmSpeed": 0,
"alarmVolume": 0,
"activePhotoStrategy": 0,
"activeTimingPhotoInterval": 0,
"activeDistancePhotoInterval": 0,
"singleActivePhotoNumber": 0,
"singleActivePhotoInterval": 0,
"photoResolution": 0,
"videoRecordingResolution": 0,
"alarmEnable": 0,
"eventEnable": 0,
"smokingAlarmInterval": 0,
"callAlarmInterval": 0,
"reserved": "",
"bawsSpeed": 0,
"bawsVideoTime": 0,
"bawsPhotoNumber": 0,
"bawsPhotoInterval": 0,
"callSpeed": 0,
"callVideoTime": 0,
"callPhotoNumber": 0,
"callPhotoInterval": 0,
"smokingSpeed": 0,
"smokingVideoTime": 0,
"smokingPhotoNumber": 0,
"smokingPhotoInterval": 0,
"ddpSpeed": 0,
"ddpVideoTime": 0,
"ddpPhotoNumber": 0,
"ddpPhotoInterval": 0,
"dabSpeed": 0,
"dabVideoTime": 0,
"dabPhotoNumber": 0,
"adabPhotoInterval": 0,
"driverIdentificationTrigger": 0,
"reservedField": 0
},
"blindSpotMonitoringSystem": {
"rearIsApproachingTheAlarmTime": "",
"sideIsApproachingTheAlarmTime": ""
}
},
"msg": ""
}
Modified at 2025-06-24 07:17:40