
Chapter 10 XML interface
Result:
<Result>
<updated>2</updated>
</Result>
Explanation:
geraetid
Specifies that the entry point for the request is the device table.
[devclass=2700]
Specifies that the action should apply to all of the devices that are compatible with the
myDatalog4 type site.
$fw_update=1
Specifies that the "Firmware update" should be set to "On".
$fw_release_type=1
Specifies that the "Firmware type" should be set to "Release candidate".
The following example sets the "Firmware Update" to "Off" for the device with serial number
"010146AF251D0BA9".
https://server-URL:8080/geraetid[devsn='010146AF251D0BA9']
?user=u1&password=p1&$fw_update=0
Result:
<Result>
<updated>1</updated>
</Result>
Explanation:
geraetid
Specifies that the entry point for the request is the device table.
[devsn='010146AF251D0BA9']
Specifies that the action should apply to the device with serial number "010146AF251D0BA9".
$fw_update=0
Specifies that the "Firmware update" should be set to "Off".
10.3.2 Format of the XML result
The result is an XML document for which the root element is
<Result>
. At least one child element is
issued with the title of the table for each data record.
The data records generally have the following attributes:
Attribute
Explanation
id
Unique number of the data record
stamp
Time stamp of the data record
Rev. 01
103