|
CurrentValueService
Back to RestApi Current Value Servicecom.nimbits.server.service.CurrentValueService DescriptionRecords new values and returns the last recorded value to a given point. GETParmeters
As an added convenience, you can record a value using a GET on this service, it will obviously return that newly recorded value. The following parameters can be provided to record data to the give point.
SampleThese samples should work in your browser, since the data point being used in this sample has its public setting set to true. http://app.nimbits.com/service/currentvalue?point=test&email=bsautner@gmail.com&format=json This will return a JSON formated value object. {"id":2644002,"lat":0.0,"lng":0.0,"d":104.0,"timestamp":"Oct 29, 2010 9:48:28 PM","pointFK":1929017} Remove the format parameter for a current value: http://app.nimbits.com/service/currentvalue?point=test&email=bsautner@gmail.com and the current value will be returned. POST
|