developer:soap-1.6:methods:getsysteminfo

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

developer:soap-1.6:methods:getsysteminfo [2012/08/04 11:28] (current)
tem created
Line 1: Line 1:
 +<embed ..:​contents/>​====== 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 =====
 +
 +[[..:​objects:​SystemInfo]] **getSystemInfo** ( [[..:​objects:​ueSecurityToken]] Token ) 
 +
 +
 +===== Arguments =====
 +
 +^Type     ​^Name ​   ^Description ​   ^
 +|[[..:​objects:​ueSecurityToken]] |Token |Merchant security token, used to identify merchant and validate request.|
 +
 +
 +
 +===== Return Value =====
 +
 +|[[..:​objects:​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 [[..:​howto:​php|PHP Soap How-to]].
 +
 +<code php>
 +
 +</​code>​
 +
 +==== .NET VB ====
 +<code vb>
 +Dim info As usaepay.SystemInfo = New usaepay.SystemInfo
 +        info = client.getSystemInfo(token)
 +        MsgBox(info.ApiVersion)
 +</​code>​
 +
 +
 +==== .NET C# ====
 +<code c>
 +           try
 +            {
 +                usaepay.SystemInfo system = client.getSystemInfo(token);​
 +                MessageBox.Show(string.Concat(system.ApiVersion));​
 +
 +            }
 +            catch (Exception err)
 +            {
 +                MessageBox.Show(err.Message);​
 +            }
 +</​code>​
 +
 +===== Change History =====
 +
 +^Version ^Change ^
 +|[[developer:​soap-1.3:​methods:​getsysteminfo|1.3]] | Method added in this release |
developer/soap-1.6/methods/getsysteminfo.txt ยท Last modified: 2012/08/04 11:28 by tem

Page Tools