1.2.19 /api/v1/collectpreset

Collects a preset on a given M&C. This tells the referenced device to collect its settings into a preset and to store this preset in the M&C with the given name.

Supported HTTP methods: POST, HEAD, OPTIONS

POST /api/v1/collectpreset/{mncName}/{driverName}/{deviceName}/{presetName}

Collects a preset on a given M&C. This tells the referenced device to collect its settings into a preset and to store this preset in the M&C with the given name. Expects no request body, simply delegates the request to the M&C.

Parameters:

Parameter Description
mncName The name of the M&C at which the preset shall be collected.
driverName The name of the device driver for which the preset shall be collected.
deviceName The name of the device to collect the preset from.
presetName The name of the preset to store.

Return Codes:

Code Description
200 OK, returns the DevicePreset containing the collected preset.
401 not logged in. In this case a ApiError document is returned, describing details of the error.
404 either M&C with the given name exists or at the known M&C there exists no device with the requested name. In this case a ApiError document is returned, describing details of the error.