Get "Last Discovered" date/time from web services?

Hi,

I see in the Xbee Networks section of iDigi that a column is named “Last Discovered”. I would like to be able to get this info using one of the available web services. I tried RCI calls with zigbee as target and some others but never this date/time is returned.
It would be useful for me to know this info in order to determine if I need to disable the cache or not or if I need to force a full rediscovering.

Thanks for your help!

Benjamin

For using web services try doing an HTTP GET against

/ws/XbeeCore

to get all of your Xbee nodes, you will see something similar to

2010-08-09T21:13:00Z

That date is an international timestamp per ISO 8601. The Z is the timezone indicator for GMT. This is the date format accepted and returned by all iDigi web service API’s.
If you are looking for a specific node you can specify it as the resource with your extended address, ie:

/ws/XbeeCore/00:13:A2:BB:CC:DD:EE:FF

You can alternatively; if you login and send your jsessionid with the request, use the reports controller:

developer.idigi.com/reports/Network.xls?col=devConnectwareId,xpExtAddr,xpNodeId,xmtModuleTypeDesc,xptProductTypeDesc,xpDeviceType,xpNodeType,xpNetAddr,xpParentAddr,xpUpdateTime

to get an excel sheet containing your Xbee network.

Thanks a lot!
It is what I wanted!
I didn’t know that XbeeCore was available… Is it documented somewhere?
Is there other web services which are not listed in the “IDigi Web Services Reference” document?

Benjamin

I think there is an updated document coming soon… just not completed yet.

The latest device cloud documents can be found at the following links, http://ftp1.digi.com/support/documentation/html/90002008/90002008_L/index.htm - programming guide
http://ftp1.digi.com/support/documentation/html/90001150/90001150_M/index.htm - user guide