上报体温检测记录
POST
https://qyapi.weixin.qq.com/cgi-bin/openhw/device/report_temperature_data
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://qyapi.weixin.qq.com/cgi-bin/openhw/device/report_temperature_data' \
--header 'Content-Type: application/json' \
--data-raw '{
"temperature_data":[
{
"open_userid": "zhangsan",
"user_type":2,
"temperature":"36.7",
"timestamp":12345,
"status":0
}
]
}'
响应示例响应示例
{
"errcode": 0,
"errmsg": "ok",
"fail_list": [
{
"open_userid": "zhangsan",
"user_type": 2,
"timestamp": 12345,
"errcode": 123,
"errmsg": "xxxx"
}
]
}
请求参数
Query 参数
device_access_token
string
可选
示例值:
DEVICE_ACCESS_TOKEN
Body 参数application/json
返回响应
修改于 2022-12-08 07:17:26