C# Класс 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)
Наследование: Umbraco.Web.WebApi.UmbracoApiController
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
GetReturnData ( ServiceList services ) : HttpResponseMessage
GetServiceFromNode ( IPublishedContent node, bool full = false ) : ServiceItem
GetServiceList ( ) : ServiceList

gets the service list from either the cache or umbraco.

Описание методов

Get() публичный Метод

gets all the services.
public Get ( ) : HttpResponseMessage
Результат System.Net.Http.HttpResponseMessage

Get() публичный Метод

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
Результат System.Net.Http.HttpResponseMessage