Delivers the list of driver variable which may be stored in a preset for a given device driver.
Supported HTTP methods: GET, HEAD, OPTIONS
GET /api/vi/presetvars/{mncName}/{driverName}
Returns a PresetVars document containing the requested list of preset-storable variables. The backend reads the device driver driverName.device from the given M&C, compiles the driver text and selects the preset storable variables from the compiled list. The returned PresetVars document contains the Range definitions for all variables of the driver which may appear in a device preset. The messageId field in each Range object is set to the name of the variable.
Parameters:
| Parameter | Description |
|---|---|
| mncName | The name of the M&C from which the variable list shall be loaded. |
| driverName | The name of the device driver for which the variable list shall be evaluated. |
Return Codes:
| Code | Description |
|---|---|
| 200 | OK, returns a PresetVars document containing the requested variable list. |
| 401 | not logged in. In this case a ApiError document is returned, describing details of the error. |
| 404 | either no M&C with the given name exists, or at the known M&C there exists no device driver with the given name. In this case a ApiError document is returned, describing details of the error. |