- web
- service
- notice
- ftp
0x8302-提问下发
开发中
开发环境
开发环境
POST
/api/v1/jt808/8302
请求参数
Body 参数application/json
key
string
默认key是手机号
command
enum<integer>
指令ID
枚举值:
3302733028335363712237123373773737837381373823328133282
默认值:
33027
data
object
必需
flag
integer
必需
questionContentLen
integer
必需
questionContent
string
必需
answerList
array [object {3}]
必需
示例
{
"key": "14419999999",
"command": 33538,
"data": {
"flag": 255,
"questionContentLen": 3,
"questionContent": "123",
"answerList": [
{
"answerID": 1,
"answerContentLen": 2,
"answerContent": "AA"
},
{
"answerID": 2,
"answerContentLen": 1,
"answerContent": "B"
}
]
}
}
示例代码
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/8302' \
--header 'Content-Type: application/json' \
--data-raw '{
"key": "14419999999",
"command": 33538,
"data": {
"flag": 255,
"questionContentLen": 3,
"questionContent": "123",
"answerList": [
{
"answerID": 1,
"answerContentLen": 2,
"answerContent": "AA"
},
{
"answerID": 2,
"answerContentLen": 1,
"answerContent": "B"
}
]
}
}'
返回响应
🟢200成功
application/json
Body
code
integer
必需
msg
string
必需
data
object
必需
errDescribe
string
错误详情
command
integer
发送指令
replyCommand
integer
回复指令
terminalMessage
string
终端数据
platformMessage
string
平台数据
remark
string
描述
details
object
必需
示例
{
"code": 200,
"msg": "success",
"data": {
"errDescribe": "",
"command": 33538,
"replyCommand": 1,
"details": {
"serialNumber": 19,
"id": 33538,
"result": 0
},
"terminalMessage": "7e00010005001256256927084f0013830200fe7e",
"platformMessage": "7e8302000e0012562569270013ff033132330100024141020001423d7e",
"remark": "平台-提问下发 -> 终端-通用应答"
}
}
修改于 2025-01-30 09:23:55