cURL
curl --request GET \ --url https://apigw.bienport.com/api/resource/{resourceId}/get \ --header 'Authorization: <authorization>' \ --header 'OrganizationId: <organizationid>'
{ "resourceId": 123, "networkId": "<string>", "resourceName": "<string>", "enabled": true, "modelName": "<string>", "brandName": "<string>", "treePath": "<string>", "orgId": 123, "resourceSensors": [ { "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>" } ] } ], "resourceControllers": [ { "hardwareSerialNumber": "<string>", "id": 123, "resourceId": 123, "orderNo": 123, "ioType": "Digital", "ioDirection": "Input", "trueValue": "<string>", "falseValue": "<string>", "description": "<string>", "controllerName": "<string>", "controllerId": 123, "partitions": [ { "name": "<string>", "no": 123 } ] } ], "resourceSubscriptionId": 123, "subscriptionDocumentNo": "<string>", "resourceType": "Device", "deviceSubType": "<string>" }
Access Token
Organization ID
resourceId
Alarm Panel.
Get Resource Response Model
Show child attributes
Device
ThirdParty
Virtual
Gateway