Tometa WhereIs Service

VersionID SOAP Header

The VersionID header can be applied to the following web methods: LookupCountry, LookupCountries, LookupFullInfo and GetAllRecords.

A list of all available database versions can be obtained by calling the web method GetAvailableDBVersions.

Sample

// Setup service proxy instance
...
// Lookup for available databases
DBVersion[] databases = service.GetAvailableDBVersions();
// Set VersionID header to first available database
service.DBVersionHeaderValue.verid = databases[0].id;
// Now any method can be called with VersionID header applied
...

See Also

How to a setup service proxy instance (C#) | GetAvailableDBVersions WebMethod | LookupCountry WebMethod | LookupCountries WebMethod | LookupFullInfo WebMethod | GetAllRecords WebMethod