GetServerInfo : Returns information about server where connection is made
Supported parameters
xml | [true]/[false], default = [false] | Optional parameter. By default function will return JSON data. Functions will return XML data if set as [true] |
format | CSV | Optional parameter. When format=CSV, data in CSV format will be returned. Please make sure not to pass xml parameter (neither True nor False) when format=CSV is sent |
Example | http://endpoint:port/GetServerInfo/?xml=true |
What is returned ?
Server EndPoint where enduser is connected (useful while debugging issues) |
Example of returned data
JSON | XML |
{“ServerID”:”2152-24″} |
<?xml version=”1.0″ encoding=”utf-16″ ?>
<ServerInfoResult xmlns:xsd=”http://www.w3.org/2001/XMLSchema”
xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance”>
ServerID=”2152-24″
/> |
CSV |
ServerID
EF89-18
|