Unico3.Link.API

<back to all web services

RiferimentoImpianto

Assistenza
The following routes are available for this service:
PUT/assistenza/impianti/riferimenti
PUT,GET/assistenza/impianti/riferimenti/id/{Id}
PUT,GET/assistenza/impianti/riferimenti/codiceexport/{CodiceExport}
RiferimentoImpianto Parameters:
NameParameterData TypeRequiredDescription
Idpathint?No
CodiceExportpathstringNo
ImpiantobodyFK_ImpiantoNo
AnagraficabodyFK_AnagraficaNo
RuolobodyRuoloRiferimentoImpianto?No
NotebodystringNo
DataInizioIncaricobodyOptionalNullableDateTimeNo
FK_Impianto Parameters:
NameParameterData TypeRequiredDescription
Codiceformint?No
CodiceExportformstringNo
FK Parameters:
NameParameterData TypeRequiredDescription
Idformint?No
FK_Anagrafica Parameters:
NameParameterData TypeRequiredDescription
Codiceformint?No
CodiceExportformstringNo
RuoloRiferimentoImpianto Enum:
NameValue
Cliente1
Amministratore3
Installatore4
Proprietario5
TerzoResponsabile6
Progettista7
Referente10
Occupante11
Conduttore13
Optional<T> Parameters:
NameParameterData TypeRequiredDescription
ValueformT?No
RiferimentoImpianto Parameters:
NameParameterData TypeRequiredDescription
Idpathint?No
CodiceExportpathstringNo
ImpiantobodyFK_ImpiantoNo
AnagraficabodyFK_AnagraficaNo
RuolobodyRuoloRiferimentoImpianto?No
NotebodystringNo
DataInizioIncaricobodyOptionalNullableDateTimeNo

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 /assistenza/impianti/riferimenti HTTP/1.1 
Host: unico3.link.api 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"Id":0,"CodiceExport":"String","Impianto":{"Codice":0,"CodiceExport":"String","Id":0},"Anagrafica":{"Codice":0,"CodiceExport":"String","Id":0},"Ruolo":"0","Note":"String","DataInizioIncarico":{"Value":"0001-01-01T00:00:00.0000000"}}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"Id":0,"CodiceExport":"String","Impianto":{"Codice":0,"CodiceExport":"String","Id":0},"Anagrafica":{"Codice":0,"CodiceExport":"String","Id":0},"Ruolo":"0","Note":"String","DataInizioIncarico":{"Value":"0001-01-01T00:00:00.0000000"}}