You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(frd-kpi): PPABV-98 add authorizer check for fdr kpi (#2675)
* feat(frd-kpi): add authorizer check for fdr kpi
* feat: add new psps id as query param
* chore: check for brokerId
* chore: brokerFiscalCode as query param
* fix: update broker as query param
* fix: typo
* chore: check brokerFiscalCode as first
Copy file name to clipboardExpand all lines: src/domains/qi-app/api/qi-fdr-kpi-api/v1/_openapi.json.tpl
+19-31Lines changed: 19 additions & 31 deletions
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@
17
17
}
18
18
],
19
19
"paths": {
20
-
"/fdr-kpi/{kpiType}/{period}": {
20
+
"/fdr-kpi/{kpiType}": {
21
21
"get": {
22
22
"tags": [
23
23
"qiFdr"
@@ -39,9 +39,18 @@
39
39
},
40
40
"description": "The type of KPI to calculate\n"
41
41
},
42
+
{
43
+
"name": "brokerFiscalCode",
44
+
"in": "query",
45
+
"required": false,
46
+
"schema": {
47
+
"type": "string"
48
+
},
49
+
"description": "Broker fiscal code \n"
50
+
},
42
51
{
43
52
"name": "period",
44
-
"in": "path",
53
+
"in": "query",
45
54
"required": true,
46
55
"schema": {
47
56
"type": "string",
@@ -62,6 +71,14 @@
62
71
"example": "2024-09"
63
72
},
64
73
"description": "For daily KPIs: Specify the full date (YYYY-MM-DD). Must be at least 10 days before current date.\nFor monthly KPIs: Specify year and month (YYYY-MM).\n"
0 commit comments