rest spatial query issue

Discussion created by gsteinmon on Sep 24, 2013
Latest reply on Sep 28, 2013 by NFurness-esristaff
I am working on some python code to do a semi-spatial join using the new geometry options in the rest end points. I can't seem to figure out why my final query won't work.

I think that it's event statistic json that I push:

event_statistics = json.dumps([
                "statisticType": "count",
                "onStatisticField": event_aggr_field,
                "outStatisticFieldName": event_aggr_field + '_count'

The entire code is on github here.

Any ideas?