Skip to main content

Version

Returns the current version string of the ECGridOS SOAP API service.

:::caution Established API The SOAP API is in maintenance mode. For new integrations use the REST equivalent. :::

Method Signature

string Version()

Parameters

This method takes no parameters. No SessionID is required — it can be called without authenticating first.

Response

Returns a string containing the API version (e.g., "4.1").

<!-- Example response -->
<VersionResponse xmlns="http://www.ecgridos.net/">
<VersionResult>4.1</VersionResult>
</VersionResponse>

Code Examples

// .NET 10 — dotnet-svcutil generated proxy
// No session required — safe to call before Login()
using var client = new ECGridOSClient(binding, endpoint);

string apiVersion = await client.VersionAsync();

Console.WriteLine($"ECGridOS SOAP API version: {apiVersion}");

:::tip Health check Version() is useful as a lightweight connectivity check. If it returns successfully, the service endpoint is reachable and responding. No credentials are required, so it can be called during application startup diagnostics. :::

REST Equivalent

See VersionGET /v2/auth/version.