API DOCS RapportiniLavoro.it (1.0.0)
Docs API RapportiniLavoro.it
Caricamento lista materiale filtrata-paginata
Caricamento paginato e filtrato di una lista di materiale
        GESTIONE QUERY PARAMS
        - "tableInfos" === "true|boolean e "pagina" === 0 allora vengono fornite anche le informazioni di costruzione della tabella (colonne e ordinamento)
        GESTIONE SALVATAGGIO COLONNE E ORDINAMENTO
        per cambiare le colonne visibili a FE e salvare questa info a BE (che poi la restituirà in response) passare il sequente query:
        - "columns" = "stato,flagged,ragione_sociale,numero_assistenza,chiusura_date,motivazione|string" l'elenco deve corrispondere alle colonne che si vogliono rendere visibile, nell'ordine esatto in cui si volgiono visualizzare
        per variare l'ordinamento passare il seguente query params:
        - "order.[campo per cui si vuole ordinare]" = ASC/DESC|string
Responses
Response samples
- 200
- 400
- 500
{- "success": true,
- "alert": [- "string"
 ],
- "items": [- {- "id": 0,
- "aziendamap_id": 0,
- "codice_articolo": "string",
- "codice_articolo_esterno": "string",
- "descrizione": "string",
- "um": "string",
- "netCost": 0,
- "netPrice": 0,
- "label": "string",
- "key": 0
 }
 ],
- "tableInfos": {- "columns": [- {- "key": "string",
- "label": "string",
- "visible": true
 }
 ],
- "order": null
 },
- "totaleElementi": 0,
- "itemsPerPage": 0
}Inserimento massivo degli articoli
Servizio che permette di inserire più articoli contemporaneamente all'interno dell'anagrafica articoli
Request Body schema: application/json
| id | integer  Default:  0 | 
| codice_articolo | string  <= 60 characters  | 
| codice_articolo_esterno required | string  <= 60 characters  | 
| descrizione required | string  <= 120 characters  | 
| um | string  <= 100 characters  | 
Responses
Request samples
- Payload
[- {- "id": 0,
- "codice_articolo": "string",
- "codice_articolo_esterno": "string",
- "descrizione": "string",
- "um": "string"
 }
]Response samples
- 201
- 500
{- "success": true,
- "message": "string",
- "items": [- {- "id": 0,
- "codice_articolo": "string",
- "message": "string",
- "success": true
 }
 ]
}Eliminazione in blocco di più articoli
Request Body schema: application/json
| id | integer | 
| codice_articolo | string | 
Responses
Request samples
- Payload
[- {- "id": 0,
- "codice_articolo": "string"
 }
]Response samples
- 201
- 500
{- "success": true,
- "message": "string",
- "items": [- {- "id": 0,
- "codice_articolo": "string",
- "message": "string",
- "success": true
 }
 ]
}Caricamento del dettaglio di un cliente
Servizio che permette di caricare il dettaglio di un cliente
Request Body schema: application/json
Responses
Request samples
- Payload
{ }Response samples
- 200
- 400
- 500
{- "success": true,
- "message": "string",
- "items": [- {- "id": 0,
- "aziendamap_id": 0,
- "gestionale": true,
- "idanagrafica": "string",
- "ragione_sociale": "string",
- "piva": "string",
- "telefono2": "string",
- "codicefiscale": "string",
- "provincia": "str",
- "cap": "string",
- "localita": "string",
- "citta": "string",
- "nazione": "string",
- "km": "string",
- "ore": "string",
- "indirizzo": "string",
- "cellulare": "string",
- "note": "string",
- "mail": "string",
- "telefono": "string",
- "riferimento": "string",
- "lingua": "st",
- "geolocation": {- "id": 0,
- "geolocationValue": {- "coordinates": [- 0
 ]
 },
- "inChiusura": true,
- "fromDevice": true,
- "usersId": 0,
- "rapportinoId": 0,
- "start_date": null
 },
- "anagraficaclientirecapiti": [- {- "id": 0,
- "nominativo": "string",
- "mail": "string",
- "telefono": "string",
- "mail_predefinita_rapportino": "string",
- "note": "string",
- "idanagrafica": 0,
- "cliente_id": 0
 }
 ]
 }
 ],
- "totalItems": 0,
- "perPage": 0
}Caricamento lista clienti filtrata-paginata
Caricamento paginato e filtrato di una lista di clienti
        GESTIONE QUERY PARAMS
        - "tableInfos" === "true|boolean e "pagina" === 0 allora vengono fornite anche le informazioni di costruzione della tabella (colonne e ordinamento)
        GESTIONE SALVATAGGIO COLONNE E ORDINAMENTO
        per cambiare le colonne visibili a FE e salvare questa info a BE (che poi la restituirà in response) passare il sequente query:
        - "columns" = "stato,flagged,ragione_sociale,numero_assistenza,chiusura_date,motivazione|string" l'elenco deve corrispondere alle colonne che si vogliono rendere visibile, nell'ordine esatto in cui si volgiono visualizzare
        per variare l'ordinamento passare il seguente query params:
        - "order.[campo per cui si vuole ordinare]" = ASC/DESC|string
Responses
Response samples
- 200
- 400
- 500
{- "success": true,
- "alert": [- "string"
 ],
- "items": [- {- "id": 0,
- "aziendamap_id": 0,
- "gestionale": true,
- "idanagrafica": "string",
- "ragione_sociale": "string",
- "piva": "string",
- "telefono2": "string",
- "codicefiscale": "string",
- "provincia": "str",
- "cap": "string",
- "localita": "string",
- "citta": "string",
- "nazione": "string",
- "km": "string",
- "ore": "string",
- "indirizzo": "string",
- "cellulare": "string",
- "note": "string",
- "mail": "string",
- "telefono": "string",
- "riferimento": "string",
- "lingua": "st",
- "geolocation": {- "id": 0,
- "geolocationValue": {- "coordinates": [- 0
 ]
 },
- "inChiusura": true,
- "fromDevice": true,
- "usersId": 0,
- "rapportinoId": 0,
- "start_date": null
 },
- "anagraficaclientirecapiti": [- {- "id": 0,
- "nominativo": "string",
- "mail": "string",
- "telefono": "string",
- "mail_predefinita_rapportino": "string",
- "note": "string",
- "idanagrafica": 0,
- "cliente_id": 0
 }
 ]
 }
 ],
- "tableInfos": {- "columns": [- {- "key": "string",
- "label": "string",
- "visible": true
 }
 ],
- "order": null
 },
- "totalItems": 0,
- "perPage": 0
}Caricamento massivo di un elenco di clienti
Servizio che permette di inserire più clienti contemporaneamente
Request Body schema: application/json
| id | integer  Default:  null | 
| idanagrafica | string  Default:  null | 
| ragione_sociale | string  <= 150 characters  | 
| piva | string  <= 20 characters  | 
| telefono2 | string  <= 60 characters  | 
| codicefiscale | string  <= 60 characters  | 
| provincia | string  <= 3 characters  | 
| cap | string  <= 10 characters  | 
| localita | string  <= 40 characters  | 
| citta | string  <= 60 characters  | 
| nazione | string | 
| km | string  <= 60 characters  | 
| ore | string  <= 60 characters  | 
| indirizzo | string  <= 300 characters  | 
| cellulare | string  <= 250 characters  | 
| note | string  <= 600 characters  | 
| string  <= 50 characters  | |
| telefono | string  <= 50 characters  | 
| riferimento | string  <= 255 characters  | 
Responses
Request samples
- Payload
[- {- "id": null,
- "idanagrafica": null,
- "ragione_sociale": "string",
- "piva": "string",
- "telefono2": "string",
- "codicefiscale": "string",
- "provincia": "str",
- "cap": "string",
- "localita": "string",
- "citta": "string",
- "nazione": "string",
- "km": "string",
- "ore": "string",
- "indirizzo": "string",
- "cellulare": "string",
- "note": "string",
- "mail": "string",
- "telefono": "string",
- "riferimento": "string"
 }
]Response samples
- 201
- 400
- 500
{- "success": true,
- "message": "string",
- "items": [- {- "id": 0,
- "idanagrafica": "string",
- "message": "string",
- "success": true
 }
 ]
}Eliminazione in blocco di un elenco di clienti
Servizio che permette di eliminare in blocco un elenco di clienti
Request Body schema: application/json
| id | integer | 
| idanagrafica | string | 
Responses
Request samples
- Payload
[- {- "id": 0,
- "idanagrafica": "string"
 }
]Response samples
- 201
- 400
- 500
{- "success": true,
- "message": "string",
- "items": [- {- "id": 0,
- "idanagrafica": "string",
- "message": "string",
- "success": true
 }
 ]
}Creazione di un impianto
Servizio che permette di creare un nuovo impianto per un cliente
Request Body schema: application/json
| id | integer  Default:  null | 
| idEsterno | string | 
| nome | string | 
| provincia | string | 
| cap | string | 
| citta | string | 
| nazione | string | 
| indirizzo | string | 
| telefono | string | 
| nominativo | string | 
| string | |
| note | string | 
| km | string | 
| ore | string | 
| disabled | boolean | 
| idanagrafica | string | 
| anagraficaclientiId | integer | 
Responses
Request samples
- Payload
{- "id": null,
- "idEsterno": "string",
- "nome": "string",
- "provincia": "string",
- "cap": "string",
- "citta": "string",
- "nazione": "string",
- "indirizzo": "string",
- "telefono": "string",
- "nominativo": "string",
- "email": "string",
- "note": "string",
- "km": "string",
- "ore": "string",
- "disabled": true,
- "idanagrafica": "string",
- "anagraficaclientiId": 0
}Response samples
- 201
- 400
- 500
{- "success": true,
- "alert": [- "string"
 ],
- "item": {- "id": 0,
- "idEsterno": "string"
 }
}Creazione in blocco di un elenco di impianti
Servizio che permette di creare in blocco un insieme di impianti, anche per clienti diversi
Request Body schema: application/json
| id | integer  Default:  null | 
| idEsterno | string | 
| nome | string | 
| provincia | string | 
| cap | string | 
| citta | string | 
| nazione | string | 
| indirizzo | string | 
| telefono | string | 
| nominativo | string | 
| string | |
| note | string | 
| km | string | 
| ore | string | 
| disabled | boolean | 
| idanagrafica | string | 
| anagraficaclientiId | integer | 
| idEsternoCliente | string | 
Responses
Request samples
- Payload
[- {- "id": null,
- "idEsterno": "string",
- "nome": "string",
- "provincia": "string",
- "cap": "string",
- "citta": "string",
- "nazione": "string",
- "indirizzo": "string",
- "telefono": "string",
- "nominativo": "string",
- "email": "string",
- "note": "string",
- "km": "string",
- "ore": "string",
- "disabled": true,
- "idanagrafica": "string",
- "anagraficaclientiId": 0,
- "idEsternoCliente": "string"
 }
]Response samples
- 201
- 400
- 500
{- "success": true,
- "alert": [- "string"
 ],
- "items": [- {- "id": 0,
- "idEsterno": "string",
- "message": "string",
- "success": true
 }
 ]
}Elenco rapportini
Servizio che permette di caricare un elenco di rapportini filtrato e paginato
Responses
Response samples
- 200
- 404
- 500
{- "success": true,
- "message": "string",
- "items": [- {- "id": 0,
- "aziendamap_id": 0,
- "numero_assistenza": "string",
- "idgestionale": "string",
- "stato": "string",
- "motivazione": "string",
- "inserimento_libero": "st",
- "tipologia_inserimento_ore": "string",
- "dirittointervento": "st",
- "lavorazione": "string",
- "nominativo_accettazione": "string",
- "note": "string",
- "signature": "string",
- "chiusura_date": "2019-08-24T14:15:22Z",
- "revisione": "2019-08-24T14:15:22Z",
- "flagged": true,
- "completato": true,
- "totore": 0,
- "totoreCoperteContratto": 0,
- "lastFailureGestionale": "string",
- "trasferta_ritorno_effettuata": true,
- "in_remoto": true,
- "configurazioneintervento_id": 0,
- "prezzoDirittoInterventoImpostato": 0,
- "netPriceACorpo": 0,
- "gestionePrezziIntervento": true,
- "visualizzazionePrezziPdf": true,
- "visualizza_note_spese": true,
- "visualizza_note_spese_pdf": true,
- "prezzi_note_spese": true,
- "prezzi_note_spese_pdf": true,
- "includi_prezzi_note_spese_nei_prezzi_rapportino": true,
- "isACorpo": true,
- "pagato": true,
- "lingua_pdf": "string",
- "schedule": {- "id": 0,
- "aziendamap_id": 0,
- "cliente_id": 0,
- "sede_id": 0,
- "titolo": "string",
- "note": "string",
- "inviato_operatore": "st",
- "rapportino_id": 0,
- "conferma_cliente": "st",
- "tipologia": "st",
- "user_id": 0,
- "rif_user_id": 0,
- "priorita": 0,
- "urgenza": 0,
- "update_date": "string",
- "day_of_year": 0,
- "app_date": "string",
- "app_end_date": "string",
- "app_ora": "string",
- "riferimento": "string",
- "contratto_id": 0,
- "indirizzocantiere": true,
- "indirizzo": "string",
- "citta": "string",
- "provincia": "string",
- "previsto_in_remoto": true,
- "stato_rapportino": "string",
- "configurazioneintervento_id": 0,
- "start_date": "string",
- "anagraficaclienti": {- "id": 0,
- "aziendamap_id": 0,
- "gestionale": true,
- "idanagrafica": "string",
- "ragione_sociale": "string",
- "piva": "string",
- "telefono2": "string",
- "codicefiscale": "string",
- "provincia": "str",
- "cap": "string",
- "localita": "string",
- "citta": "string",
- "nazione": "string",
- "km": "string",
- "ore": "string",
- "indirizzo": "string",
- "cellulare": "string",
- "note": "string",
- "mail": "string",
- "telefono": "string",
- "riferimento": "string",
- "lingua": "st",
- "geolocationId": 0
 },
- "clienteFatturazione": {- "id": 0,
- "aziendamap_id": 0,
- "gestionale": true,
- "idanagrafica": "string",
- "ragione_sociale": "string",
- "piva": "string",
- "telefono2": "string",
- "codicefiscale": "string",
- "provincia": "str",
- "cap": "string",
- "localita": "string",
- "citta": "string",
- "nazione": "string",
- "km": "string",
- "ore": "string",
- "indirizzo": "string",
- "cellulare": "string",
- "note": "string",
- "mail": "string",
- "telefono": "string",
- "riferimento": "string",
- "lingua": "st",
- "geolocationId": 0
 }
 },
- "rapportinomateriale": [- {- "id": 0,
- "rapportino_id": 0,
- "macchinariId": 0,
- "anagraficamateriale_id": 0,
- "quantita": 0,
- "descrizione": "string",
- "cod_articolo": "string",
- "cod_articolo_esterno": "string",
- "um": "string",
- "note": "string",
- "netPrice": 0,
- "netCost": 0
 }
 ],
- "orelavorate": [- {- "id": 0,
- "masterid": "string",
- "attivita": 0,
- "rif_id": 0,
- "user_id": 0,
- "data": "string",
- "ora_mattino_da": "string",
- "ora_mattino_a": "string",
- "ora_pomeriggio_da": "string",
- "ora_pomeriggio_a": "string",
- "ora_sera_da": "string",
- "ora_sera_a": "string",
- "totale_ore": 0,
- "trasferta_andata_da": "string",
- "trasferta_andata_a": "string",
- "trasferta_ritorno_da": "string",
- "trasferta_ritorno_a": "string",
- "pranzo": "str",
- "cena": "str",
- "pernotto": "str",
- "ore_viaggio": 0,
- "km_viaggio": 0,
- "signature": "string",
- "nominativo": "string",
- "numero_tecnici": 0,
- "macchinariId": 0,
- "prezzoTecnicoCalcolato": 0,
- "prezzoImpostato": 0,
- "prezzoKmViaggioCalcolato": 0,
- "prezzoKmViaggioImpostato": 0,
- "prezzoOreViaggioCalcolato": 0,
- "prezzoOreViaggioImpostato": 0,
- "prezzoPranzoCalcolato": 0,
- "prezzoPranzoImpostato": 0,
- "prezzoCenaCalcolato": 0,
- "prezzoCenaImpostato": 0,
- "prezzoPernottoCalcolato": 0,
- "prezzoPernottoImpostato": 0
 }
 ],
- "campi_personalizzati": [- {- "id": 0,
- "configurazionetipocampotable_id": 0,
- "visibile_web": true,
- "visibile_app": true,
- "visibile_stampa": true,
- "configurazioneinterventocampiposizione_id": 0,
- "nome_campo": "string",
- "tipo_campo": "string",
- "options": "string",
- "abilitazione": true,
- "obbligatorio": true,
- "default": "string",
- "valore_richiesto": "string",
- "nomeCampoGestionale": "string",
- "abilitaFatturazioneGestionale": true,
- "valore": "string",
- "valore_id": 0,
- "value_abilitazione": true,
- "netCost": 0,
- "netPrice": 0
 }
 ],
- "attivita": null,
- "pdf": [- {- "id": 0,
- "aziendamap_id": 0,
- "type_id": 0,
- "section": "string",
- "uid": "string",
- "filetype": "string",
- "media": "string",
- "allega_a_mail": true,
- "nome_visualizzato": "string"
 }
 ],
- "media": [- {- "id": 0,
- "aziendamap_id": 0,
- "type_id": 0,
- "section": "string",
- "uid": "string",
- "filetype": "string",
- "media": "string",
- "allega_a_mail": true,
- "nome_visualizzato": "string"
 }
 ]
 }
 ],
- "totalItems": 0,
- "perPage": 0
}Dettaglio rapportino
Servizio che permette di caricare il dettaglio di un rapportino
path Parameters
| id required | string | 
Responses
Response samples
- 200
- 404
- 500
{- "success": true,
- "message": "string",
- "item": {- "id": 0,
- "aziendamap_id": 0,
- "numero_assistenza": "string",
- "idgestionale": "string",
- "stato": "string",
- "motivazione": "string",
- "inserimento_libero": "st",
- "tipologia_inserimento_ore": "string",
- "dirittointervento": "st",
- "lavorazione": "string",
- "nominativo_accettazione": "string",
- "note": "string",
- "signature": "string",
- "chiusura_date": "2019-08-24T14:15:22Z",
- "revisione": "2019-08-24T14:15:22Z",
- "flagged": true,
- "completato": true,
- "totore": 0,
- "totoreCoperteContratto": 0,
- "lastFailureGestionale": "string",
- "trasferta_ritorno_effettuata": true,
- "in_remoto": true,
- "configurazioneintervento_id": 0,
- "prezzoDirittoInterventoImpostato": 0,
- "netPriceACorpo": 0,
- "gestionePrezziIntervento": true,
- "visualizzazionePrezziPdf": true,
- "visualizza_note_spese": true,
- "visualizza_note_spese_pdf": true,
- "prezzi_note_spese": true,
- "prezzi_note_spese_pdf": true,
- "includi_prezzi_note_spese_nei_prezzi_rapportino": true,
- "isACorpo": true,
- "pagato": true,
- "lingua_pdf": "string",
- "schedule": {- "id": 0,
- "aziendamap_id": 0,
- "cliente_id": 0,
- "sede_id": 0,
- "titolo": "string",
- "note": "string",
- "inviato_operatore": "st",
- "rapportino_id": 0,
- "conferma_cliente": "st",
- "tipologia": "st",
- "user_id": 0,
- "rif_user_id": 0,
- "priorita": 0,
- "urgenza": 0,
- "update_date": "string",
- "day_of_year": 0,
- "app_date": "string",
- "app_end_date": "string",
- "app_ora": "string",
- "riferimento": "string",
- "contratto_id": 0,
- "indirizzocantiere": true,
- "indirizzo": "string",
- "citta": "string",
- "provincia": "string",
- "previsto_in_remoto": true,
- "stato_rapportino": "string",
- "configurazioneintervento_id": 0,
- "start_date": "string",
- "app_date_f": "string",
- "usersList": [- {- "id": 0,
- "aziendamap_id": 0,
- "username": "string",
- "role": "string",
- "name": "string",
- "surname": "string",
- "customer_id": 0,
- "failed_attempts": 0,
- "status": "string",
- "scheduleorder": 0,
- "scheduleenabled": "s",
- "email": "string",
- "emailConfermaIntervento": true,
- "signature": true,
- "last_attempt": "string",
- "superuser": true,
- "loginWithGoogle": true,
- "netCostTecnico": 0,
- "netPriceTecnico": 0,
- "netPriceKm": 0,
- "netPriceOreViaggio": 0,
- "netPricePranzo": 0,
- "netPriceCena": 0,
- "netPricePernotto": 0,
- "lingua": "st"
 }
 ],
- "contratti": {- "id": 0,
- "aziendamap_id": 0,
- "idEsterno": "string",
- "descrizione": "string",
- "tipoContratto": "string",
- "dataInizio": "string",
- "dataFine": "string",
- "rinnovoDate": "string",
- "anniDurataProssimoRinnovo": 0,
- "rinnovoAutomaticoScadenzaData": true,
- "note": "string",
- "reportCliente": true,
- "reportUfficio": true,
- "firmaCliente": true,
- "abilitaPrezziContratto": 0,
- "monteOre": 0,
- "monteOreUsato": 0,
- "giorniVincolo": 0,
- "contrattoChild": 0,
- "rinnovoAutomaticoTermineOre": true,
- "cessato": true,
- "giorniAnticipoRinnovo": 0,
- "mailAvvisoScadenzaEnabled": true,
- "mailAvvisoScadenzaSent": true,
- "mailAvvisoScadenzaGiorniAnticipo": 0,
- "mailAvvisoScadenzaOreResidue": 0,
- "anagraficaclientiId": 0,
- "configurazioneInterventoDefault": 0,
- "abilitaSelezioneConfigurazioneIntervento": true,
- "esportaGestionalePacchettoOre": true,
- "esportaGestionaleForfait": true,
- "esportaGestionaleManutenzione": true,
- "abilitaPriceTecnico": true,
- "netPriceTecnico": 0,
- "abilitaPriceKm": true,
- "netPriceKm": 0,
- "abilitaPriceOreViaggio": true,
- "netPriceOreViaggio": 0,
- "abilitaPricePranzo": true,
- "netPricePranzo": 0,
- "abilitaPriceCena": true,
- "netPriceCena": 0,
- "abilitaPricePernotto": true,
- "netPricePernotto": 0,
- "abilitaPriceDirittoIntervento": true,
- "netPriceDirittoIntervento": 0,
- "abilitaPriceMateriale": true,
- "abilitaPriceAttivitaContratto": true,
- "visualizzazionePrezziPdf": true,
- "interventiACorpo": true,
- "importoInterventiACorpo": 0,
- "contratti_child": {- "id": 0,
- "aziendamap_id": 0,
- "idEsterno": "string",
- "descrizione": "string",
- "tipoContratto": "string",
- "dataInizio": "string",
- "dataFine": "string",
- "rinnovoDate": "string",
- "anniDurataProssimoRinnovo": 0,
- "rinnovoAutomaticoScadenzaData": true,
- "note": "string",
- "reportCliente": true,
- "reportUfficio": true,
- "firmaCliente": true,
- "abilitaPrezziContratto": 0,
- "monteOre": 0,
- "monteOreUsato": 0,
- "giorniVincolo": 0,
- "contrattoChild": 0,
- "rinnovoAutomaticoTermineOre": true,
- "cessato": true,
- "giorniAnticipoRinnovo": 0,
- "mailAvvisoScadenzaEnabled": true,
- "mailAvvisoScadenzaSent": true,
- "mailAvvisoScadenzaGiorniAnticipo": 0,
- "mailAvvisoScadenzaOreResidue": 0,
- "anagraficaclientiId": 0,
- "configurazioneInterventoDefault": 0,
- "abilitaSelezioneConfigurazioneIntervento": true,
- "esportaGestionalePacchettoOre": true,
- "esportaGestionaleForfait": true,
- "esportaGestionaleManutenzione": true,
- "abilitaPriceTecnico": true,
- "netPriceTecnico": 0,
- "abilitaPriceKm": true,
- "netPriceKm": 0,
- "abilitaPriceOreViaggio": true,
- "netPriceOreViaggio": 0,
- "abilitaPricePranzo": true,
- "netPricePranzo": 0,
- "abilitaPriceCena": true,
- "netPriceCena": 0,
- "abilitaPricePernotto": true,
- "netPricePernotto": 0,
- "abilitaPriceDirittoIntervento": true,
- "netPriceDirittoIntervento": 0,
- "abilitaPriceMateriale": true,
- "abilitaPriceAttivitaContratto": true,
- "visualizzazionePrezziPdf": true,
- "interventiACorpo": true,
- "importoInterventiACorpo": 0
 }
 },
- "users": {- "id": 0,
- "aziendamap_id": 0,
- "username": "string",
- "role": "string",
- "name": "string",
- "surname": "string",
- "customer_id": 0,
- "failed_attempts": 0,
- "status": "string",
- "scheduleorder": 0,
- "scheduleenabled": "s",
- "email": "string",
- "emailConfermaIntervento": true,
- "signature": true,
- "last_attempt": "string",
- "superuser": true,
- "loginWithGoogle": true,
- "netCostTecnico": 0,
- "netPriceTecnico": 0,
- "netPriceKm": 0,
- "netPriceOreViaggio": 0,
- "netPricePranzo": 0,
- "netPriceCena": 0,
- "netPricePernotto": 0,
- "lingua": "st"
 },
- "anagraficaclienti": {- "id": 0,
- "aziendamap_id": 0,
- "gestionale": true,
- "idanagrafica": "string",
- "ragione_sociale": "string",
- "piva": "string",
- "telefono2": "string",
- "codicefiscale": "string",
- "provincia": "str",
- "cap": "string",
- "localita": "string",
- "citta": "string",
- "nazione": "string",
- "km": "string",
- "ore": "string",
- "indirizzo": "string",
- "cellulare": "string",
- "note": "string",
- "mail": "string",
- "telefono": "string",
- "riferimento": "string",
- "lingua": "st",
- "geolocationId": 0,
- "anagraficaclientirecapiti": [- {- "id": 0,
- "nominativo": "string",
- "mail": "string",
- "telefono": "string",
- "mail_predefinita_rapportino": "string",
- "note": "string",
- "idanagrafica": 0,
- "cliente_id": 0
 }
 ]
 },
- "clienteFatturazione": {- "id": 0,
- "aziendamap_id": 0,
- "gestionale": true,
- "idanagrafica": "string",
- "ragione_sociale": "string",
- "piva": "string",
- "telefono2": "string",
- "codicefiscale": "string",
- "provincia": "str",
- "cap": "string",
- "localita": "string",
- "citta": "string",
- "nazione": "string",
- "km": "string",
- "ore": "string",
- "indirizzo": "string",
- "cellulare": "string",
- "note": "string",
- "mail": "string",
- "telefono": "string",
- "riferimento": "string",
- "lingua": "st",
- "geolocation": {- "id": 0,
- "geolocationValue": {- "coordinates": [- 0
 ]
 },
- "inChiusura": true,
- "fromDevice": true,
- "usersId": 0,
- "rapportinoId": 0
 }
 },
- "anagraficaclientisedi": {- "id": 0,
- "idsede": 0,
- "cliente_id": 0,
- "telefono": "string",
- "telefono2": "string",
- "indirizzo": "string",
- "localita": "string",
- "citta": "string",
- "provincia": "str",
- "cap": "string",
- "cellulare": "string",
- "note": "string",
- "mail": "string"
 },
- "impianti": [- {- "id": 0,
- "idEsterno": "string",
- "isDefault": true,
- "nome": "string",
- "provincia": "string",
- "cap": "string",
- "citta": "string",
- "indirizzo": "string",
- "nazione": "string",
- "telefono": "string",
- "nominativo": "string",
- "email": "string",
- "note": "string",
- "km": "string",
- "ore": "string",
- "disabled": true,
- "lingua": "st",
- "anagraficaclientiId": 0,
- "geolocationId": 0
 }
 ],
- "macchinari": [- {- "id": 0,
- "idEsterno": "string",
- "isDefault": true,
- "matricola": "string",
- "barcode": "string",
- "nome": "string",
- "note": "string",
- "disabled": true,
- "impiantiId": 0
 }
 ]
 },
- "rapportinomateriale": [- {- "id": 0,
- "rapportino_id": 0,
- "macchinariId": 0,
- "anagraficamateriale_id": 0,
- "quantita": 0,
- "descrizione": "string",
- "cod_articolo": "string",
- "cod_articolo_esterno": "string",
- "um": "string",
- "note": "string",
- "netPrice": 0,
- "netCost": 0,
- "anagraficamateriale": {- "id": 0,
- "aziendamap_id": 0,
- "codice_articolo": "string",
- "codice_articolo_esterno": "string",
- "descrizione": "string",
- "um": "string",
- "netCost": 0,
- "netPrice": 0
 },
- "macchinari": {- "id": 0,
- "idEsterno": "string",
- "isDefault": true,
- "matricola": "string",
- "barcode": "string",
- "nome": "string",
- "note": "string",
- "disabled": true,
- "impiantiId": 0
 }
 }
 ],
- "orelavorate": [- {- "id": 0,
- "masterid": "string",
- "attivita": 0,
- "rif_id": 0,
- "user_id": 0,
- "data": "string",
- "ora_mattino_da": "string",
- "ora_mattino_a": "string",
- "ora_pomeriggio_da": "string",
- "ora_pomeriggio_a": "string",
- "ora_sera_da": "string",
- "ora_sera_a": "string",
- "totale_ore": 0,
- "trasferta_andata_da": "string",
- "trasferta_andata_a": "string",
- "trasferta_ritorno_da": "string",
- "trasferta_ritorno_a": "string",
- "pranzo": "str",
- "cena": "str",
- "pernotto": "str",
- "ore_viaggio": 0,
- "km_viaggio": 0,
- "signature": "string",
- "nominativo": "string",
- "numero_tecnici": 0,
- "macchinariId": 0,
- "prezzoTecnicoCalcolato": 0,
- "prezzoImpostato": 0,
- "prezzoKmViaggioCalcolato": 0,
- "prezzoKmViaggioImpostato": 0,
- "prezzoOreViaggioCalcolato": 0,
- "prezzoOreViaggioImpostato": 0,
- "prezzoPranzoCalcolato": 0,
- "prezzoPranzoImpostato": 0,
- "prezzoCenaCalcolato": 0,
- "prezzoCenaImpostato": 0,
- "prezzoPernottoCalcolato": 0,
- "prezzoPernottoImpostato": 0,
- "users": {- "id": 0,
- "aziendamap_id": 0,
- "username": "string",
- "role": "string",
- "name": "string",
- "surname": "string",
- "customer_id": 0,
- "failed_attempts": 0,
- "status": "string",
- "scheduleorder": 0,
- "scheduleenabled": "s",
- "email": "string",
- "emailConfermaIntervento": true,
- "signature": true,
- "last_attempt": "string",
- "superuser": true,
- "loginWithGoogle": true,
- "netCostTecnico": 0,
- "netPriceTecnico": 0,
- "netPriceKm": 0,
- "netPriceOreViaggio": 0,
- "netPricePranzo": 0,
- "netPriceCena": 0,
- "netPricePernotto": 0,
- "lingua": "st"
 },
- "macchinari": {- "id": 0,
- "idEsterno": "string",
- "isDefault": true,
- "matricola": "string",
- "barcode": "string",
- "nome": "string",
- "note": "string",
- "disabled": true,
- "impiantiId": 0
 }
 }
 ],
- "notespese": [- {- "id": 0,
- "nome": "string",
- "data": "string",
- "importo": 0,
- "descrizione": "string",
- "rapportino_id": 0,
- "configurazioneNoteSpese_id": 0,
- "users": [- {- "id": 0,
- "aziendamap_id": 0,
- "username": "string",
- "role": "string",
- "name": "string",
- "surname": "string",
- "customer_id": 0,
- "failed_attempts": 0,
- "status": "string",
- "scheduleorder": 0,
- "scheduleenabled": "s",
- "email": "string",
- "emailConfermaIntervento": true,
- "signature": true,
- "last_attempt": "string",
- "superuser": true,
- "loginWithGoogle": true,
- "netCostTecnico": 0,
- "netPriceTecnico": 0,
- "netPriceKm": 0,
- "netPriceOreViaggio": 0,
- "netPricePranzo": 0,
- "netPriceCena": 0,
- "netPricePernotto": 0,
- "lingua": "st"
 }
 ]
 }
 ],
- "configurazioneintervento": {- "id": 0,
- "aziendamap_id": 0,
- "nome": "string",
- "colore": "string",
- "default": true,
- "visibileStampa": true,
- "enabled": true,
- "abilitaNumerazioneCustom": true,
- "configurazioneUsata": true,
- "numerazioneId": 0,
- "previsto_in_remoto": true,
- "interventiACorpo": true,
- "importoInterventiACorpo": 0
 },
- "geolocation": [- {- "id": 0,
- "geolocationValue": {- "coordinates": [- 0
 ]
 },
- "inChiusura": true,
- "fromDevice": true,
- "usersId": 0,
- "rapportinoId": 0,
- "start_date": null
 }
 ],
- "campi_personalizzati": [- {- "id": 0,
- "configurazionetipocampotable_id": 0,
- "visibile_web": true,
- "visibile_app": true,
- "visibile_stampa": true,
- "configurazioneinterventocampiposizione_id": 0,
- "nome_campo": "string",
- "tipo_campo": "string",
- "options": "string",
- "abilitazione": true,
- "obbligatorio": true,
- "default": "string",
- "valore_richiesto": "string",
- "nomeCampoGestionale": "string",
- "abilitaFatturazioneGestionale": true,
- "valore": "string",
- "valore_id": 0,
- "value_abilitazione": true,
- "netCost": 0,
- "netPrice": 0
 }
 ],
- "pdf": [- {- "id": 0,
- "aziendamap_id": 0,
- "type_id": 0,
- "section": "string",
- "uid": "string",
- "filetype": "string",
- "media": "string",
- "allega_a_mail": true,
- "nome_visualizzato": "string"
 }
 ],
- "media": [- {- "id": 0,
- "aziendamap_id": 0,
- "type_id": 0,
- "section": "string",
- "uid": "string",
- "filetype": "string",
- "media": "string",
- "allega_a_mail": true,
- "nome_visualizzato": "string"
 }
 ],
- "attachments": [- {- "id": 0,
- "aziendamap_id": 0,
- "type_id": 0,
- "section": "string",
- "uid": "string",
- "filetype": "string",
- "media": "string",
- "allega_a_mail": true,
- "nome_visualizzato": "string"
 }
 ],
- "attivita": null,
- "emailSent": true
 }
}Lavorazione rapportino
Servizio che permette di aggiornare il rapportino con le ultime modifiche effettuate
Request Body schema: application/json
| id | integer | 
| numero_assistenza | string | 
| motivazione | string | 
| note | string | 
| lavorazione | string | 
| dirittointervento | string | 
| isACorpo | boolean | 
| netPriceACorpo | number or null | 
| gestionePrezziIntervento | boolean | 
| visualizzazionePrezziPdf | boolean | 
| prezzoDirittoInterventoImpostato | number or null | 
| visualizza_note_spese | boolean or null | 
| visualizza_note_spese_pdf | boolean or null | 
| prezzi_note_spese | boolean or null | 
| prezzi_note_spese_pdf | boolean or null | 
| includi_prezzi_note_spese_nei_prezzi_rapportino | boolean or null | 
| Array of objects | |
| inserimento_libero | string | 
| tipologia_inserimento_ore | string or null | 
| Array of objects | |
| Array of objects | |
| Array of objects | |
| revisione | string or null | 
| Array of objects | |
| in_remoto | boolean | 
| lingua_pdf | string or null | 
Responses
Request samples
- Payload
{- "id": 0,
- "numero_assistenza": "string",
- "motivazione": "string",
- "note": "string",
- "lavorazione": "string",
- "dirittointervento": "string",
- "isACorpo": true,
- "netPriceACorpo": 0,
- "gestionePrezziIntervento": true,
- "visualizzazionePrezziPdf": true,
- "prezzoDirittoInterventoImpostato": 0,
- "visualizza_note_spese": true,
- "visualizza_note_spese_pdf": true,
- "prezzi_note_spese": true,
- "prezzi_note_spese_pdf": true,
- "includi_prezzi_note_spese_nei_prezzi_rapportino": true,
- "campi_personalizzati": [- {- "id": 0,
- "configurazionetipocampotable_id": 0,
- "visibile_web": true,
- "visibile_app": true,
- "visibile_stampa": true,
- "configurazioneinterventocampiposizione_id": 0,
- "nome_campo": "string",
- "tipo_campo": "string",
- "options": "string",
- "abilitazione": true,
- "obbligatorio": true,
- "default": "string",
- "valore_richiesto": "string",
- "nomeCampoGestionale": "string",
- "abilitaFatturazioneGestionale": true,
- "valore": "string",
- "valore_id": 0,
- "value_abilitazione": true,
- "netCost": 0,
- "netPrice": 0,
- "riferimento_id": 0,
- "start_date": "string",
- "end_date": "string"
 }
 ],
- "inserimento_libero": "string",
- "tipologia_inserimento_ore": "string",
- "orelavorate": [- {- "id": 0,
- "masterid": "string",
- "attivita": 0,
- "rif_id": 0,
- "user_id": 0,
- "data": "string",
- "ora_mattino_da": "string",
- "ora_mattino_a": "string",
- "ora_pomeriggio_da": "string",
- "ora_pomeriggio_a": "string",
- "ora_sera_da": "string",
- "ora_sera_a": "string",
- "totale_ore": 0,
- "trasferta_andata_da": "string",
- "trasferta_andata_a": "string",
- "trasferta_ritorno_da": "string",
- "trasferta_ritorno_a": "string",
- "pranzo": "str",
- "cena": "str",
- "pernotto": "str",
- "ore_viaggio": 0,
- "km_viaggio": 0,
- "signature": "string",
- "nominativo": "string",
- "numero_tecnici": 0,
- "macchinariId": 0,
- "prezzoTecnicoCalcolato": 0,
- "prezzoImpostato": 0,
- "prezzoKmViaggioCalcolato": 0,
- "prezzoKmViaggioImpostato": 0,
- "prezzoOreViaggioCalcolato": 0,
- "prezzoOreViaggioImpostato": 0,
- "prezzoPranzoCalcolato": 0,
- "prezzoPranzoImpostato": 0,
- "prezzoCenaCalcolato": 0,
- "prezzoCenaImpostato": 0,
- "prezzoPernottoCalcolato": 0,
- "prezzoPernottoImpostato": 0,
- "start_date": "string",
- "end_date": "string",
- "users": {- "id": 0,
- "aziendamap_id": 0,
- "username": "string",
- "role": "string",
- "name": "string",
- "surname": "string",
- "customer_id": 0,
- "failed_attempts": 0,
- "status": "string",
- "scheduleorder": 0,
- "scheduleenabled": "s",
- "email": "string",
- "emailConfermaIntervento": true,
- "signature": true,
- "last_attempt": "string",
- "superuser": true,
- "loginWithGoogle": true,
- "netCostTecnico": 0,
- "netPriceTecnico": 0,
- "netPriceKm": 0,
- "netPriceOreViaggio": 0,
- "netPricePranzo": 0,
- "netPriceCena": 0,
- "netPricePernotto": 0,
- "lingua": "st",
- "start_date": "string",
- "end_date": "string"
 },
- "macchinari": {- "id": 0,
- "idEsterno": "string",
- "isDefault": true,
- "matricola": "string",
- "barcode": "string",
- "nome": "string",
- "note": "string",
- "disabled": true,
- "impiantiId": 0,
- "start_date": "string",
- "end_date": "string",
- "createdAt": "string",
- "updatedAt": "string",
- "deletedAt": "string"
 }
 }
 ],
- "rapportinomateriale": [- {- "id": 0,
- "rapportino_id": 0,
- "macchinariId": 0,
- "anagraficamateriale_id": 0,
- "quantita": 0,
- "descrizione": "string",
- "cod_articolo": "string",
- "cod_articolo_esterno": "string",
- "um": "string",
- "note": "string",
- "netPrice": 0,
- "netCost": 0,
- "anagraficamateriale": {- "id": 0,
- "aziendamap_id": 0,
- "codice_articolo": "string",
- "codice_articolo_esterno": "string",
- "descrizione": "string",
- "um": "string",
- "netCost": 0,
- "netPrice": 0
 },
- "macchinari": {- "id": 0,
- "idEsterno": "string",
- "isDefault": true,
- "matricola": "string",
- "barcode": "string",
- "nome": "string",
- "note": "string",
- "disabled": true,
- "impiantiId": 0,
- "start_date": "string",
- "end_date": "string",
- "createdAt": "string",
- "updatedAt": "string",
- "deletedAt": "string"
 }
 }
 ],
- "notespese": [- {- "id": 0,
- "nome": "string",
- "data": "string",
- "importo": 0,
- "descrizione": "string",
- "rapportino_id": 0,
- "configurazioneNoteSpese_id": 0,
- "users": [- {- "id": 0,
- "aziendamap_id": 0,
- "username": "string",
- "role": "string",
- "name": "string",
- "surname": "string",
- "customer_id": 0,
- "failed_attempts": 0,
- "status": "string",
- "scheduleorder": 0,
- "scheduleenabled": "s",
- "email": "string",
- "emailConfermaIntervento": true,
- "signature": true,
- "last_attempt": "string",
- "superuser": true,
- "loginWithGoogle": true,
- "netCostTecnico": 0,
- "netPriceTecnico": 0,
- "netPriceKm": 0,
- "netPriceOreViaggio": 0,
- "netPricePranzo": 0,
- "netPriceCena": 0,
- "netPricePernotto": 0,
- "lingua": "st"
 }
 ]
 }
 ],
- "revisione": "string",
- "attivita": [- {- "id": 0,
- "contratto_date": "string",
- "lavorazione_date": "string",
- "valore": "string",
- "value_abilitazione": "string"
 }
 ],
- "in_remoto": true,
- "lingua_pdf": "string"
}Response samples
- 201
- 404
- 500
{- "success": true,
- "message": "string",
- "item": {- "id": 0
 }
}Aggiornamento idgestionale
Servizio che permette di di aggiornare il campo idgestionale per un elenco di rapportini
Request Body schema: application/json
| id required | integer | 
| idgestionale | string | 
Responses
Request samples
- Payload
[- {- "id": 0,
- "idgestionale": "string"
 }
]Response samples
- 201
- 404
- 500
{- "success": true,
- "alert": [- "string"
 ],
- "items": [- {- "id": 0,
- "idgestionale": "string"
 }
 ]
}Elenco appuntamenti pianificatore
Servizio che permette di caricare gli appuntamenti e i todos in un periodo di tempo specificato
path Parameters
| startDate required | string | 
| endDate required | string | 
Responses
Response samples
- 200
- 404
- 500
{- "success": true,
- "message": "string",
- "items": [- {- "user": {- "id": 0,
- "aziendamap_id": 0,
- "username": "string",
- "role": "string",
- "name": "string",
- "surname": "string",
- "customer_id": 0,
- "failed_attempts": 0,
- "status": "string",
- "scheduleorder": 0,
- "scheduleenabled": "s",
- "email": "string",
- "emailConfermaIntervento": true,
- "signature": true,
- "last_attempt": "string",
- "superuser": true,
- "loginWithGoogle": true,
- "netCostTecnico": 0,
- "netPriceTecnico": 0,
- "netPriceKm": 0,
- "netPriceOreViaggio": 0,
- "netPricePranzo": 0,
- "netPriceCena": 0,
- "netPricePernotto": 0,
- "lingua": "st",
- "mansioni": [- {- "id": 0,
- "aziendamap_id": 0,
- "nome": "string",
- "isDefault": true
 }
 ]
 },
- "impegni": [- [- {- "id": 0,
- "aziendamap_id": 0,
- "cliente_id": 0,
- "sede_id": 0,
- "titolo": "string",
- "note": "string",
- "inviato_operatore": "st",
- "rapportino_id": 0,
- "conferma_cliente": "st",
- "tipologia": "st",
- "user_id": 0,
- "rif_user_id": 0,
- "priorita": 0,
- "urgenza": 0,
- "update_date": "string",
- "day_of_year": 0,
- "app_date": "string",
- "app_end_date": "string",
- "app_ora": "string",
- "riferimento": "string",
- "contratto_id": 0,
- "indirizzocantiere": true,
- "indirizzo": "string",
- "citta": "string",
- "provincia": "string",
- "previsto_in_remoto": true,
- "stato_rapportino": "string",
- "configurazioneintervento_id": 0,
- "start_date": "string",
- "rapportino": {- "id": 0,
- "aziendamap_id": 0,
- "numero_assistenza": "string",
- "idgestionale": "string",
- "stato": "string",
- "motivazione": "string",
- "inserimento_libero": "st",
- "tipologia_inserimento_ore": "string",
- "dirittointervento": "st",
- "lavorazione": "string",
- "nominativo_accettazione": "string",
- "note": "string",
- "signature": "string",
- "chiusura_date": "2019-08-24T14:15:22Z",
- "revisione": "2019-08-24T14:15:22Z",
- "flagged": true,
- "completato": true,
- "totore": 0,
- "totoreCoperteContratto": 0,
- "lastFailureGestionale": "string",
- "trasferta_ritorno_effettuata": true,
- "in_remoto": true,
- "configurazioneintervento_id": 0,
- "prezzoDirittoInterventoImpostato": 0,
- "netPriceACorpo": 0,
- "gestionePrezziIntervento": true,
- "visualizzazionePrezziPdf": true,
- "visualizza_note_spese": true,
- "visualizza_note_spese_pdf": true,
- "prezzi_note_spese": true,
- "prezzi_note_spese_pdf": true,
- "includi_prezzi_note_spese_nei_prezzi_rapportino": true,
- "isACorpo": true,
- "pagato": true,
- "lingua_pdf": "string"
 },
- "anagraficaclienti": {- "id": 0,
- "aziendamap_id": 0,
- "gestionale": true,
- "idanagrafica": "string",
- "ragione_sociale": "string",
- "piva": "string",
- "telefono2": "string",
- "codicefiscale": "string",
- "provincia": "str",
- "cap": "string",
- "localita": "string",
- "citta": "string",
- "nazione": "string",
- "km": "string",
- "ore": "string",
- "indirizzo": "string",
- "cellulare": "string",
- "note": "string",
- "mail": "string",
- "telefono": "string",
- "riferimento": "string",
- "lingua": "st",
- "geolocation": {- "id": 0,
- "geolocationValue": {- "coordinates": [- null
 ]
 },
- "inChiusura": true,
- "fromDevice": true,
- "usersId": 0,
- "rapportinoId": 0
 }
 },
- "clienteFatturazione": {- "id": 0,
- "aziendamap_id": 0,
- "gestionale": true,
- "idanagrafica": "string",
- "ragione_sociale": "string",
- "piva": "string",
- "telefono2": "string",
- "codicefiscale": "string",
- "provincia": "str",
- "cap": "string",
- "localita": "string",
- "citta": "string",
- "nazione": "string",
- "km": "string",
- "ore": "string",
- "indirizzo": "string",
- "cellulare": "string",
- "note": "string",
- "mail": "string",
- "telefono": "string",
- "riferimento": "string",
- "lingua": "st",
- "geolocation": {- "id": 0,
- "geolocationValue": {- "coordinates": [- null
 ]
 },
- "inChiusura": true,
- "fromDevice": true,
- "usersId": 0,
- "rapportinoId": 0
 }
 },
- "impianti": [- {- "id": 0,
- "idEsterno": "string",
- "isDefault": true,
- "nome": "string",
- "provincia": "string",
- "cap": "string",
- "citta": "string",
- "indirizzo": "string",
- "nazione": "string",
- "telefono": "string",
- "nominativo": "string",
- "email": "string",
- "note": "string",
- "km": "string",
- "ore": "string",
- "disabled": true,
- "lingua": "st",
- "anagraficaclientiId": 0,
- "geolocationId": 0,
- "geolocation": {- "id": 0,
- "geolocationValue": {- "coordinates": [ ]
 },
- "inChiusura": true,
- "fromDevice": true,
- "usersId": 0,
- "rapportinoId": 0
 }
 }
 ],
- "usersList": [- {- "id": 0,
- "aziendamap_id": 0,
- "username": "string",
- "role": "string",
- "name": "string",
- "surname": "string",
- "customer_id": 0,
- "failed_attempts": 0,
- "status": "string",
- "scheduleorder": 0,
- "scheduleenabled": "s",
- "email": "string",
- "emailConfermaIntervento": true,
- "signature": true,
- "last_attempt": "string",
- "superuser": true,
- "loginWithGoogle": true,
- "netCostTecnico": 0,
- "netPriceTecnico": 0,
- "netPriceKm": 0,
- "netPriceOreViaggio": 0,
- "netPricePranzo": 0,
- "netPriceCena": 0,
- "netPricePernotto": 0,
- "lingua": "st"
 }
 ]
 }
 ]
 ]
 }
 ],
- "todos": [- {- "id": 0,
- "aziendamap_id": 0,
- "cliente_id": 0,
- "sede_id": 0,
- "titolo": "string",
- "note": "string",
- "inviato_operatore": "st",
- "rapportino_id": 0,
- "conferma_cliente": "st",
- "tipologia": "st",
- "user_id": 0,
- "rif_user_id": 0,
- "priorita": 0,
- "urgenza": 0,
- "update_date": "string",
- "day_of_year": 0,
- "app_date": "string",
- "app_end_date": "string",
- "app_ora": "string",
- "riferimento": "string",
- "contratto_id": 0,
- "indirizzocantiere": true,
- "indirizzo": "string",
- "citta": "string",
- "provincia": "string",
- "previsto_in_remoto": true,
- "stato_rapportino": "string",
- "configurazioneintervento_id": 0,
- "start_date": "string",
- "rapportino": {- "id": 0,
- "aziendamap_id": 0,
- "numero_assistenza": "string",
- "idgestionale": "string",
- "stato": "string",
- "motivazione": "string",
- "inserimento_libero": "st",
- "tipologia_inserimento_ore": "string",
- "dirittointervento": "st",
- "lavorazione": "string",
- "nominativo_accettazione": "string",
- "note": "string",
- "signature": "string",
- "chiusura_date": "2019-08-24T14:15:22Z",
- "revisione": "2019-08-24T14:15:22Z",
- "flagged": true,
- "completato": true,
- "totore": 0,
- "totoreCoperteContratto": 0,
- "lastFailureGestionale": "string",
- "trasferta_ritorno_effettuata": true,
- "in_remoto": true,
- "configurazioneintervento_id": 0,
- "prezzoDirittoInterventoImpostato": 0,
- "netPriceACorpo": 0,
- "gestionePrezziIntervento": true,
- "visualizzazionePrezziPdf": true,
- "visualizza_note_spese": true,
- "visualizza_note_spese_pdf": true,
- "prezzi_note_spese": true,
- "prezzi_note_spese_pdf": true,
- "includi_prezzi_note_spese_nei_prezzi_rapportino": true,
- "isACorpo": true,
- "pagato": true,
- "lingua_pdf": "string"
 },
- "anagraficaclienti": {- "id": 0,
- "aziendamap_id": 0,
- "gestionale": true,
- "idanagrafica": "string",
- "ragione_sociale": "string",
- "piva": "string",
- "telefono2": "string",
- "codicefiscale": "string",
- "provincia": "str",
- "cap": "string",
- "localita": "string",
- "citta": "string",
- "nazione": "string",
- "km": "string",
- "ore": "string",
- "indirizzo": "string",
- "cellulare": "string",
- "note": "string",
- "mail": "string",
- "telefono": "string",
- "riferimento": "string",
- "lingua": "st",
- "geolocation": {- "id": 0,
- "geolocationValue": {- "coordinates": [- 0
 ]
 },
- "inChiusura": true,
- "fromDevice": true,
- "usersId": 0,
- "rapportinoId": 0
 }
 },
- "clienteFatturazione": {- "id": 0,
- "aziendamap_id": 0,
- "gestionale": true,
- "idanagrafica": "string",
- "ragione_sociale": "string",
- "piva": "string",
- "telefono2": "string",
- "codicefiscale": "string",
- "provincia": "str",
- "cap": "string",
- "localita": "string",
- "citta": "string",
- "nazione": "string",
- "km": "string",
- "ore": "string",
- "indirizzo": "string",
- "cellulare": "string",
- "note": "string",
- "mail": "string",
- "telefono": "string",
- "riferimento": "string",
- "lingua": "st",
- "geolocation": {- "id": 0,
- "geolocationValue": {- "coordinates": [- 0
 ]
 },
- "inChiusura": true,
- "fromDevice": true,
- "usersId": 0,
- "rapportinoId": 0
 }
 },
- "impianti": [- {- "id": 0,
- "idEsterno": "string",
- "isDefault": true,
- "nome": "string",
- "provincia": "string",
- "cap": "string",
- "citta": "string",
- "indirizzo": "string",
- "nazione": "string",
- "telefono": "string",
- "nominativo": "string",
- "email": "string",
- "note": "string",
- "km": "string",
- "ore": "string",
- "disabled": true,
- "lingua": "st",
- "anagraficaclientiId": 0,
- "geolocationId": 0,
- "geolocation": {- "id": 0,
- "geolocationValue": {- "coordinates": [- 0
 ]
 },
- "inChiusura": true,
- "fromDevice": true,
- "usersId": 0,
- "rapportinoId": 0
 }
 }
 ],
- "usersList": [- {- "id": 0,
- "aziendamap_id": 0,
- "username": "string",
- "role": "string",
- "name": "string",
- "surname": "string",
- "customer_id": 0,
- "failed_attempts": 0,
- "status": "string",
- "scheduleorder": 0,
- "scheduleenabled": "s",
- "email": "string",
- "emailConfermaIntervento": true,
- "signature": true,
- "last_attempt": "string",
- "superuser": true,
- "loginWithGoogle": true,
- "netCostTecnico": 0,
- "netPriceTecnico": 0,
- "netPriceKm": 0,
- "netPriceOreViaggio": 0,
- "netPricePranzo": 0,
- "netPriceCena": 0,
- "netPricePernotto": 0,
- "lingua": "st"
 }
 ]
 }
 ]
}Inserimento appuntamenti in blocco
Servizio che permette di inserire un blocco di appuntamenti
Request Body schema: application/json
| id | string | 
| object | |
| app_date | any | 
| object | |
| clienteFatturazione | object or null | 
| titolo required | string | 
| note | string | 
| app_ora | any | 
| idgestionale | string | 
| Array of objects | 
Responses
Request samples
- Payload
[- {- "id": "string",
- "user": {- "id": 0
 },
- "app_date": null,
- "anagraficaclienti": {- "id": 0
 },
- "clienteFatturazione": { },
- "titolo": "string",
- "note": "string",
- "app_ora": null,
- "idgestionale": "string",
- "rapportinomateriale": [- {- "quantita": 0,
- "cod_articolo": "string",
- "note": "string"
 }
 ]
 }
]Response samples
- 200
- 404
- 500
{- "success": true,
- "alert": [- "string"
 ],
- "items": [- {- "id": 0,
- "rapportino_id": 0,
- "idgestionale": "string"
 }
 ]
}Caricamento dettaglio utente
Servizio che permette di caricare il dettaglio di un singolo utente
path Parameters
| id required | string | 
Responses
Response samples
- 200
- 500
{- "success": true,
- "message": "string",
- "item": {- "id": 0,
- "aziendamap_id": 0,
- "username": "string",
- "role": "string",
- "name": "string",
- "surname": "string",
- "customer_id": 0,
- "failed_attempts": 0,
- "status": "string",
- "scheduleorder": 0,
- "scheduleenabled": "s",
- "email": "string",
- "emailConfermaIntervento": true,
- "signature": true,
- "last_attempt": "string",
- "superuser": true,
- "loginWithGoogle": true,
- "netCostTecnico": 0,
- "netPriceTecnico": 0,
- "netPriceKm": 0,
- "netPriceOreViaggio": 0,
- "netPricePranzo": 0,
- "netPriceCena": 0,
- "netPricePernotto": 0,
- "lingua": "st",
- "media": {- "id": 0,
- "aziendamap_id": 0,
- "type_id": 0,
- "section": "string",
- "uid": "string",
- "filetype": "string",
- "media": "string",
- "allega_a_mail": true,
- "nome_visualizzato": "string"
 },
- "mansioni": [- {- "id": 0,
- "aziendamap_id": 0,
- "nome": "string",
- "isDefault": true
 }
 ],
- "geolocation": [- {- "id": 0,
- "geolocationValue": {- "coordinates": [- 0
 ]
 },
- "inChiusura": true,
- "fromDevice": true,
- "usersId": 0,
- "rapportinoId": 0,
- "start_date": null
 }
 ],
- "gruppiRuolo": [- {- "id": 0,
- "aziendamap_id": 0,
- "name": "string",
- "key": "string"
 }
 ],
- "gruppiCustom": [- {- "id": 0,
- "aziendamap_id": 0,
- "name": "string",
- "key": "string"
 }
 ]
 }
}Elenco utenti per azienda
Servizio che permette di caricare gli utenti appartenenti ad una azienda
Responses
Response samples
- 200
- 401
- 500
{- "success": true,
- "message": "string",
- "tecnici": [- {- "id": 0,
- "username": "string",
- "role": "string",
- "name": "string",
- "surname": "string",
- "customer_id": "string",
- "status": "string",
- "email": "string"
 }
 ]
}