178 lines
4.6 KiB
YAML
178 lines
4.6 KiB
YAML
info:
|
|
name: Recupera il blob dell'allegato richiesto
|
|
type: http
|
|
seq: 7
|
|
tags:
|
|
- dichiarazioni_invalidità
|
|
|
|
http:
|
|
method: GET
|
|
url: "{{baseUrl}}/persone/:persId/dicHand/:dicHandId/allegatiDicHand/:allegatoId/blob"
|
|
params:
|
|
- name: persId
|
|
value: ""
|
|
type: path
|
|
description: identificativo della persona
|
|
- name: dicHandId
|
|
value: ""
|
|
type: path
|
|
description: identificativo dichiarazione invalidità
|
|
- name: allegatoId
|
|
value: ""
|
|
type: path
|
|
description: identificativo allegato
|
|
- name: userId
|
|
value: ""
|
|
type: query
|
|
description: userId
|
|
disabled: true
|
|
auth: inherit
|
|
|
|
settings:
|
|
encodeUrl: true
|
|
timeout: 0
|
|
followRedirects: true
|
|
maxRedirects: 5
|
|
|
|
examples:
|
|
- name: 200 Response
|
|
description: Successful response
|
|
request:
|
|
url: "{{baseUrl}}/persone/:persId/dicHand/:dicHandId/allegatiDicHand/:allegatoId/blob"
|
|
method: GET
|
|
params:
|
|
- name: persId
|
|
value: ""
|
|
type: path
|
|
description: identificativo della persona
|
|
- name: dicHandId
|
|
value: ""
|
|
type: path
|
|
description: identificativo dichiarazione invalidità
|
|
- name: allegatoId
|
|
value: ""
|
|
type: path
|
|
description: identificativo allegato
|
|
- name: userId
|
|
value: ""
|
|
type: query
|
|
description: userId
|
|
disabled: true
|
|
response:
|
|
status: 200
|
|
statusText: OK
|
|
body:
|
|
type: text
|
|
data: ""
|
|
- name: 404 Response
|
|
description: Allegato non trovato
|
|
request:
|
|
url: "{{baseUrl}}/persone/:persId/dicHand/:dicHandId/allegatiDicHand/:allegatoId/blob"
|
|
method: GET
|
|
params:
|
|
- name: persId
|
|
value: ""
|
|
type: path
|
|
description: identificativo della persona
|
|
- name: dicHandId
|
|
value: ""
|
|
type: path
|
|
description: identificativo dichiarazione invalidità
|
|
- name: allegatoId
|
|
value: ""
|
|
type: path
|
|
description: identificativo allegato
|
|
- name: userId
|
|
value: ""
|
|
type: query
|
|
description: userId
|
|
disabled: true
|
|
response:
|
|
status: 404
|
|
statusText: Not Found
|
|
body:
|
|
type: text
|
|
data: ""
|
|
- name: 422 Response
|
|
description: Errore
|
|
request:
|
|
url: "{{baseUrl}}/persone/:persId/dicHand/:dicHandId/allegatiDicHand/:allegatoId/blob"
|
|
method: GET
|
|
params:
|
|
- name: persId
|
|
value: ""
|
|
type: path
|
|
description: identificativo della persona
|
|
- name: dicHandId
|
|
value: ""
|
|
type: path
|
|
description: identificativo dichiarazione invalidità
|
|
- name: allegatoId
|
|
value: ""
|
|
type: path
|
|
description: identificativo allegato
|
|
- name: userId
|
|
value: ""
|
|
type: query
|
|
description: userId
|
|
disabled: true
|
|
response:
|
|
status: 422
|
|
statusText: Unprocessable Entity
|
|
body:
|
|
type: text
|
|
data: ""
|
|
|
|
docs: |
|
|
<span class="e3rest-operation-auth-img-list"><img src="basic.png"/><img src="jwt.png"/></span>Recupera il blob dell'allegato
|
|
|
|
|
|
**Estensioni:**
|
|
|
|
Codice Estensione|Valore|Nota
|
|
-|-|-
|
|
x-cache-type|lowRefreshRateUserDependent|Risorsa che varia con frequenza bassa, cache Http abilitata, cache server disabilitata. Maggiori dettagli [qui](https://wiki.u-gov.it/confluence/display/ESSE3/Servizi+REST+su+ESSE3#ServiziRESTsuESSE3-Cachingdellerichieste)
|
|
|
|
|
|
**Controlli di sicurezza:**
|
|
======
|
|
_Nota: Il controllo per utente è verificato quando viene passato almeno uno dei controlli previsti_
|
|
|
|
**Utente: USER_TECNICO**
|
|
|
|
Profilo|Controllo| Funzione
|
|
-|-|-
|
|
UTENTE_TECNICO|funzione accessibile alle utenze tecniche per accessi ai servizi REST|Security.checkUserTecnico()
|
|
|
|
**Utente: DOCENTE**
|
|
|
|
Profilo|Controllo| Funzione
|
|
-|-|-
|
|
DOCENTE|Permette la visualizzazione ad un utente di tipo DOCENTE e controlla che il docente sia colleagato alla persona|SecurityAnaper.checkDocenteDichHandByPersId(persId)
|
|
|
|
**Utente: SOGG_EST**
|
|
|
|
Profilo|Controllo| Funzione
|
|
-|-|-
|
|
SOGG_EST|Permette la visualizzazione ad un utente di tipo SOGG_EST e controlla che il docente sia colleagato alla persona|SecurityAnaper.checkSoggEstDichHandByPersId(persId)
|
|
|
|
|
|
Classe di modello : DettaglioErroreAggiuntivo
|
|
======
|
|
|
|
Estensioni sulle proprietà
|
|
----
|
|
Proprietà | x-field-type
|
|
-|-|
|
|
rawValue|rawJson
|
|
|
|
|
|
Classe di modello : DettaglioErroreAggiuntivo
|
|
======
|
|
|
|
Estensioni sulle proprietà
|
|
----
|
|
Proprietà | x-field-type
|
|
-|-|
|
|
rawValue|rawJson
|