...
Info |
---|
The API URI can be modified in the web.xml file. See XML-RPC overview Getting started. |
Example code
Connect to the TermWeb server:
...
Code Block | ||
---|---|---|
| ||
<?xml version="1.0" encoding="UTF-8"?> <methodResponse> <params> <param><value>0<<param><value><i4>0</i4></value></param> </params> </methodResponse> |
Session and version methods
Method | Description | Returns | Return type |
---|---|---|---|
initSession() | Creates a new session for a Guest user with auto-login enabled. | SessionID | string |
initSession(clientLogin) | Creates a new session for the guest user for specified client login. | SessionID | string |
initSession(clientLogin, userLogin, password) | Creates a new session for the specified client login, user name and password. | SessionID | string |
close() | Closes a session (logs out user) on the server. | 0 | int |
getApiVersion() | Returns the version of the API from the server. | The version string | string |
getTermWebVersion() | Returns the TermWeb version from the server. | The version string | string |