JT808协议
  1. service
JT808协议
  • web
    • service
      • 0x8103-终端参数设置
        POST
      • 0x8104-查询终端参数
        POST
      • 0x8201-位置信息查询
        POST
      • 0x8202-临时位置跟踪控制
        POST
      • 0x8300-文本信息下发
        POST
      • 0x8302-提问下发
        POST
      • 0x8801-摄像机立即拍照
        POST
      • 0x9101-实时音视频传输请求
        POST
      • 0x9102-音视频实时传输控制
        POST
      • 0x9201-下发远程录像回放请求
        POST
      • 0x9202-下发远程录像回放控制
        POST
      • 0x9205-查询资源列表
        POST
      • 0x9206-文件上传指令
        POST
      • 获取终端运行详情
        GET
      • 0x8801扩展-根据图片名称获取访问地址
        GET
    • notice
      • 获取终端实时运行情况
      • 解析报文
      • 报文详情
  • ftp
    • 0x9205-查询资源列表
      POST
    • 0x9206-文件上传指令
      POST
  1. service

0x8104-查询终端参数

开发中
开发环境
开发环境
POST
/api/v1/jt808/8104

请求参数

Body 参数application/json
key
string 
默认key是手机号
必需
command
enum<integer> 
指令ID
必需
枚举值:
3302733028335363712237123373773737837381373823328133282
默认值:
33027
示例
{
  "key": "14419999999",
  "command": 33028
}

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://127.0.0.1:18000/api/v1/jt808/8104' \
--header 'Content-Type: application/json' \
--data-raw '{
    "key": "14419999999",
    "command": 33028
}'

返回响应

🟢200成功
application/json
Body
code
integer 
必需
msg
string 
必需
data
object 
必需
details
object 
可选
errDescribe
string 
错误详情
必需
command
integer 
发送指令
必需
replyCommand
integer 
回复指令
必需
terminalMessage
string 
终端数据
可选
终端回复的
platformMessage
string 
平台数据
可选
平台下发给终端的
remark
string 
描述
可选
示例
{
  "code": 200,
  "msg": "success",
  "data": {
    "errDescribe": "",
    "command": 260,
    "replyCommand": 260,
    "data": {
      "RespondSerialNumber": 25,
      "RespondParamCount": 91,
      "t0X001HeartbeatInterval": {
        "id": 1,
        "len": 4,
        "value": 5
      },
      "t0X002TCPRespondOverTime": {
        "id": 2,
        "len": 4,
        "value": 60
      },
      "t0X003TCPRetransmissionCount": {
        "id": 3,
        "len": 4,
        "value": 2
      },
      "t0X004UDPRespondOverTime": {
        "id": 4,
        "len": 4,
        "value": 60
      },
      "t0X005UDPRetransmissionCount": {
        "id": 5,
        "len": 4,
        "value": 2
      },
      "t0X006SMSRetransmissionCount": {
        "id": 6,
        "len": 4,
        "value": 60
      },
      "t0X007SMSRetransmissionCount": {
        "id": 7,
        "len": 4,
        "value": 2
      },
      "t0X010APN": {
        "id": 16,
        "len": 11,
        "value": "13012345670"
      },
      "t0X011WIFIUsername": {
        "id": 17,
        "len": 5,
        "value": "12345"
      },
      "t0X012WIFIPassword": {
        "id": 18,
        "len": 5,
        "value": "12345"
      },
      "t0X013Address": {
        "id": 19,
        "len": 14,
        "value": "127.0.0.1:7000"
      },
      "t0X014BackupServerAPN": {
        "id": 20,
        "len": 5,
        "value": "12345"
      },
      "t0X015BackupServerWIFIUsername": {
        "id": 21,
        "len": 5,
        "value": "12345"
      },
      "t0X016BackupServerWIFIPassword": {
        "id": 22,
        "len": 5,
        "value": "12345"
      },
      "t0X017BackupServerAddress": {
        "id": 23,
        "len": 5,
        "value": "12345"
      },
      "t0X018TCPPort": {
        "id": 0,
        "len": 0,
        "value": 0
      },
      "t0X019UDPPort": {
        "id": 0,
        "len": 0,
        "value": 0
      },
      "t0X01AICCardAddress": {
        "id": 26,
        "len": 9,
        "value": "127.0.0.1"
      },
      "t0X01BICCardTCPPort": {
        "id": 27,
        "len": 4,
        "value": 1111
      },
      "t0X01CICCardUDPPort": {
        "id": 28,
        "len": 4,
        "value": 1112
      },
      "t0X01DICCardAddress": {
        "id": 29,
        "len": 9,
        "value": "127.0.0.1"
      },
      "t0X020PositionReportingStrategy": {
        "id": 32,
        "len": 4,
        "value": 0
      },
      "t0X021PositionReportingPlan": {
        "id": 0,
        "len": 0,
        "value": 0
      },
      "t0X022DriverReportingInterval": {
        "id": 34,
        "len": 4,
        "value": 0
      },
      "t0X023FromServerAPN": {
        "id": 35,
        "len": 1,
        "value": "0"
      },
      "t0X024FromServerAPNWIFIUsername": {
        "id": 36,
        "len": 1,
        "value": "0"
      },
      "t0X025FromServerAPNWIFIPassword": {
        "id": 37,
        "len": 1,
        "value": "0"
      },
      "t0X026FromServerAPNWIFIAddress": {
        "id": 38,
        "len": 1,
        "value": "0"
      },
      "t0X027ReportingTimeInterval": {
        "id": 39,
        "len": 4,
        "value": 0
      },
      "t0X028EmergencyReportingTimeInterval": {
        "id": 40,
        "len": 4,
        "value": 0
      },
      "t0X029DefaultReportingTimeInterval": {
        "id": 41,
        "len": 4,
        "value": 0
      },
      "t0X02CDefaultDistanceReportingTimeInterval": {
        "id": 44,
        "len": 4,
        "value": 1000
      },
      "t0X02DDrivingReportingDistanceInterval": {
        "id": 45,
        "len": 4,
        "value": 1000
      },
      "t0X02ESleepReportingDistanceInterval": {
        "id": 46,
        "len": 4,
        "value": 1000
      },
      "t0X02FAlarmReportingDistanceInterval": {
        "id": 47,
        "len": 4,
        "value": 1000
      },
      "t0X030InflectionPointSupplementaryPassAngle": {
        "id": 48,
        "len": 4,
        "value": 10
      },
      "t0X031GeofenceRadius": {
        "id": 49,
        "len": 2,
        "value": 60
      },
      "t0X032IllegalDrivingTime": {
        "id": 50,
        "len": 4,
        "value": [
          22,
          50,
          10,
          30
        ]
      },
      "t0X040MonitoringPlatformPhone": {
        "id": 64,
        "len": 11,
        "value": "13012345671"
      },
      "t0X041ResetPhone": {
        "id": 65,
        "len": 11,
        "value": "13012345672"
      },
      "t0X042RestoreFactoryPhone": {
        "id": 66,
        "len": 11,
        "value": "13012345673"
      },
      "t0X043SMSPhone": {
        "id": 67,
        "len": 11,
        "value": "13012345674"
      },
      "t0X044SMSTxtPhone": {
        "id": 68,
        "len": 11,
        "value": "13012345675"
      },
      "t0X045TerminalTelephoneStrategy": {
        "id": 69,
        "len": 4,
        "value": 1
      },
      "t0X046MaximumCallTime": {
        "id": 70,
        "len": 4,
        "value": 0
      },
      "t0X047MonthMaximumCallTime": {
        "id": 71,
        "len": 4,
        "value": 0
      },
      "t0X048MonitorPhone": {
        "id": 72,
        "len": 11,
        "value": "13012345678"
      },
      "t0X049MonitorPrivilegedSMS": {
        "id": 73,
        "len": 11,
        "value": "13012345679"
      },
      "t0X050AlarmBlockingWords": {
        "id": 80,
        "len": 4,
        "value": 0
      },
      "t0X051AlarmSendTextSMSSwitch": {
        "id": 81,
        "len": 4,
        "value": 0
      },
      "t0X052AlarmShootingSwitch": {
        "id": 82,
        "len": 4,
        "value": 0
      },
      "t0X053AlarmShootingStorageSign": {
        "id": 83,
        "len": 4,
        "value": 0
      },
      "t0X054KeySign": {
        "id": 84,
        "len": 4,
        "value": 0
      },
      "t0X055MaxSpeed": {
        "id": 85,
        "len": 4,
        "value": 60
      },
      "t0X056DurationOverSpeed": {
        "id": 86,
        "len": 4,
        "value": 20
      },
      "t0X057ContinuousDrivingTimeLimit": {
        "id": 87,
        "len": 4,
        "value": 14400
      },
      "t0X058CumulativeDayDrivingTime": {
        "id": 88,
        "len": 4,
        "value": 1800
      },
      "t0X059MinimumRestTime": {
        "id": 89,
        "len": 4,
        "value": 7200
      },
      "t0X05AMaximumParkingTime": {
        "id": 90,
        "len": 4,
        "value": 300
      },
      "t0X05BSpeedWarningDifference": {
        "id": 91,
        "len": 2,
        "value": 80
      },
      "t0X05CFatigueDrivingWarningInterpolation": {
        "id": 92,
        "len": 2,
        "value": 5
      },
      "t0X05DCollisionAlarmParam": {
        "id": 93,
        "len": 2,
        "value": 10
      },
      "t0X05ERolloverAlarmParam": {
        "id": 94,
        "len": 2,
        "value": 30
      },
      "t0X064TimedPhotographyParam": {
        "id": 100,
        "len": 4,
        "value": 1
      },
      "t0X065FixedDistanceShootingParam": {
        "id": 101,
        "len": 4,
        "value": 1
      },
      "t0X070ImageVideoQuality": {
        "id": 112,
        "len": 4,
        "value": 1
      },
      "t0X071Brightness": {
        "id": 113,
        "len": 4,
        "value": 111
      },
      "t0X072Contrast": {
        "id": 114,
        "len": 4,
        "value": 112
      },
      "t0X073Saturation": {
        "id": 115,
        "len": 4,
        "value": 113
      },
      "t0X074Chrominance": {
        "id": 116,
        "len": 4,
        "value": 114
      },
      "t0X080VehicleOdometerReadings": {
        "id": 128,
        "len": 4,
        "value": 36
      },
      "t0X081VehicleProvinceID": {
        "id": 129,
        "len": 2,
        "value": 11
      },
      "t0X082VehicleCityID": {
        "id": 130,
        "len": 2,
        "value": 102
      },
      "t0X083MotorVehicleLicensePlate": {
        "id": 131,
        "len": 8,
        "value": "京AX0001"
      },
      "t0X084LicensePlateColor": {
        "id": 132,
        "len": 1,
        "value": 1
      },
      "t0X090GNSSPositionMode": {
        "id": 144,
        "len": 1,
        "value": 2
      },
      "t0X091GNSSBaudRate": {
        "id": 145,
        "len": 1,
        "value": 1
      },
      "t0X092GNSSModePositionOutputFrequency": {
        "id": 146,
        "len": 1,
        "value": 1
      },
      "t0X093GNSSModePositionAcquisitionFrequency": {
        "id": 147,
        "len": 4,
        "value": 1
      },
      "t0X094GNSSModePositionUploadMethod": {
        "id": 148,
        "len": 1,
        "value": 0
      },
      "t0X095GNSSModeSetPositionUpload": {
        "id": 149,
        "len": 4,
        "value": 1
      },
      "t0X100CANCollectionTimeInterval": {
        "id": 256,
        "len": 4,
        "value": 100
      },
      "t0X101CAN1UploadTimeInterval": {
        "id": 257,
        "len": 2,
        "value": 5000
      },
      "t0X102CAN2CollectionTimeInterval": {
        "id": 258,
        "len": 4,
        "value": 100
      },
      "t0X103CAN2UploadTimeInterval": {
        "id": 259,
        "len": 2,
        "value": 5000
      },
      "t0X0110CANIDSetIndividualAcquisition": {
        "id": 272,
        "len": 8,
        "value": [
          0,
          0,
          0,
          0,
          0,
          0,
          1,
          1
        ]
      },
      "otherContent": {
        "33": {
          "id": 33,
          "len": 4,
          "value": "AAAAAA=="
        },
        "117": {
          "id": 117,
          "len": 21,
          "value": "AAMBkDIAAAAoAAMBkDIAAAAoAAUB"
        },
        "118": {
          "id": 118,
          "len": 19,
          "value": "BAAAAQEAAAICAAADAwAABAQAAA=="
        },
        "119": {
          "id": 119,
          "len": 22,
          "value": "AQEAAwH0MgAAACgAAwH0MgAAACgABQ=="
        },
        "121": {
          "id": 121,
          "len": 3,
          "value": "KAgB"
        },
        "122": {
          "id": 122,
          "len": 4,
          "value": "AAAAIw=="
        },
        "123": {
          "id": 123,
          "len": 2,
          "value": "MjI="
        },
        "124": {
          "id": 124,
          "len": 20,
          "value": "BQAAAAAAAAAAAAAAAAAAAAAAAAA="
        }
      }
    },
    "terminalMessage": "7e010443a20100000000014419999999001a00195b00000001040000000500000002040000003c00000003040000000200000004040000003c00000005040000000200000006040000003c000000070400000002000000100b31333031323334353637300000001105313233343500000012053132333435000000130e3132372e302e302e313a37303030000000140531323334350000001505313233343500000016053132333435000000170531323334350000001a093132372e302e302e310000001b04000004570000001c04000004580000001d093132372e302e302e310000002004000000000000002104000000000000002204000000000000002301300000002401300000002501300000002601300000002704000000000000002804000000000000002904000000000000002c04000003e80000002d04000003e80000002e04000003e80000002f04000003e800000030040000000a0000003102003c000000320416320a1e000000400b3133303132333435363731000000410b3133303132333435363732000000420b3133303132333435363733000000430b3133303132333435363734000000440b3133303132333435363735000000450400000001000000460400000000000000470400000000000000480b3133303132333435363738000000490b313330313233343536373900000050040000000000000051040000000000000052040000000000000053040000000000000054040000000000000055040000003c000000560400000014000000570400003840000000580400000708000000590400001c200000005a040000012c0000005b0200500000005c0200050000005d02000a0000005e02001e00000064040000000100000065040000000100000070040000000100000071040000006f000000720400000070000000730400000071000000740400000072000000751500030190320000002800030190320000002800050100000076130400000101000002020000030300000404000000000077160101000301f43200000028000301f43200000028000500000079032808010000007a04000000230000007b0232320000007c1405000000000000000000000000000000000000000000008004000000240000008102000b000000820200660000008308bea9415830303031000000840101000000900102000000910101000000920101000000930400000001000000940100000000950400000001000001000400000064000001010213880000010204000000640000010302138800000110080000000000000101fd7e",
    "platformMessage": "7e8104400001000000000144199999990019187e"
  }
}
修改于 2025-01-30 09:22:53
上一页
0x8103-终端参数设置
下一页
0x8201-位置信息查询
Built with