设备状态上报
已测完
testlpn
testlpn
POST
http://testlpn.ebopark.com{third_url}/parkmall/device
请求参数
Path 参数
third_url
string
第三方接收地址
示例值:
http://www.baidu.com
Query 参数
sign
string
签名
示例值:
123
Body 参数application/json
parkCode
string
停车场编号
channelId
integer
通道编号
garageName
string
所属车库名称
deviceType
string
设备类型
监控相机
出口缴费机器人
deviceId
string
设备编号
deviceIp
string
IP地址
isOnline
integer
是否在线
0为离线
updateTime
string
最近离线时间/最近在线时间
示例
{
"deviceType": "出口缴费机器人",
"deviceIp": "172.16.10.185",
"garageName": "地面车库200100",
"isOnline": 1,
"parkCode": "510185001",
"deviceId": "ATMT03",
"channelId": 1864,
"updateTime": "2025-03-11 15:25:55"
}
示例代码
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://www.baidu.com/parkmall/device?sign=123' \
--header 'Content-Type: application/json' \
--data-raw '{
"deviceType": "出口缴费机器人",
"deviceIp": "172.16.10.185",
"garageName": "地面车库200100",
"isOnline": 1,
"parkCode": "510185001",
"deviceId": "ATMT03",
"channelId": 1864,
"updateTime":"2025-03-11 15:25:55"
}'
返回响应
🟢200成功
application/json
Body
result
string
必需
state
integer
必需
示例
{
"result": "success",
"state": 200
}
修改于 2025-04-07 09:24:11