TNO database webservice : availability functions

getAvailability

Before using it you should check if everything is ok with this function.
Using the database when getAvailability returns false is not safe, the database can return errors or erroneous data.

SOAP

getAvailability();
Returns true if the database is ready.

REST

GET http://tnodb.obs-besancon.fr/ws/tno/availability
HTTP return code should be "200" and data body "1" if the database is ready. Any other result may be considered as an error.

Back to documentation