|
26 | 26 | {
|
27 | 27 | "name": "Delegation",
|
28 | 28 | "description": "Delegation Controller"
|
| 29 | + }, |
| 30 | + { |
| 31 | + "name": "infocamere-pdnd", |
| 32 | + "description": "PDND Info Camere Controller" |
29 | 33 | }
|
30 | 34 | ],
|
31 | 35 | "paths": {
|
|
339 | 343 | ]
|
340 | 344 | }
|
341 | 345 | },
|
| 346 | + "/infocamere-pdnd/institution/{taxCode}": { |
| 347 | + "get": { |
| 348 | + "tags": [ |
| 349 | + "infocamere-pdnd" |
| 350 | + ], |
| 351 | + "summary": "Get institution by institution taxCode", |
| 352 | + "description": "Get the company represented by taxCode of the institution passed as a parameter", |
| 353 | + "operationId": "institutionPdndByTaxCodeUsingGET", |
| 354 | + "parameters": [ |
| 355 | + { |
| 356 | + "name": "taxCode", |
| 357 | + "in": "path", |
| 358 | + "description": "Institution fiscal code", |
| 359 | + "required": true, |
| 360 | + "style": "simple", |
| 361 | + "schema": { |
| 362 | + "type": "string" |
| 363 | + } |
| 364 | + } |
| 365 | + ], |
| 366 | + "responses": { |
| 367 | + "200": { |
| 368 | + "description": "OK", |
| 369 | + "content": { |
| 370 | + "application/json": { |
| 371 | + "schema": { |
| 372 | + "$ref": "#/components/schemas/PDNDBusinessResource" |
| 373 | + } |
| 374 | + } |
| 375 | + } |
| 376 | + }, |
| 377 | + "400": { |
| 378 | + "description": "Bad Request", |
| 379 | + "content": { |
| 380 | + "application/problem+json": { |
| 381 | + "schema": { |
| 382 | + "$ref": "#/components/schemas/Problem" |
| 383 | + } |
| 384 | + } |
| 385 | + } |
| 386 | + }, |
| 387 | + "401": { |
| 388 | + "description": "Unauthorized", |
| 389 | + "content": { |
| 390 | + "application/problem+json": { |
| 391 | + "schema": { |
| 392 | + "$ref": "#/components/schemas/Problem" |
| 393 | + } |
| 394 | + } |
| 395 | + } |
| 396 | + }, |
| 397 | + "404": { |
| 398 | + "description": "Not Found", |
| 399 | + "content": { |
| 400 | + "application/problem+json": { |
| 401 | + "schema": { |
| 402 | + "$ref": "#/components/schemas/Problem" |
| 403 | + } |
| 404 | + } |
| 405 | + } |
| 406 | + }, |
| 407 | + "500": { |
| 408 | + "description": "Internal Server Error", |
| 409 | + "content": { |
| 410 | + "application/problem+json": { |
| 411 | + "schema": { |
| 412 | + "$ref": "#/components/schemas/Problem" |
| 413 | + } |
| 414 | + } |
| 415 | + } |
| 416 | + } |
| 417 | + }, |
| 418 | + "security": [ |
| 419 | + { |
| 420 | + "bearerAuth": [ |
| 421 | + "global" |
| 422 | + ] |
| 423 | + } |
| 424 | + ] |
| 425 | + } |
| 426 | + }, |
342 | 427 | "/institutions/{institutionId}/users": {
|
343 | 428 | "get": {
|
344 | 429 | "tags": [
|
|
1275 | 1360 | ],
|
1276 | 1361 | "type": "string"
|
1277 | 1362 | },
|
| 1363 | + "PDNDBusinessResource": { |
| 1364 | + "title": "PDNDBusinessResource", |
| 1365 | + "type": "object", |
| 1366 | + "properties": { |
| 1367 | + "address": { |
| 1368 | + "type": "string" |
| 1369 | + }, |
| 1370 | + "businessName": { |
| 1371 | + "type": "string" |
| 1372 | + }, |
| 1373 | + "businessStatus": { |
| 1374 | + "type": "string" |
| 1375 | + }, |
| 1376 | + "businessTaxId": { |
| 1377 | + "type": "string" |
| 1378 | + }, |
| 1379 | + "cciaa": { |
| 1380 | + "type": "string" |
| 1381 | + }, |
| 1382 | + "city": { |
| 1383 | + "type": "string" |
| 1384 | + }, |
| 1385 | + "county": { |
| 1386 | + "type": "string" |
| 1387 | + }, |
| 1388 | + "digitalAddress": { |
| 1389 | + "type": "string" |
| 1390 | + }, |
| 1391 | + "legalNature": { |
| 1392 | + "type": "string" |
| 1393 | + }, |
| 1394 | + "legalNatureDescription": { |
| 1395 | + "type": "string" |
| 1396 | + }, |
| 1397 | + "nrea": { |
| 1398 | + "type": "string" |
| 1399 | + }, |
| 1400 | + "zipCode": { |
| 1401 | + "type": "string" |
| 1402 | + } |
| 1403 | + } |
| 1404 | + }, |
1278 | 1405 | "UserResource": {
|
1279 | 1406 | "title": "UserResource",
|
1280 | 1407 | "required": [
|
|
0 commit comments