Impianti ed attrezzature¶
Ricerca attrezzature¶
Method |
URL |
DM1104 |
DPR462 |
DPR162 |
GET |
/api/CustomerMachines/{customerId}/search |
✓ |
✕ |
✕ |
Descrizione¶
Restituisce la lista delle attrezzature del cliente, filtrate con fulltext su più colonne
Parametri in input¶
Field Name |
Require |
Descrizione |
Type |
|---|---|---|---|
customerId |
Si |
Identificativo del cliente per cui richiedere la lista delle attrezzature |
integer |
queryString |
No |
Filtro da applicare alle attrezzature del cliente |
string |
Esempio di risposta positiva¶
{
"status": 0,
"errorCode": null,
"errorMessage": [],
"response": [
{
"item": {
"id": 4396,
"customerId": 59,
"machineGroupId": null,
"machineTypeId": 1,
"machineTypeDetailId": 5,
"machineTariffplanId": 7,
"vendor": "Iteco",
"model": "IT 7380",
"registrationNumber": "",
"registrationYear": 0,
"constructionYear": 0,
"startServiceYear": 0,
"factoryNumber": "IT73011595",
"ce": "SI",
"notifiedOrganismId": null,
"carriedWeight": 200,
"maxLiters": null,
"psBar": null,
"fluid": null,
"producibility": null,
"regionId": 17,
"provinceId": 68,
"cityId": 7254,
"zipcode": "45021",
"address": "Via CÃ Mignola Nuova 1775",
"firstAuditAt": null,
"lastAuditAt": "2013-07-01T00:00:00.000Z",
"nextAuditAt": "2015-07-01T00:00:00.000Z",
"usage": "Altro",
"customerMachineCode": "",
"attachmentId": null,
"note": "",
"state": 0,
"nextAuditTypeCode": "SUCC_ANNUALE",
"regNumbYear": "2011",
"regNumbActivityCode": "2",
"regNumbCode": "00070",
"regNumbProvince": "RO",
"subjectToStartups": 0,
"panieriRiserva": 0,
"onNumber": "",
"isPedGroup": 0,
"groupFactoryNumber": "",
"groupRegNumber": "",
"pedCategory": "",
"fluidType": 0,
"isUiGroup": 0,
"pedRegNumbYear": "",
"pedRegNumbActivityCode": "",
"pedRegNumbCode": "",
"pedRegNumbProvince": "",
"gvrCategory": "",
"tempMin": null,
"tempMax": null,
"fluidState": "",
"addressN": "",
"fullRegistrationNumber": "2011/2/00070/RO",
"machineTariffplan": {
"id": 7,
"machineTypeDetailId": 5,
"machineGroupId": 0,
"description": "Ponti mobili sviluppabili ad azionamento motorizzato",
"firstAudit": "334.66",
"firstAuditPriceWithoutStartup": "0",
"nextAudit": "248.97",
"nextAuditIntegrityOvercharge": "0",
"machine_type_detail_id": 5
}
},
"prices": [
334.66,
248.97
]
}]
}
Ricerca impianti¶
Method |
URL |
DM1104 |
DPR462 |
DPR162 |
GET |
/api/DprPlants/{customerId}/search |
✕ |
✓ |
✕ |
Descrizione¶
Restituisce la lista degli impianti del cliente, filtrate con fulltext su più colonne.
Parametri in input¶
Field Name |
Require |
Descrizione |
Type |
|---|---|---|---|
customerId |
Si |
Identificativo del cliente per cui richiedere la lista degli impianti |
integer |
queryString |
No |
Filtro da applicare agli impianti del cliente |
string |
Esempio di risposta positiva¶
{
"status": 0,
"errorCode": null,
"errorMessage": [],
"response": [
{
"item": {
"id": 125,
"customerId": 1634,
"typeId": 10,
"locationAddress": "LOC ILES DE BRISSOGNE",
"locationZipcode": "11020",
"locationCityId": 7035,
"locationProvinceId": 77,
"locationRegionId": 16,
"businessUnitId": 0,
"energyPower": 70,
"surfaceArea": 300,
"measuringPoint": 0,
"firstAuditAt": null,
"lastAuditAt": null,
"nextAuditAt": "2019-02-07T00:00:00.000Z",
"state": 1,
"structureType": 0,
"manHours": 3,
"contactUserId": 0,
"note": "",
"operator": "Distributore Carburante",
"code": "31",
"name": "PV 31",
"periodicity": "2",
"dangerousGas": "",
"dangerousDust": "",
"stepPoints": 0,
"contactPoints": 0,
"supplyType": "BT",
"distributionType": "TT"
},
"prices": []
}]
}
Ricerca ascensori¶
Method |
URL |
DM1104 |
DPR462 |
DPR162 |
GET |
/api/DprPlants/{customerId}/search |
✕ |
✕ |
✓ |
Descrizione¶
Restituisce la lista degli ascensori del cliente, filtrate con fulltext su più colonne.
Parametri in input¶
Field Name |
Require |
Descrizione |
Type |
|---|---|---|---|
customerId |
Si |
Identificativo del cliente per cui richiedere la lista degli ascensori |
integer |
queryString |
No |
Filtro da applicare agli ascensori del cliente |
string |
Esempio di risposta positiva¶
{
"status": 0,
"errorCode": null,
"errorMessage": [],
"response": [
{
"item": {
"id": 1,
"customerId": 12,
"typeId": 20,
"locationAddress": "VIA ROMA 22/C",
"locationZipcode": "45021",
"locationCityId": 7254,
"locationProvinceId": 68,
"locationRegionId": 17,
"businessUnitId": 0,
"firstAuditAt": null,
"lastAuditAt": null,
"nextAuditAt": "2018-03-02T00:00:00.000Z",
"state": 1,
"contactUserId": 0,
"note": "",
"operator": "CONDOMINIO ",
"code": "",
"name": "VIA ROMA 22/C",
"plantType": 1,
"range": "315",
"stopNumb": 4,
"registrationNumber": "RO173",
"builderName": "SAFOV",
"capacity": 4,
"installationYear": 1970,
"speed": "0",
"factoryNumber": ""
},
"prices": [
12000,
17000
]
} ]
}
Dettagli attrezzature¶
Method |
URL |
DM1104 |
DPR462 |
DPR162 |
GET |
/api/CustomerMachines/{id} |
✓ |
✕ |
✕ |
Descrizione¶
Restituisce i dettagli dell’attrezzatura richiesta ed i relativi prezzi sulle attività
Parametri in input¶
Field Name |
Require |
Descrizione |
Type |
|---|---|---|---|
id |
Si |
Identificativo dell’attrezzatura |
integer |
Esempio di risposta positiva¶
{
"status": 0,
"errorCode": null,
"errorMessage": [],
"response": {
"item": {
"id": 5387,
"customerId": 835,
"machineGroupId": null,
"machineTypeId": 2,
"machineTypeDetailId": 10,
"machineTariffplanId": 23,
"vendor": "DEMAG",
"model": "DC2",
"registrationNumber": "",
"registrationYear": 2011,
"constructionYear": 2004,
"startServiceYear": 2011,
"factoryNumber": "93500952",
"ce": "SI",
"notifiedOrganismId": null,
"carriedWeight": 250,
"maxLiters": null,
"psBar": null,
"fluid": null,
"producibility": null,
"regionId": 9,
"provinceId": 42,
"cityId": 2085,
"zipcode": "00054",
"address": "VIA BEVILACQUA SNC",
"firstAuditAt": null,
"lastAuditAt": null,
"nextAuditAt": "2016-07-31T00:00:00.000Z",
"usage": "Altro",
"customerMachineCode": "",
"attachmentId": null,
"note": "",
"state": 1,
"nextAuditTypeCode": "SUCC_BIENNALE",
"regNumbYear": "2011",
"regNumbActivityCode": "2",
"regNumbCode": "00560",
"regNumbProvince": "RM",
"subjectToStartups": 0,
"panieriRiserva": 0,
"onNumber": "",
"isPedGroup": 0,
"groupFactoryNumber": "",
"groupRegNumber": "",
"pedCategory": "",
"fluidType": 0,
"isUiGroup": 0,
"pedRegNumbYear": "",
"pedRegNumbActivityCode": "",
"pedRegNumbCode": "",
"pedRegNumbProvince": "",
"gvrCategory": "",
"tempMin": null,
"tempMax": null,
"fluidState": "",
"addressN": "",
"fullRegistrationNumber": "2011/2/00560/RM",
"machineTariffplan": {
"id": 23,
"machineTypeDetailId": 10,
"machineGroupId": 0,
"description": "Argani e paranchi",
"firstAudit": "207.64",
"firstAuditPriceWithoutStartup": "0",
"nextAudit": "120.96",
"nextAuditIntegrityOvercharge": "0",
"machine_type_detail_id": 10
}
},
"prices": [
207.64,
120.96
]
}
}
Dettagli impianti¶
Method |
URL |
DM1104 |
DPR462 |
DPR162 |
GET |
/api/DprPlants/{id} |
✕ |
✓ |
✕ |
Descrizione¶
Restituisce i dettagli dell’impianto richiesto ed i relativi prezzi sulle attività
Parametri in input¶
Field Name |
Require |
Descrizione |
Type |
|---|---|---|---|
id |
Si |
Identificativo dell’impianto |
integer |
Esempio di risposta positiva¶
{
"status": 0,
"errorCode": null,
"errorMessage": [],
"response": {
"item": {
"id": 5609,
"customerId": 2142,
"typeId": 10,
"locationAddress": "Via Colombo,35",
"locationZipcode": "56100",
"locationCityId": 6868,
"locationProvinceId": 54,
"locationRegionId": 12,
"businessUnitId": 0,
"energyPower": 16,
"surfaceArea": 777,
"measuringPoint": 0,
"firstAuditAt": null,
"lastAuditAt": null,
"nextAuditAt": "2018-03-09T00:00:00.000Z",
"state": 1,
"structureType": 0,
"manHours": 2,
"contactUserId": 0,
"note": "",
"operator": "Scuola",
"code": "IE 01",
"name": "Dipartimento Scienze Politiche",
"periodicity": "2",
"dangerousGas": "",
"dangerousDust": "",
"stepPoints": 0,
"contactPoints": 0,
"supplyType": "BT",
"distributionType": "TT"
},
"prices": [
10598
]
}
}
Dettagli ascensori¶
Method |
URL |
DM1104 |
DPR462 |
DPR162 |
GET |
/api/DprPlants/{id} |
✕ |
✕ |
✓ |
Descrizione¶
Restituisce i dettagli dell’ascensore richiesto ed i relativi prezzi sulle attività
Parametri in input¶
Field Name |
Require |
Descrizione |
Type |
|---|---|---|---|
id |
Si |
Identificativo dell’ascensore |
integer |
Esempio di risposta positiva¶
{
"status": 0,
"errorCode": null,
"errorMessage": [],
"response": {
"item": {
"id": 2,
"customerId": 13,
"typeId": 20,
"locationAddress": "VIA COPERNICO",
"locationZipcode": "29027",
"locationCityId": 1510,
"locationProvinceId": 62,
"locationRegionId": 14,
"businessUnitId": 0,
"firstAuditAt": null,
"lastAuditAt": null,
"nextAuditAt": "2018-03-03T00:00:00.000Z",
"state": 1,
"contactUserId": 0,
"note": "",
"operator": "DRILLMEC SPA",
"code": "",
"name": "21NE6100",
"plantType": 2,
"range": "1000",
"stopNumb": 4,
"registrationNumber": "06",
"builderName": "FALCONI",
"capacity": 12,
"installationYear": 1993,
"speed": "0",
"factoryNumber": ""
},
"prices": [
12000
]
}
}