BW Broadcast Ltd TX50V2 Manual De Usuario

Descargar
Página de 88
8.8.3
Reading Parameters
Reading one Parameter
To get the value of a specific parameter, use the following request:
”http://IP_ADRESS/api/getParameter?id=PARAMETER_NAME
e.g:
”http://192.168.5.34/api/getParameter?id=transmitter.power”
Response with xml content (text/xml):
”<parameters> <parameter id=”transmitter.power” value=”5.40”/> </parameters>”
Reading all the Parameters
To get a list with all the parameters, use the following request:
”http://IP_ADRESS/api/getparameters”
e.g.:
”http://192.168.5.34/api/getParameters”
Response with xml content (text/xml):
<parameters lastmodified=”1391767126”>
<parameter id=”system.contact” value=””/>
<parameter id=”system.location” value=””/>
<parameter id=”system.username.admin” value=”admin”/>
<parameter id=”system.password.admin” value=”pass”/>
<parameter id=”system.uptime” value=”0 days, 00:09:42”/>
<parameter id=”system.screen.timeout” value=”300”/>
<parameter id=”system.screen.lock.enabled” value=”off”/>
... ...
... ...
... ...
<parameter id=”powerscheduler.finishtime” value=”00:00:00”/>
48