From 13ce4cad9b46c949fce4d253095329e1979c1dae Mon Sep 17 00:00:00 2001 From: Pier-Paolo Mammi Date: Thu, 19 Mar 2026 15:41:58 +0100 Subject: [PATCH] move sample query param values to docs --- .../Anagrafiche/Autorizzatori.yml | 75 ++++++++++--------- .../IDEM WebServices/Anagrafiche/folder.yml | 4 + .../Contratti/Contratto Esteso (IRIS GW).yml | 71 ++++++------------ 3 files changed, 63 insertions(+), 87 deletions(-) diff --git a/collections/IDEM WebServices/Anagrafiche/Autorizzatori.yml b/collections/IDEM WebServices/Anagrafiche/Autorizzatori.yml index ee95d7e..a21fe5f 100644 --- a/collections/IDEM WebServices/Anagrafiche/Autorizzatori.yml +++ b/collections/IDEM WebServices/Anagrafiche/Autorizzatori.yml @@ -5,44 +5,10 @@ info: http: method: GET - url: "{{IdemApiUrl}}/autoriz_ap.php?id_ab=186474" + url: "{{IdemApiUrl}}/autoriz_ap.php?id_ab=186449" params: - name: id_ab - value: "186473" - type: query - description: Dipartimento di Ingegneria e Architettura - disabled: true - - name: id_ab - value: "186471" - type: query - description: "Dipartimento di Scienze Chimiche, della Vita e della Sostenibilità Ambientale " - disabled: true - - name: id_ab - value: "186469" - type: query - description: Dipartimento di Scienze Matematiche, Fisiche e Informatiche - disabled: true - - name: id_ab - value: "186478" - type: query - description: Dipartimento di Scienze degli Alimenti e del Farmaco - disabled: true - - name: id_ab - value: "103725" - type: query - description: Centro - disabled: true - - name: id_ab - value: "101784" - type: query - description: CENTRO INTERDIPARTIMENTALE PER LA SICUREZZA, TECNOLOGIE E INNOVAZIONE AGROALIMENTARE - SITEIA.PARMA - disabled: true - - name: id_ab - value: "162359" - type: query - disabled: true - - name: id_ab - value: "186474" + value: "186449" type: query auth: inherit @@ -157,7 +123,42 @@ examples: "errore": "Nessun direttore" } -docs: |- +docs: | + ## Descrizione + + Il web service restituisce i seguenti dati relativi al Direttore e al RAG del Dipartimento oggetto della query. + + Input: + + - id_ab: il codice AB della struttura richiesta + + Output: + + - un JSON strutturato come nell'esempio seguente + + ```json + { + "Cognome direttore": "BETTATI", + "Nome direttore": "Stefano", + "Titolo direttore": "Prof.", + "Codice fiscale direttore": "BTTSFN66L08G337Y", + "Email direttore": "stefano.bettati@unipr.it", + "ID_AB direttore": "18101", + "ID Struttura direttore": "186474", + "Descrizione struttura direttore": "Dipartimento di Medicina e Chirurgia", + "Cognome RAG": "SCHIANCHI", + "Nome RAG": "Pietro", + "Titolo RAG": "Dott.", + "Codice fiscale RAG": "Pietro", + "Email responsabile scientifico": "pietro.schianchi@unipr.it", + "ID_AB responsabile scientifico": "18095", + "ID Struttura responsabile scientifico": "186474", + "Descrizione struttura responsabile scientifico": "Dipartimento di Medicina e Chirurgia" + } + ``` + + ## Elenco delle strutture + | ID_AB | CD_CSA | CD_NODO | DENOMINAZIONE | | :----- | :----- | :------ | :---------------------------------------------------------------------------- | | 186449 | 106148 | 300800 | Dipartimento di Scienze Medico-Veterinarie | diff --git a/collections/IDEM WebServices/Anagrafiche/folder.yml b/collections/IDEM WebServices/Anagrafiche/folder.yml index 0ffd9de..b9642c4 100644 --- a/collections/IDEM WebServices/Anagrafiche/folder.yml +++ b/collections/IDEM WebServices/Anagrafiche/folder.yml @@ -5,3 +5,7 @@ info: request: auth: inherit + +docs: + content: Web service relativi a dati anagrafici di varia natura (dati del dipendente, responsabili di Dipartimenti e Centri, strutture, etc.) + type: text/markdown diff --git a/collections/IDEM WebServices/Contratti/Contratto Esteso (IRIS GW).yml b/collections/IDEM WebServices/Contratti/Contratto Esteso (IRIS GW).yml index 3e246f8..318c58d 100644 --- a/collections/IDEM WebServices/Contratti/Contratto Esteso (IRIS GW).yml +++ b/collections/IDEM WebServices/Contratti/Contratto Esteso (IRIS GW).yml @@ -5,59 +5,11 @@ info: http: method: GET - url: "{{IdemApiUrl}}/contratto_fs_esteso_ap.php?cod_con=GIUL_F_25_CRCT_RA_MOVYON_01" + url: "{{IdemApiUrl}}/contratto_fs_esteso_ap.php?cod_con=ESPO_S_26_ACC_ACC_EMENDAMENTO2VABORKIDS_01" params: - name: cod_con - value: GOBB_G_25_CONV_QUA_01 + value: ESPO_S_26_ACC_ACC_EMENDAMENTO2VABORKIDS_01 type: query - description: Codice contratto esistente su IRIS - disabled: true - - name: cod_con - value: CRIS_G_25_CCS_IST_RA_UNIVERSITÀPOLITECNICADELL_01 - type: query - disabled: true - - name: cod_con - value: GIUL_F_25_SERV_CON_01 - type: query - description: 4 partecipanti! - disabled: true - - name: cod_con - value: TESI_M_25_CCTM_IST_01 - type: query - disabled: true - - name: cod_con - value: CASE_C_25_CCTM_IST_01 - type: query - description: Dip 106156 Umanist - disabled: true - - name: cod_con - value: CASE_C_25_CONV_QUA_01 - type: query - description: Dip 106156 Umanist - disabled: true - - name: cod_con - value: SALA_A_25_CCTM_IST_01 - type: query - disabled: true - - name: cod_con - value: MAMB_C_25_ACC_ACC_PROROGACONTRATTOCATAGLOGAZIO_01 - type: query - disabled: true - - name: cod_con - value: COVA_P_24_SERV_CON_01 - type: query - disabled: true - - name: cod_con - value: GIUL_F_25_CRCT_RA_MOVYON_01 - type: query - - name: cod_con - value: MATR_G_26_SERV_CON_CAADCOMUNEDIPARMA2026_01 - type: query - disabled: true - - name: cod_con - value: CHIA_L_25_SERV_CON_BALLERINI_01 - type: query - disabled: true auth: inherit settings: @@ -125,3 +77,22 @@ examples: "resp amministrativi": "Dott.ssa CALAMARI Maria Teresa, CF: CLMMTR66C41G535M, Qualifica: PTA, Struttura di afferenza: U.O. Amministrazione Dipartimentale Dipartimento di Scienze Chimiche, della Vita e della Sostenibilità Ambientale, Data di inizio: -, Data di fine: -\n", "Contraenti": "REGIONE EMILIA-ROMAGNA, SERVIZIO AREE PROTETTE, FORESTE E SVILUPPO DELLA MONTAGNA, CF/PIVA: 02086690373, Sede: VIALE DELLA FIERA, 8 40127 BOLOGNA (BO) ITALIA\n" } + +docs: | + ## Esempi + + | cod_con | Note | + | :------------------------------------------------ | :-------------------------------- | + | GOBB_G_25_CONV_QUA_01 | | + | CRIS_G_25_CCS_IST_RA_UNIVERSITÀPOLITECNICADELL_01 | | + | GIUL_F_25_SERV_CON_01 | | + | TESI_M_25_CCTM_IST_01 | | + | CASE_C_25_CCTM_IST_01 | | + | CASE_C_25_CONV_QUA_01 | | + | SALA_A_25_CCTM_IST_01 | | + | MAMB_C_25_ACC_ACC_PROROGACONTRATTOCATAGLOGAZIO_01 | | + | COVA_P_24_SERV_CON_01 | | + | GIUL_F_25_CRCT_RA_MOVYON_01 | 2 RS e 7 partecipanti | + | MATR_G_26_SERV_CON_CAADCOMUNEDIPARMA2026_01 | | + | CHIA_L_25_SERV_CON_BALLERINI_01 | | + | ESPO_S_26_ACC_ACC_EMENDAMENTO2VABORKIDS_01 | caratteri non-standard nel titolo |