Skip to main content
GET
/
panel
/
{resourceId}
/
sensor
/
list
Find sensors by Panel Id
curl --request GET \
  --url https://apigw.bienport.com/api/panel/{resourceId}/sensor/list \
  --header 'Authorization: <authorization>' \
  --header 'OrganizationId: <organizationid>'
{
  "type": "<string>",
  "sensors": [
    {
      "id": 123,
      "resourceId": 123,
      "orderNo": 123,
      "ioType": "Digital",
      "ioDirection": "Input",
      "trueValue": "<string>",
      "falseValue": "<string>",
      "partitions": [
        {
          "name": "<string>",
          "no": 123
        }
      ],
      "sensorId": 123,
      "description": "<string>",
      "hardwareSerialNumber": "<string>",
      "sensorName": "<string>"
    }
  ]
}

Headers

Authorization
string
required

Access Token

OrganizationId
string
required

Organization ID

Path Parameters

resourceId
integer
required

resourceId

Response

Sensors connected to the panel

type
string
sensors
ResourceSensorData · object[]