So I am implementing this as a Restful service. I am enabling this through setting a Default Route along this path 'api/{controller}/{action}/{id}'. Calling something along this path such as api/item/getitemsbymonth/2014-03-1 should return a JSON data set of items I am processing from a datasource on the back end. So I am not implementing a page in Kentico (such as your example) but instead I am implementing a route to get the JSON callback. Does this make sense? Do I need to do this as a page in Kentico to get it to work? Or at least set the path somewhere?
I can send you my code files through support if you want, but as I said before it works fine under another web app that is not Kentico.