Table of Contents | ||||
---|---|---|---|---|
|
Protocol
The API of RPS is built as standard XML-RPC services. Two ways are possible to access the interface:
...
3.5.1 Positive Answer
Code Block | ||
---|---|---|
| ||
<?xml version="1.0" encoding="UTF-8"?> <methodResponse xmlns:ex="http://ws.apache.org/xmlrpc/namespaces/extensions"> <params> <param> <value> <array> <data> <value> <boolean>1</boolean> </value> <value>OK</value> </data> </array> </value> </param> </params> </methodResponse> |
...
MAC address(es) overriding failed → Failed to override the previous MAC address
7.4 Request
Code Block | ||
---|---|---|
| ||
<?xml version='1.0' encoding='UTF-8'?> <methodCall> <methodName>redirect.registerDevices</methodName> <params> <param> <value> <array> <data> <value> <string><![CDATA[001fc1000001]]></string> </value> <value> <string><![CDATA[001fc1000002]]></string> </value> … </data> </array> </value> </param> <param> <value> <string><![CDATA[serverName]]></string> </value> </param> <param> <value> <string><![CDATA[0/1]]></string> </value> </param> </params> </methodCall> |
...
The url can only begin with 'http://' or 'https://' or 'ftp://' or 'tftp://' → Invalid format of URL
The server name cannot be empty. → The serverName should not be empty.
...
Code Block | ||
---|---|---|
| ||
<?xml version='1.0' encoding='UTF-8'?> <methodCall> <methodName>redirect.addServer</methodName> <params> <param> <value> <value> <string><![CDATA[serverName]]></string> </value> </param> <param> <value> <value> <string><![CDATA[serverUrlserverURL]]></string> </value> </param> </params> </methodCall> |
9.5 Answer
...