POST /protocols/nlight/settings/features/{featureName}/
FROM API REVISION 4.0
You can post the object with the value you want to change.
For this resource, only the createBacnetObject
property can be sent.
After the response of this resource the execution can take a few seconds.
To follow the process you can access the resource [Bacnet Mapping process](http://eclypseapi.distech-controls.com/restApi/nlight/resources/1150/GET "BACnet mapping process").
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.
There are multiple possible values according the resource:
If this parameter is not present during the request, and error 415 Unsupported Media Type will be thrown.
The Content-Length entity-header field indicates the size of the entity-body.
This is the nLight feature name.
Object Name: Feature
Property Name | Type | Description | Method |
---|---|---|---|
CreateBacnetObject | Boolean | Set this property to true to create the corresponding BACnet object on the device. Otherwise set it to false to delete them. | GET POST |
Name | String | The name of the nLight feature. | GET POST |
RealName | String | This is the non truncated nLight name. | GET |
URL Example: https://0.0.0.0/api/rest/v1/protocols/nlight/settings/features/dimOutput
{
"createBacnetObject": true
}
URL Example: https://0.0.0.0/api/rest/v1/protocols/nlight/settings/features/dimOutput
<?xml version="1.0" encoding="utf-8"?>
<Feature>
<CreateBacnetObject>true</CreateBacnetObject>
</Feature>