TNO database webservice : numberof functions

getNumberOf

This function returns the number of entry for each values of criteria.

For list of conditions available see the "Available tables" page for the table you want. All non numeric condition are available for use as a criteria.

SOAP

getNumberOf(table, cookie, conds, criteria);
Parameters:
Returns a hashmap containing criteria value as key and number of items as value.

REST

GET http://tnodb.obs-besancon.fr/ws/tno/numberof/{table}
GET http://tnodb.obs-besancon.fr/ws/tno/numberof/{table}/{criteria}
Parameter in URL:
Parameters in GET arguments:
HTTP return code should be "200" and result is returned in response body formatted in JSON.

Back to documentation