Use the REST API to get the Most Recent Date

511
1
03-03-2012 05:33 AM
HaroldBostic
Occasional Contributor II
I have a table exposed to the REST Services Directory, is there a way to use the REST API to get the most recent date from that table?  Right now, I'll just build a web service, but would rather use the REST API if possible because it would be simpler for the client
Tags (2)
0 Kudos
1 Reply
BjornSvensson
Esri Regular Contributor
Using ArcGIS 10.1 and Flex API 3.0 this will be possible.

You can ask for the statistics for a field, in this case the max date.
http://resourcesbeta.arcgis.com/en/webapis/flex-api/apiref/com/esri/ags/tasks/supportClasses/Query.h...
0 Kudos