POST /protocols/enocean/devices/start-learn
FROM API REVISION 7.0
This request is used to start the learn of enOcean devices.
If there is an error during the execution of the discovery, you can receive a 400 Bad Request error.
When the request succeed you will get a Job ID to allow you to know when the learn is finished.
There is no body required.
See the [jobs api](http://eclypseapi.distech-controls.com/restApi/jobs "Jobs documentation") for more details.
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.
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.
URL Example: https://0.0.0.0/api/rest/v1/protocols/enocean/devices/start-learn
{
"jobId": "f327667c-c200-4ce3-86c7-fbae05edc65e"
}
URL Example: https://0.0.0.0/api/rest/v1/protocols/enocean/devices/start-learn
<?xml version="1.0" encoding="utf-8"?>
<StartDiscovery>
<JobId>f327667c-c200-4ce3-86c7-fbae05edc65e</JobId>
</StartDiscovery>