Gemma.WebApi

<back to all web services

CategoriaImpiantoQuery

Requires Authentication
Requires any of the roles:Admin, ApiUser
The following routes are available for this service:
GET/categorie-impianto
CategoriaImpiantoQuery Parameters:
NameParameterData TypeRequiredDescription
Idqueryint?No
IdGreaterThanOrEqualToqueryint?No
IdGreaterThanqueryint?No
IdLessThanqueryint?No
IdLessThanOrEqualToqueryint?No
IdNotEqualToqueryint?No
IdBetweenqueryint[]No
IdInqueryint[]No
NomequerystringNo
NomeStartsWithquerystringNo
NomeEndsWithquerystringNo
NomeContainsquerystringNo
NomeLikequerystringNo
NomeBetweenquerystring[]No
NomeInquerystring[]No
TipoImpiantoIdqueryint?No
TipoImpiantoIdGreaterThanOrEqualToqueryint?No
TipoImpiantoIdGreaterThanqueryint?No
TipoImpiantoIdLessThanqueryint?No
TipoImpiantoIdLessThanOrEqualToqueryint?No
TipoImpiantoIdNotEqualToqueryint?No
TipoImpiantoIdBetweenqueryint[]No
TipoImpiantoIdInqueryint[]No
QueryBase Parameters:
NameParameterData TypeRequiredDescription
Skipformint?No
Takeformint?No
OrderByformstringNo
OrderByDescformstringNo
IncludeformstringNo
FieldsformstringNo
MetaformDictionary<string, string>No
CategoriaImpianto Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
NomeformstringNo
TipoImpiantoIdformintNo
TipoImpiantoformTipoImpiantoNo
TipoImpianto Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
NomeformstringNo
QueryResponse<T> Parameters:
NameParameterData TypeRequiredDescription
OffsetformintNo
TotalformintNo
ResultsformList<T>No
MetaformDictionary<string, string>No
ResponseStatusformResponseStatusNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /categorie-impianto HTTP/1.1 
Host: gemma.api.kerberos.energy 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	offset: 0,
	total: 0,
	results: 
	[
		{
			id: 0,
			nome: String,
			tipoImpiantoId: 0,
			tipoImpianto: 
			{
				id: 0,
				nome: String
			}
		}
	],
	meta: 
	{
		String: String
	},
	responseStatus: 
	{
		errorCode: String,
		message: String,
		stackTrace: String,
		errors: 
		[
			{
				errorCode: String,
				fieldName: String,
				message: String,
				meta: 
				{
					String: String
				}
			}
		],
		meta: 
		{
			String: String
		}
	}
}