gateway/updateSensors

上传测量设备数据

URL

http://www.lewei50.com/api/v1/gateway/UpdateSensors/你的网关号

UserKey Required

Yes

Parameter

None

Http Type

post

Post Data

[
    {
        "Name":"T1",
        "Value":"1"
    },
    {
        "Name":"01H1",
        "Value":"96.2"
    }
]

Post Data Remark

  Required Type Description
Name Yes string 测量设备标识
Value Yes string 测量设备当前值

Return Data Format

json

Return Data Example

{
    "Successful": true, 
    "Message": null
}

Return Data Remark

  Type Description
Successful boolean 是否上传成功
Message string 上传出错时的错误信息

Description

注意区分大小写

API Online Test Tool

Online Test