Unico3.Link.API

<back to all web services

Comune

Base
The following routes are available for this service:
PUT/tabelle/comuni/
PUT,GET/tabelle/comuni/{Id}
PUT,GET/tabelle/comuni/codiceexport/{CodiceExport}
Comune Parameters:
NameParameterData TypeRequiredDescription
CodiceExportpathstringNo
Idpathint?No
DenominazionebodystringNo
CAPbodystringNo
ProvinciabodystringNo
ZonabodyFK_ZonaNo
IsEsclusoDaListebodybool?No
CodiceISTATbodystringNo
DurezzaTotaleAcquabodyOptionalNullableDoubleNo
TipoRCEEbodyOptionalNullableIntegerNo
FK_Zona Parameters:
NameParameterData TypeRequiredDescription
SiglaformstringNo
DescrizioneformstringNo
FK Parameters:
NameParameterData TypeRequiredDescription
Idformint?No
Optional<T> Parameters:
NameParameterData TypeRequiredDescription
ValueformT?No
Comune Parameters:
NameParameterData TypeRequiredDescription
CodiceExportpathstringNo
Idpathint?No
DenominazionebodystringNo
CAPbodystringNo
ProvinciabodystringNo
ZonabodyFK_ZonaNo
IsEsclusoDaListebodybool?No
CodiceISTATbodystringNo
DurezzaTotaleAcquabodyOptionalNullableDoubleNo
TipoRCEEbodyOptionalNullableIntegerNo

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

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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

PUT /tabelle/comuni/ HTTP/1.1 
Host: unico3.link.api 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"CodiceExport":"String","Id":0,"Denominazione":"String","CAP":"String","Provincia":"String","Zona":{"Sigla":"String","Descrizione":"String","Id":0},"IsEsclusoDaListe":false,"CodiceISTAT":"String","DurezzaTotaleAcqua":{"Value":0},"TipoRCEE":{"Value":0}}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"CodiceExport":"String","Id":0,"Denominazione":"String","CAP":"String","Provincia":"String","Zona":{"Sigla":"String","Descrizione":"String","Id":0},"IsEsclusoDaListe":false,"CodiceISTAT":"String","DurezzaTotaleAcqua":{"Value":0},"TipoRCEE":{"Value":0}}