move sample query param values to docs

This commit is contained in:
2026-03-19 15:41:58 +01:00
parent a300bf43dc
commit 13ce4cad9b
3 changed files with 63 additions and 87 deletions
@@ -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 |