Volume
PATCH /setvolumeParameters
Parameter
Data Type
Value
serial
string, required
the serial number of a vssl device
number
integer, required
the zone number.
volume
integer, required
the volume level to set the zone to (0-99)
Response
Status of the call
Example Request
Sample HTTP request
$ curl --request PATCH http://192.168.0.15:8000/api/setvolume?'serial=00BD27EF657D&number=1&volume=33'IP: 192.168.0.15
Host: 8000
Data: "PATCH /api/setvolume?serial=00BD27EF657D&number=1&volume=33 HTTP/1.1\r\n\r\n"$ http PATCH 192.168.0.15:8000/api/setvolume serial==00BD27EF657D number==1 volume==33const axios = require('axios');
axios.patch('http://192.168.0.15:8000/api/setvolume', {
params: {
serial: '00BD27EF657D',
number: 1,
volume: 33
}
}).then((response)=>{
console.log(response);
}).catch((response)=>{
console.log('Error making request');
})Example Response
{
"status": "request sent"
}Last updated
Was this helpful?