|
22 | 22 | {
|
23 | 23 | "name": "UserGroup",
|
24 | 24 | "description": "User group endpoint CRUD operations"
|
| 25 | + }, |
| 26 | + { |
| 27 | + "name": "infocamere", |
| 28 | + "description": "Info Camere Controller" |
25 | 29 | }
|
26 | 30 | ],
|
27 | 31 | "paths": {
|
|
291 | 295 | ]
|
292 | 296 | }
|
293 | 297 | },
|
| 298 | + "/info-camere/institutions": { |
| 299 | + "post": { |
| 300 | + "tags": [ |
| 301 | + "infocamere" |
| 302 | + ], |
| 303 | + "summary": "Get institutions by legal tax id", |
| 304 | + "description": "Get the list of companies represented by the tax code of the person (physical or juridical) passed as a parameter", |
| 305 | + "operationId": "institutionsByLegalTaxIdUsingPOST", |
| 306 | + "requestBody": { |
| 307 | + "content": { |
| 308 | + "application/json": { |
| 309 | + "schema": { |
| 310 | + "$ref": "#/components/schemas/GetInstitutionsByLegalDto" |
| 311 | + } |
| 312 | + } |
| 313 | + } |
| 314 | + }, |
| 315 | + "responses": { |
| 316 | + "200": { |
| 317 | + "description": "OK", |
| 318 | + "content": { |
| 319 | + "application/json": { |
| 320 | + "schema": { |
| 321 | + "$ref": "#/components/schemas/BusinessesResource" |
| 322 | + } |
| 323 | + } |
| 324 | + } |
| 325 | + }, |
| 326 | + "400": { |
| 327 | + "description": "Bad Request", |
| 328 | + "content": { |
| 329 | + "application/problem+json": { |
| 330 | + "schema": { |
| 331 | + "$ref": "#/components/schemas/Problem" |
| 332 | + } |
| 333 | + } |
| 334 | + } |
| 335 | + }, |
| 336 | + "401": { |
| 337 | + "description": "Unauthorized", |
| 338 | + "content": { |
| 339 | + "application/problem+json": { |
| 340 | + "schema": { |
| 341 | + "$ref": "#/components/schemas/Problem" |
| 342 | + } |
| 343 | + } |
| 344 | + } |
| 345 | + }, |
| 346 | + "500": { |
| 347 | + "description": "Internal Server Error", |
| 348 | + "content": { |
| 349 | + "application/problem+json": { |
| 350 | + "schema": { |
| 351 | + "$ref": "#/components/schemas/Problem" |
| 352 | + } |
| 353 | + } |
| 354 | + } |
| 355 | + } |
| 356 | + }, |
| 357 | + "security": [ |
| 358 | + { |
| 359 | + "bearerAuth": [ |
| 360 | + "global" |
| 361 | + ] |
| 362 | + } |
| 363 | + ] |
| 364 | + } |
| 365 | + }, |
| 366 | + "/national-registries/legal-address": { |
| 367 | + "get": { |
| 368 | + "tags": [ |
| 369 | + "national-registries" |
| 370 | + ], |
| 371 | + "summary": "Retrieve data from AdE and InfoCamere", |
| 372 | + "description": "Get the legal address of the business", |
| 373 | + "operationId": "legalAddressUsingGET", |
| 374 | + "parameters": [ |
| 375 | + { |
| 376 | + "name": "taxId", |
| 377 | + "in": "query", |
| 378 | + "description": "taxId", |
| 379 | + "required": true, |
| 380 | + "style": "form", |
| 381 | + "schema": { |
| 382 | + "type": "string" |
| 383 | + } |
| 384 | + } |
| 385 | + ], |
| 386 | + "responses": { |
| 387 | + "200": { |
| 388 | + "description": "OK", |
| 389 | + "content": { |
| 390 | + "application/json": { |
| 391 | + "schema": { |
| 392 | + "$ref": "#/components/schemas/LegalAddressResponse" |
| 393 | + } |
| 394 | + } |
| 395 | + } |
| 396 | + }, |
| 397 | + "400": { |
| 398 | + "description": "Bad Request", |
| 399 | + "content": { |
| 400 | + "application/problem+json": { |
| 401 | + "schema": { |
| 402 | + "$ref": "#/components/schemas/Problem" |
| 403 | + } |
| 404 | + } |
| 405 | + } |
| 406 | + }, |
| 407 | + "401": { |
| 408 | + "description": "Unauthorized", |
| 409 | + "content": { |
| 410 | + "application/problem+json": { |
| 411 | + "schema": { |
| 412 | + "$ref": "#/components/schemas/Problem" |
| 413 | + } |
| 414 | + } |
| 415 | + } |
| 416 | + }, |
| 417 | + "404": { |
| 418 | + "description": "Not Found", |
| 419 | + "content": { |
| 420 | + "application/problem+json": { |
| 421 | + "schema": { |
| 422 | + "$ref": "#/components/schemas/Problem" |
| 423 | + } |
| 424 | + } |
| 425 | + } |
| 426 | + }, |
| 427 | + "500": { |
| 428 | + "description": "Internal Server Error", |
| 429 | + "content": { |
| 430 | + "application/problem+json": { |
| 431 | + "schema": { |
| 432 | + "$ref": "#/components/schemas/Problem" |
| 433 | + } |
| 434 | + } |
| 435 | + } |
| 436 | + } |
| 437 | + }, |
| 438 | + "security": [ |
| 439 | + { |
| 440 | + "bearerAuth": [ |
| 441 | + "global" |
| 442 | + ] |
| 443 | + } |
| 444 | + ] |
| 445 | + } |
| 446 | + }, |
294 | 447 | "/national-registries/legal-tax/verification": {
|
295 | 448 | "post": {
|
296 | 449 | "tags": [
|
|
1072 | 1225 | }
|
1073 | 1226 | }
|
1074 | 1227 | },
|
| 1228 | + "BusinessesResource": { |
| 1229 | + "title": "BusinessesResource", |
| 1230 | + "type": "object", |
| 1231 | + "properties": { |
| 1232 | + "businesses": { |
| 1233 | + "type": "array", |
| 1234 | + "items": { |
| 1235 | + "$ref": "#/components/schemas/BusinessResource" |
| 1236 | + } |
| 1237 | + }, |
| 1238 | + "legalTaxId": { |
| 1239 | + "type": "string" |
| 1240 | + }, |
| 1241 | + "requestDateTime": { |
| 1242 | + "type": "string" |
| 1243 | + } |
| 1244 | + } |
| 1245 | + }, |
| 1246 | + "BusinessResource": { |
| 1247 | + "title": "BusinessResource", |
| 1248 | + "type": "object", |
| 1249 | + "properties": { |
| 1250 | + "businessName": { |
| 1251 | + "type": "string" |
| 1252 | + }, |
| 1253 | + "businessTaxId": { |
| 1254 | + "type": "string" |
| 1255 | + } |
| 1256 | + } |
| 1257 | + }, |
| 1258 | + "GetInstitutionsByLegalDto": { |
| 1259 | + "title": "GetInstitutionsByLegalDto", |
| 1260 | + "type": "object", |
| 1261 | + "properties": { |
| 1262 | + "filter": { |
| 1263 | + "$ref": "#/components/schemas/GetInstitutionsByLegalFilterDto" |
| 1264 | + } |
| 1265 | + } |
| 1266 | + }, |
| 1267 | + "GetInstitutionsByLegalFilterDto": { |
| 1268 | + "title": "GetInstitutionsByLegalFilterDto", |
| 1269 | + "type": "object", |
| 1270 | + "properties": { |
| 1271 | + "legalTaxId": { |
| 1272 | + "type": "string" |
| 1273 | + } |
| 1274 | + } |
| 1275 | + }, |
| 1276 | + "LegalAddressResponse": { |
| 1277 | + "title": "LegalAddressResponse", |
| 1278 | + "type": "object", |
| 1279 | + "properties": { |
| 1280 | + "address": { |
| 1281 | + "type": "string" |
| 1282 | + }, |
| 1283 | + "zipCode": { |
| 1284 | + "type": "string" |
| 1285 | + } |
| 1286 | + } |
| 1287 | + }, |
1075 | 1288 | "LegalVerificationResource": {
|
1076 | 1289 | "title": "LegalVerificationResource",
|
1077 | 1290 | "type": "object",
|
|
0 commit comments