-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathR004_consultazione_anpr.yaml
84 lines (84 loc) · 2.83 KB
/
R004_consultazione_anpr.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
openapi: 3.0.0
info:
title: Servizio consultazione anagrafe per gestione anagrafica evento di stato civile
version: '1.4.0'
servers:
- url: https://anscservice.anpr.interno.it/services/service/ricerca
description: Servizio di produzione
- url: https://anscservicepre.anpr.interno.it/services/service/ricerca
description: Servizio di preproduzione
- url: http://localhost:8088
description: Servizio mock locale
paths:
/consultazione/anagrafica/{version}:
post:
parameters:
- name: version
in: path
required: true
description: La versione del servizio invocato
schema:
type: string
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/ConsultazioneANPRRequest'
responses:
200:
description: Atto richiesto dalla ricerca
content:
application/json:
schema:
$ref: '#/components/schemas/ConsultazioneANPRResponse'
403:
description: Non autorizzato
content:
application/json:
schema:
$ref: '#/components/schemas/ConsultazioneANPRResponse'
400:
description: Se non arriva una firma valida (deve essere diversa da null)
content:
application/json:
schema:
$ref: '#/components/schemas/ConsultazioneANPRResponse'
components:
schemas:
FiltroRicercaModel:
properties:
idAnpr:
type: string
description: Id Anpr
idAnsc:
type: string
description: Id Ansc
nomeUtente:
type: string
description: Nome dell'utente
cfUtente:
type: string
description: Codice Fiscale dell'utente
credenziale1:
type: string
description: Prima credenziale della firma
credenziale2:
type: string
description: Seconda credenziale della firma
ConsultazioneANPRRequest:
description: Ritorno del servizio specializzato per la consultazione ANPR
allOf:
- $ref: 'https://italia.github.io/ansc/docs/openapi/base_servizi.yaml#/components/schemas/AnscRequest'
- type: object
properties:
filtroRicercaModel:
$ref: '#/components/schemas/FiltroRicercaModel'
ConsultazioneANPRResponse:
description: Ritorno del servizio specializzato per la consultazione ANP
allOf:
- $ref: 'https://italia.github.io/ansc/docs/openapi/base_servizi.yaml#/components/schemas/AnscResponse'
- type: object
properties:
modelEvento:
$ref: 'https://italia.github.io/ansc/docs/openapi/model_evento.yaml#/components/schemas/ModelEvento'