GET /protocols/bacnet/local/objects/{objectType}/{objectInstance}/properties/{propertyName}/
This resource shows all the elements concerning a specific BACnet property and particularly the value attribute.
Used when you are operating a browser without access to the header parameter. This allows you to choose which encoding you want to use for the response:
All these resources can be used according what the resource allows.
If this parameter is not in the request, the Application/Json will be chosen by default.
There are multiple possible values (according the resource):
The first two are the most often used.
This is the object type string value.
This is the instance of a specific BACnet object type.
This is the name of the property.
Object Name: BacnetProperty
Property Name | Type | Description | Method |
---|---|---|---|
Name | String | This property is the name of the BACnet property. | GET |
IsArray | Boolean | This property indicates if the BACnet property is an array or not. | GET |
Implementation | String | GET | |
AsnValue | String | This property is the ASN value of a BACnet property encoded in Base64. | GET |
Value required |
String | This property is the readable value of a BACnet property. According the BACnet property, it's possible the type of this property vary. (See the description of the resource for more details) |
GET POST |
URL Example: https://0.0.0.0/api/rest/v1/protocols/bacnet/local/objects/analog-value/1/properties/object-name
{
"value": "VUBH_2AS01BOWW509PC22_U_",
"asnValue": "dRkAVlVCSF8yQVMwMUJPV1c1MDlQQzIyX1Vf",
"isArray": false,
"implementation": "",
"name": "objectName"
}
URL Example: https://0.0.0.0/api/rest/v1/protocols/bacnet/local/objects/analog-value/1/properties/object-name
<?xml version="1.0" encoding="utf-8"?>
<BacnetProperty>
<Name>objectName</Name>
<IsArray>false</IsArray>
<Implementation />
<AsnValue>dRkAVlVCSF8yQVMwMUJPV1c1MDlQQzIyX1Vf</AsnValue>
<Value>VUBH_2AS01BOWW509PC22_U_</Value>
</BacnetProperty>