getSystemInfo

Retrieves API version, environment, data-center, time.

Description

This method pulls the system information.

Information accessible through this method includes API version number, environment (production/sandbox/staging), data-center location, and the current time.

Syntax

SystemInfo getSystemInfo ( ueSecurityToken Token )

Arguments

Type Name Description
ueSecurityToken Token Merchant security token, used to identify merchant and validate request.

Return Value

Name Description
SystemInfo Retrieves API version, environment, data-center, time.

Examples

PHP

For directions on how to set up the WSDL link, create "$token" and "$client", go to PHP Soap How-to.

  try {

    $response=$client->getSystemInfo($this->token);
    print_r($response);
}

catch (SoapFault $e){
    echo $client->__getLastRequest();
    echo $client->__getLastResponse();
    $this->fail("Get SystemInfo failed:" .$e->getMessage());
}

.NET VB

    Dim info As usaepay.SystemInfo = New usaepay.SystemInfo
            info = client.getSystemInfo(token)
            MsgBox(info.ApiVersion)

.NET C

               try
                {
                    usaepay.SystemInfo system = client.getSystemInfo(token);
                    MessageBox.Show(string.Concat(system.ApiVersion));

                }
                catch (Exception err)
                {
                    MessageBox.Show(err.Message);
                }