C# Class Jumoo.LocalGov311.Inquiry.InquiryController

The Inquiry Api for Open311 v1 - using properties inside umbraco we build a cached version of all the services, and then when requested we throw out a compatible open311 files to show all the things we have. the inquiry api, is just for getting info its not for reports and stuff. that is in the geoAPI (which is more back office dependent)
Inheritance: Umbraco.Web.WebApi.UmbracoApiController
Datei anzeigen Open project: KevinJump/LocalGovStarterKit

Public Methods

Method Description
Get ( ) : HttpResponseMessage

gets all the services.

Get ( string id ) : HttpResponseMessage

gets all the services with the EsdId provided this call, doesn't call the service cache, it calls the umbraco objects and gets all teh info from there

Private Methods

Method Description
GetReturnData ( ServiceList services ) : HttpResponseMessage
GetServiceFromNode ( IPublishedContent node, bool full = false ) : ServiceItem
GetServiceList ( ) : ServiceList

gets the service list from either the cache or umbraco.

Method Details

Get() public method

gets all the services.
public Get ( ) : HttpResponseMessage
return System.Net.Http.HttpResponseMessage

Get() public method

gets all the services with the EsdId provided this call, doesn't call the service cache, it calls the umbraco objects and gets all teh info from there
public Get ( string id ) : HttpResponseMessage
id string
return System.Net.Http.HttpResponseMessage