Skip to main content
Skip table of contents

Method getVersionInfo

The Webservice’s version identifier can be queried using the getVersionInfo method.

Input parameter: None (authentication data is not required)

Output parameter: VersionInfoResponse

Field name

Data type

Required

Multiple possible

majorVersion

Integer

Yes

No

minorVersion

Integer

Yes

No

buildNumber

Integer

No

No

buildTimestamp

String

No

No

versionInfo

String

No

No

majorVersion
first component of the version number, e.g., 3

minorVersion
second component of the version number, e.g., 0

buildNumber
revision number

buildTimestamp
date created

versionInfo
additional information

Java sample code

JAVA
// No input parameters, no authentication => fire request without
parameter:

VersionInfoResponse versionInfoResponse = servicePort.getVersionInfo();

System.out.println("Version: " + versionInfoResponse.getMajorVersion()
+ "/" + versionInfoResponse.getMinorVersion());

System.out.println("Build : " + versionInfoResponse.getBuildNumber() +
" " + versionInfoResponse.getBuildTimestamp());

Request XML

XML
_This request has no input parameters. So the request XML is empty._

Response XML

XML
<ns2:VersionInfoResponse xmlns:ns2="http://retarus.com/fax4ba/faxws/3/0">
	<buildNumber>301</buildNumber>
	<buildTimestamp>2015-12-14 11:05:25 +0100</buildTimestamp>
	<majorVersion>3</majorVersion>
	<minorVersion>0</minorVersion>
	<versionInfo></versionInfo>
</ns2:VersionInfoResponse>

Exceptions

TemporaryFailure
Appears when a request currently cannot be processed due to an internal error in the Webservice.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.