GET /protocols/bacnet/local/objects/{objectType}/{objectInstance}/
This resource is the access to a specific BACnec object.
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.
Object Name: BacnetObject
Property Name | Type | Description | Method |
---|---|---|---|
ObjectType | String | This is the type name of the BACnet object. | GET |
ObjectInstance | Integer | This property is the instance of the BACnet object. | GET |
BacnetProperties | Array <BacnetProperty> |
This object is an array of BACnetProperty objects. | GET |
URL Example: https://0.0.0.0/api/rest/v1/protocols/bacnet/local/objects/analog-value/1
{
"bacnetProperties": {
"href": "/api/rest/v1/protocols/bacnet/local/objects/analog-value/1/properties",
"name": "bacnetProperties"
},
"objectInstance": 1,
"objectType": "analogValue"
}
URL Example: https://0.0.0.0/api/rest/v1/protocols/bacnet/local/objects/analog-value/1
<?xml version="1.0" encoding="utf-8"?>
<BacnetObject>
<ObjectType>analogValue</ObjectType>
<ObjectInstance>1</ObjectInstance>
<BacnetProperties>
<Href>
/api/rest/v1/protocols/bacnet/local/objects/analog-value/1/properties
</Href>
<Name>bacnetProperties</Name>
</BacnetProperties>
</BacnetObject>