Unico3.Link.API

<back to all web services

CustomListaContratti1

Assistenza
The following routes are available for this service:
GET/assistenza/query/custom1
CustomListaContratti1 Parameters:
NameParameterData TypeRequiredDescription
PODPDRquerystringNo
CFquerystringNo
PIVAquerystringNo
NumeroContrattoqueryint?No
RifContrattoquerystringNo
CustomListaContratti1Response Parameters:
NameParameterData TypeRequiredDescription
RisultatiformList<CustomListaContratti1Response_Result>No
CustomListaContratti1Response_Result Parameters:
NameParameterData TypeRequiredDescription
CodiceImpiantoformintNo
IndirizzoImpiantoformstringNo
NumeroCivicoImpiantoformstringNo
ComuneImpiantoformFK_ComuneNo
DataUltimoInterventoformDateTime?No
DataProssimaManutenzionePrevistaformDateTime?No
DataProssimaRdIProgrammataformDateTime?No
ContrattiformList<CustomListaContratti1Response_Result_Contratto>No
FK_Comune Parameters:
NameParameterData TypeRequiredDescription
CAPformstringNo
DenominazioneformstringNo
ProvinciaformstringNo
CodiceISTATformstringNo
FK Parameters:
NameParameterData TypeRequiredDescription
Idformint?No
CustomListaContratti1Response_Result_Contratto Parameters:
NameParameterData TypeRequiredDescription
NumeroformintNo
DescrizioneTipoformstringNo
CodiceTipoformstringNo
Importoformdouble?No
DataStipulaformDateTime?No
DataInizioformDateTime?No
DataFineCoperturaformDateTime?No
DataFineTacitoRinnovoformDateTime?No
RiferimentoformstringNo

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.

GET /assistenza/query/custom1 HTTP/1.1 
Host: unico3.link.api 
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"Risultati":[{"CodiceImpianto":0,"IndirizzoImpianto":"String","NumeroCivicoImpianto":"String","ComuneImpianto":{"CAP":"String","Denominazione":"String","Provincia":"String","CodiceISTAT":"String","Id":0},"DataUltimoIntervento":"0001-01-01T00:00:00.0000000","DataProssimaManutenzionePrevista":"0001-01-01T00:00:00.0000000","DataProssimaRdIProgrammata":"0001-01-01T00:00:00.0000000","Contratti":[{"Numero":0,"DescrizioneTipo":"String","CodiceTipo":"String","Importo":0,"DataStipula":"0001-01-01T00:00:00.0000000","DataInizio":"0001-01-01T00:00:00.0000000","DataFineCopertura":"0001-01-01T00:00:00.0000000","DataFineTacitoRinnovo":"0001-01-01T00:00:00.0000000","Riferimento":"String"}]}]}