GET /protocols/bacnet/remote/devices/{remoteDeviceId}/
FROM API REVISION 6.0
This will list all the information about the Remote Device.
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.
To address the raw value of a primitive property, clients append a path segment containing the string $value to the property URL.
To use this query option you need to use the classic resource and add the element name you want to print followed by the query string name.
Be careful, the parameter query string is used in the URL and is not like other parameters.
The $select system query option allows clients to request a limited set of properties for each entity.
The value pass in the parameter can be:
*
"(star): This will show all child elements.,
" (comma).If there is no value after the select query option, the parameter will be ignored. All the values that are not specified will not be printed in the response.
The $expand system query option specifies the related resources to be included in line with retrieved resources.
The value passed in the parameter can be:
*
"(star): This will expand all child elements.,
" (comma).The $expand system query option can be used with the $levels query option, to expand recursively.
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 instance number of the device.
Object Name: Device
Property Name | Type | Description | Method |
---|---|---|---|
BacnetObjects | Array <BacnetObject> |
This object is an array of BacnetObjectType object. | GET |
Name | String | Name of the device. | GET |
MacAddress | String | This is the Mac Address of the device. | GET |
ModelType | String | GET | |
InstanceNumber | Integer | This is this Id of the device. | GET |
NetworkNumber | Integer | GET | |
IpAddress | String | The device's IP Address. | GET |
IpPort | Integer | The device's IP port. | GET |
LinkService | String | GET |
URL Example: https://0.0.0.0/api/rest/v1/protocols/bacnet/remote/devices/83218
{
"linkService": "N/A",
"networkNumber": "1",
"modelType": "10016C000502040D",
"name": "ECY-S1000-E9BB56",
"ipPort": "47808",
"instanceNumber": 83218,
"macAddress": "[AA,BB,CC,DD,00,11]",
"objects": {
"href": "/api/rest/v1/protocols/bacnet/remote/devices/83218/objects",
"name": "objects"
},
"ipAddress": "1.2.3.4"
}
URL Example: https://0.0.0.0/api/rest/v1/protocols/bacnet/remote/devices/83218
<?xml version="1.0" encoding="utf-8"?>
<Device>
<Name>ECY-S1000-E9BB56</Name>
<MacAddress>[AA,BB,CC,DD,00,11]</MacAddress>
<ModelType>10016C000502040D</ModelType>
<InstanceNumber>83218</InstanceNumber>
<NetworkNumber>1</NetworkNumber>
<IpAddress>1.2.3.4</IpAddress>
<IpPort>47808</IpPort>
<LinkService>N/A</LinkService>
<Objects>
<Href>
/api/rest/v1/protocols/bacnet/remote/devices/83218/objects
</Href>
<Name>objects</Name>
</Objects>
</Device>