How can last 50 datapoints be pulled from datapoint query?

Tried using :

http://my.idigi.com/ws/DataPoint/dia/channel/00000000-00000000-00409DFF-FF4537BA/XBee_408A8A7B/AD1?condition=serverTimestampISO>‘272015-08-30T20:46:56.927Z’

but I get all the records. I have used conditions in the past, but they don’t seem to be working now. Just trying to get the last 50 records.

The following syntax should give you the desired results:

https://login.etherios.com/ws/DataPoint/dia/channel/00000000-00000000-00409DFF-FF4537BA/XBee_408A8A7B/AD1/?order=desc&size=50

1 Like

Big thanks userid0 that worked. Figured this out after I posted the question. Like the startTime parameter, it’s not clear when to quote text in a condition…at least to me anyway.