Skip to main content
GET
/
api
/
profile
/
get
查询profile
curl --request GET \
  --url https://api.example.com/api/profile/get \
  --header 'Authentication: <authentication>'
{
  "code": 200,
  "message": "操作成功",
  "result": {
    "createTime": "2023-05-08 13:57:18",
    "devSn": "0638633006916920",
    "productModel": "",
    "profile": {
      "config": {
        "sensor": {
          "a": {
            "b": {
              "calc": {
                "base": 0,
                "decimal": 0,
                "mult": 1
              },
              "group": "1",
              "param": {
                "count": 0,
                "offset": 0,
                "read": 3,
                "reg": 98
              },
              "type": "uint32",
              "unit": "Nm³"
            }
          },
          "humidity": {
            "humidity": "a"
          },
          "runtime": {
            "mem": {
              "ddd": "1"
            }
          }
        }
      },
      "props": {
        "basic": {
          "alarmStatus": true,
          "createTime": "2023-05-08 13:57:18",
          "deptId": "78e2374b-8ca0-48eb-9ad9-2546b79bacdb",
          "deptName": "",
          "gatewaySn": "wh_gw001",
          "id": "bfe679893c12411e9f220eba290da404",
          "lastLiveTime": "2023-05-16 19:01:23",
          "location": {
            "address": "西藏自治区那曲市双湖县措折强玛乡云霄湖",
            "lat": 34.152405,
            "lng": 87.202442
          },
          "logoutTime": "2023-05-12 16:54:51",
          "name": "zliu的测试设备",
          "onlineStatus": "online",
          "productModel": "",
          "registerTime": null,
          "sn": "0638633006916920",
          "svcInfo": null,
          "type": "device",
          "updateTime": "2023-05-17 11:34:48",
          "view": null
        },
        "system": {}
      },
      "sensor": {
        "humidity": 10,
        "motion": {
          "person": "xxxxx"
        },
        "runtime": {
          "cpu": 10,
          "mem": "333"
        },
        "temprature": 50
      }
    },
    "updateTime": "2023-05-17 11:34:48"
  },
  "success": true,
  "timestamp": 1684824034003
}

Headers

Authentication
string
required

Query Parameters

idSn
string
required
path
string
productId
string

Response

200 - application/json

The response is of type object.