GetVersion API
  • 1 Minute to read
  • Dark
    Light
  • PDF

GetVersion API

  • Dark
    Light
  • PDF

Article summary

Retrieves the current version of the Planful application for the tenant.

Syntax

AppVersion = api.GetVersion()

Usage

Use the GetVersion call to retrieve the current version of the Planful application for the tenant. Upon invocation Web Service queries and returns the AppVersion object which contains the version name and version number of the Planful application for the tenant. The Client application must be logged in with sufficient access rights to retrieve the session id.

Response

AppVersion

The GetVersion call returns the AppVersion object which contains the version name and version number of the Planful application for the tenant.

Sample Code

Private Sub getVersion()
Dim api As New HostAPI()
Dim objVersion As APPVersion
Try
'Call the web method to retrieve the API version details
		objVersion = api.getVersion()
		Console.WriteLine("Version Name : " & objVersion.Name)
		Console.WriteLine("Version : " & objVersion.Version)
Catch ex As Exception
End Try
End Sub

Was this article helpful?