From 1a3aacb45fcdfa0b20b9d382ed0d92788829e582 Mon Sep 17 00:00:00 2001 From: svariant Date: Thu, 17 Oct 2024 12:24:22 +0200 Subject: [PATCH 1/8] [PPANTT-142] feat: New API getAllStationsMaintenances --- .../pagopa/client/ApiConfigClient.java | 8 + .../StationMaintenanceController.java | 24 +++ .../service/StationMaintenanceService.java | 12 ++ .../impl/StationMaintenanceServiceImpl.java | 43 ++++++ .../StationMaintenanceControllerTest.java | 21 +++ .../StationMaintenanceServiceImplTest.java | 145 ++++++++++++++++++ 6 files changed, 253 insertions(+) diff --git a/src/main/java/it/pagopa/selfcare/pagopa/client/ApiConfigClient.java b/src/main/java/it/pagopa/selfcare/pagopa/client/ApiConfigClient.java index 133d86d..fa8b485 100644 --- a/src/main/java/it/pagopa/selfcare/pagopa/client/ApiConfigClient.java +++ b/src/main/java/it/pagopa/selfcare/pagopa/client/ApiConfigClient.java @@ -17,6 +17,14 @@ @FeignClient(name = "api-config", url = "${rest-client.api-config.base-url}", configuration = ApiConfigFeignConfig.class) public interface ApiConfigClient { + @GetMapping(value = "/station-maintenances", produces = {MediaType.APPLICATION_JSON_VALUE}) + StationMaintenanceListResource getAllStationsMaintenances( + @RequestParam(required = false) @DateTimeFormat(iso = DateTimeFormat.ISO.DATE_TIME) OffsetDateTime startDateTimeBefore, + @RequestParam(required = false) @DateTimeFormat(iso = DateTimeFormat.ISO.DATE_TIME) OffsetDateTime startDateTimeAfter, + @RequestParam(required = false) @DateTimeFormat(iso = DateTimeFormat.ISO.DATE_TIME) OffsetDateTime endDateTimeBefore, + @RequestParam(required = false) @DateTimeFormat(iso = DateTimeFormat.ISO.DATE_TIME) OffsetDateTime endDateTimeAfter + ); + @GetMapping(value = "brokers/{broker-code}/station-maintenances", produces = {MediaType.APPLICATION_JSON_VALUE}) StationMaintenanceListResource getStationMaintenances( @PathVariable("broker-code") String brokerCode, diff --git a/src/main/java/it/pagopa/selfcare/pagopa/controller/StationMaintenanceController.java b/src/main/java/it/pagopa/selfcare/pagopa/controller/StationMaintenanceController.java index 06fe2e7..b62cd4a 100644 --- a/src/main/java/it/pagopa/selfcare/pagopa/controller/StationMaintenanceController.java +++ b/src/main/java/it/pagopa/selfcare/pagopa/controller/StationMaintenanceController.java @@ -35,6 +35,30 @@ public StationMaintenanceController(StationMaintenanceService stationMaintenance this.stationMaintenanceService = stationMaintenanceService; } + @Operation(summary = "Get list of all stations' maintenance filtered by state") + @ApiResponses(value = { + @ApiResponse(responseCode = "200", description = "Ok", + content = @Content(mediaType = MediaType.APPLICATION_JSON_VALUE, schema = @Schema(implementation = StationMaintenanceListResource.class))), + @ApiResponse(responseCode = "400", description = "Bad Request", + content = @Content(mediaType = MediaType.APPLICATION_JSON_VALUE, schema = @Schema(implementation = ProblemJson.class))), + @ApiResponse(responseCode = "401", description = "Unauthorized", content = @Content(schema = @Schema())), + @ApiResponse(responseCode = "403", description = "Forbidden", content = @Content(schema = @Schema())), + @ApiResponse(responseCode = "429", description = "Too many requests", content = @Content(schema = @Schema())), + @ApiResponse(responseCode = "500", description = "Service unavailable", + content = @Content(mediaType = MediaType.APPLICATION_JSON_VALUE, schema = @Schema(implementation = ProblemJson.class))) + }) + @OpenApiTableMetadata(readWriteIntense = OpenApiTableMetadata.ReadWrite.READ, external = true, internal = false) + @GetMapping(produces = {MediaType.APPLICATION_JSON_VALUE}) + public StationMaintenanceListResource getAllStationsMaintenances( + @Parameter(description = "Maintenances' state") @RequestParam(required = false, defaultValue = "SCHEDULED_AND_IN_PROGRESS") StationMaintenanceListState state, + @Parameter(description = "Maintenance's starting year") @RequestParam(required = false) Integer year + ) { + return this.stationMaintenanceService.getAllStationsMaintenances( + state, + year + ); + } + @Operation(summary = "Get a paginated list of station's maintenance for the specified broker") @ApiResponses(value = { @ApiResponse(responseCode = "200", description = "Ok", diff --git a/src/main/java/it/pagopa/selfcare/pagopa/service/StationMaintenanceService.java b/src/main/java/it/pagopa/selfcare/pagopa/service/StationMaintenanceService.java index 109d2e0..5a26659 100644 --- a/src/main/java/it/pagopa/selfcare/pagopa/service/StationMaintenanceService.java +++ b/src/main/java/it/pagopa/selfcare/pagopa/service/StationMaintenanceService.java @@ -24,6 +24,18 @@ StationMaintenanceListResource getStationMaintenances( Integer page ); + /** + * Retrieves the list of all stations' maintenance that match the provided filters + * + * @param state state of the maintenance (based on start and end date), used to filter out results + * @param year year of the maintenance, used to filter out results + * @return the filtered list of station's maintenance + */ + StationMaintenanceListResource getAllStationsMaintenances( + StationMaintenanceListState state, + Integer year + ); + /** * Retrieves broker related station maintenance summary for the provided year * diff --git a/src/main/java/it/pagopa/selfcare/pagopa/service/impl/StationMaintenanceServiceImpl.java b/src/main/java/it/pagopa/selfcare/pagopa/service/impl/StationMaintenanceServiceImpl.java index f06604e..4b22226 100644 --- a/src/main/java/it/pagopa/selfcare/pagopa/service/impl/StationMaintenanceServiceImpl.java +++ b/src/main/java/it/pagopa/selfcare/pagopa/service/impl/StationMaintenanceServiceImpl.java @@ -73,6 +73,49 @@ public StationMaintenanceListResource getStationMaintenances( ); } + /** + * @inheritDoc + */ + @Override + public StationMaintenanceListResource getAllStationsMaintenances( + StationMaintenanceListState state, + Integer year + ) { + OffsetDateTime startDateTimeBefore = null; + OffsetDateTime startDateTimeAfter = null; + OffsetDateTime endDateTimeBefore = null; + OffsetDateTime endDateTimeAfter = null; + + if (state != null) { + if (state.equals(StationMaintenanceListState.FINISHED)) { + endDateTimeBefore = getDateToday(); + } + if (state.equals(StationMaintenanceListState.SCHEDULED_AND_IN_PROGRESS)) { + endDateTimeAfter = getDateToday(); + } + if (state.equals(StationMaintenanceListState.SCHEDULED)) { + startDateTimeAfter = getDateToday(); + } + if (state.equals(StationMaintenanceListState.IN_PROGRESS)) { + startDateTimeBefore = getDateToday(); + endDateTimeAfter = getDateToday(); + } + } + + if (year != null + ) { + startDateTimeBefore = startDateTimeBefore != null ? startDateTimeBefore.withYear(year) : getEndOfYear(year); + startDateTimeAfter = startDateTimeAfter != null ? startDateTimeAfter.withYear(year) : getStartOfYear(year); + } + + return this.apiConfigClient.getAllStationsMaintenances( + startDateTimeBefore, + startDateTimeAfter, + endDateTimeBefore, + endDateTimeAfter + ); + } + /** * @inheritDoc */ diff --git a/src/test/java/it/pagopa/selfcare/pagopa/controller/StationMaintenanceControllerTest.java b/src/test/java/it/pagopa/selfcare/pagopa/controller/StationMaintenanceControllerTest.java index 4d64461..736a69e 100644 --- a/src/test/java/it/pagopa/selfcare/pagopa/controller/StationMaintenanceControllerTest.java +++ b/src/test/java/it/pagopa/selfcare/pagopa/controller/StationMaintenanceControllerTest.java @@ -70,6 +70,27 @@ void getStationMaintenances() throws Exception { .andExpect(status().isOk()); } + @Test + void getAllStationsMaintenances() throws Exception { + StationMaintenanceResource maintenanceResource = new StationMaintenanceResource(); + maintenanceResource.setStationCode(STATION_CODE); + maintenanceResource.setStandIn(true); + maintenanceResource.setEndDateTime(OffsetDateTime.now()); + maintenanceResource.setStartDateTime(OffsetDateTime.now()); + maintenanceResource.setMaintenanceId(MAINTENANCE_ID); + maintenanceResource.setBrokerCode(BROKER_CODE); + StationMaintenanceListResource response = new StationMaintenanceListResource(); + response.setMaintenanceList(Collections.singletonList(maintenanceResource)); + response.setPageInfo(new PageInfo()); + when(stationMaintenanceService.getAllStationsMaintenances(any(StationMaintenanceListState.class), anyInt())).thenReturn(response); + + mvc.perform(get("/station-maintenances") + .param("state", String.valueOf(StationMaintenanceListState.SCHEDULED_AND_IN_PROGRESS)) + .param("year", String.valueOf(2024)) + .contentType(MediaType.APPLICATION_JSON)) + .andExpect(status().isOk()); + } + @Test void getBrokerMaintenancesSummaryTest() throws Exception { when(stationMaintenanceService.getBrokerMaintenancesSummary(anyString(), anyString())) diff --git a/src/test/java/it/pagopa/selfcare/pagopa/service/impl/StationMaintenanceServiceImplTest.java b/src/test/java/it/pagopa/selfcare/pagopa/service/impl/StationMaintenanceServiceImplTest.java index 187b207..2ed40d4 100644 --- a/src/test/java/it/pagopa/selfcare/pagopa/service/impl/StationMaintenanceServiceImplTest.java +++ b/src/test/java/it/pagopa/selfcare/pagopa/service/impl/StationMaintenanceServiceImplTest.java @@ -176,6 +176,151 @@ void getStationMaintenancesSCHEDULED_AND_IN_PROGRESSWithYearFilterSuccess() { verify(apiConfigClient).getStationMaintenances(anyString(), anyString(), any(OffsetDateTime.class), any(OffsetDateTime.class), eq(null), any(OffsetDateTime.class), anyInt(), anyInt()); } + @Test + void getAllStationsMaintenancesFINISHEDWithoutYearFilterSuccess() { + StationMaintenanceResource maintenanceResource = buildMaintenanceResource(); + StationMaintenanceListResource response = new StationMaintenanceListResource(); + response.setMaintenanceList(Collections.singletonList(maintenanceResource)); + response.setPageInfo(new PageInfo()); + + when(apiConfigClient.getAllStationsMaintenances(any(), any(), any(), any())).thenReturn(response); + + StationMaintenanceListResource result = assertDoesNotThrow(() -> stationMaintenanceService.getAllStationsMaintenances( + StationMaintenanceListState.FINISHED, null) + ); + + assertNotNull(result); + + verify(apiConfigClient).getAllStationsMaintenances(eq(null), eq(null), any(OffsetDateTime.class), eq(null)); + } + + @Test + void getAllStationsMaintenancesFINISHEDWithYearFilterSuccess() { + StationMaintenanceResource maintenanceResource = buildMaintenanceResource(); + StationMaintenanceListResource response = new StationMaintenanceListResource(); + response.setMaintenanceList(Collections.singletonList(maintenanceResource)); + response.setPageInfo(new PageInfo()); + + when(apiConfigClient.getAllStationsMaintenances(any(), any(), any(), any())).thenReturn(response); + + StationMaintenanceListResource result = assertDoesNotThrow(() -> stationMaintenanceService.getAllStationsMaintenances( + StationMaintenanceListState.FINISHED, YEAR_FILTER) + ); + + assertNotNull(result); + + verify(apiConfigClient).getStationMaintenances(anyString(), anyString(), any(OffsetDateTime.class), any(OffsetDateTime.class), any(OffsetDateTime.class), eq(null), anyInt(), anyInt()); + } + + @Test + void getAllStationsMaintenancesIN_PROGRESSWithoutYearFilterSuccess() { + StationMaintenanceResource maintenanceResource = buildMaintenanceResource(); + StationMaintenanceListResource response = new StationMaintenanceListResource(); + response.setMaintenanceList(Collections.singletonList(maintenanceResource)); + response.setPageInfo(new PageInfo()); + + when(apiConfigClient.getAllStationsMaintenances(any(), any(), any(), any())).thenReturn(response); + + StationMaintenanceListResource result = assertDoesNotThrow(() -> stationMaintenanceService.getAllStationsMaintenances( + StationMaintenanceListState.IN_PROGRESS, null) + ); + + assertNotNull(result); + + verify(apiConfigClient).getStationMaintenances(anyString(), anyString(), any(OffsetDateTime.class), eq(null), eq(null), any(OffsetDateTime.class), anyInt(), anyInt()); + } + + @Test + void getAllStationsMaintenancesIN_PROGRESSWithYearFilterSuccess() { + StationMaintenanceResource maintenanceResource = buildMaintenanceResource(); + StationMaintenanceListResource response = new StationMaintenanceListResource(); + response.setMaintenanceList(Collections.singletonList(maintenanceResource)); + response.setPageInfo(new PageInfo()); + + when(apiConfigClient.getAllStationsMaintenances(any(), any(), any(), any())).thenReturn(response); + + StationMaintenanceListResource result = assertDoesNotThrow(() -> stationMaintenanceService.getAllStationsMaintenances( + StationMaintenanceListState.IN_PROGRESS, YEAR_FILTER) + ); + + assertNotNull(result); + + verify(apiConfigClient).getStationMaintenances(anyString(), anyString(), any(OffsetDateTime.class), any(OffsetDateTime.class), eq(null), any(OffsetDateTime.class), anyInt(), anyInt()); + } + + @Test + void getAllStationsMaintenancesSCHEDULEDWithoutYearFilterSuccess() { + StationMaintenanceResource maintenanceResource = buildMaintenanceResource(); + StationMaintenanceListResource response = new StationMaintenanceListResource(); + response.setMaintenanceList(Collections.singletonList(maintenanceResource)); + response.setPageInfo(new PageInfo()); + + when(apiConfigClient.getAllStationsMaintenances(any(), any(), any(), any())).thenReturn(response); + + StationMaintenanceListResource result = assertDoesNotThrow(() -> stationMaintenanceService.getAllStationsMaintenances( + StationMaintenanceListState.SCHEDULED, null) + ); + + assertNotNull(result); + + verify(apiConfigClient).getStationMaintenances(anyString(), anyString(), eq(null), any(OffsetDateTime.class), eq(null), eq(null), anyInt(), anyInt()); + } + + @Test + void getAllStationsMaintenancesSCHEDULEDWithYearFilterSuccess() { + StationMaintenanceResource maintenanceResource = buildMaintenanceResource(); + StationMaintenanceListResource response = new StationMaintenanceListResource(); + response.setMaintenanceList(Collections.singletonList(maintenanceResource)); + response.setPageInfo(new PageInfo()); + + when(apiConfigClient.getAllStationsMaintenances(any(), any(), any(), any())).thenReturn(response); + + StationMaintenanceListResource result = assertDoesNotThrow(() -> stationMaintenanceService.getAllStationsMaintenances( + StationMaintenanceListState.SCHEDULED, YEAR_FILTER) + ); + + assertNotNull(result); + + verify(apiConfigClient).getStationMaintenances(anyString(), anyString(), any(OffsetDateTime.class), any(OffsetDateTime.class), eq(null), eq(null), anyInt(), anyInt()); + } + + @Test + void getAllStationsMaintenancesSCHEDULED_AND_IN_PROGRESSWithoutYearFilterSuccess() { + StationMaintenanceResource maintenanceResource = buildMaintenanceResource(); + StationMaintenanceListResource response = new StationMaintenanceListResource(); + response.setMaintenanceList(Collections.singletonList(maintenanceResource)); + response.setPageInfo(new PageInfo()); + + when(apiConfigClient.getAllStationsMaintenances(any(), any(), any(), any())).thenReturn(response); + + StationMaintenanceListResource result = assertDoesNotThrow(() -> stationMaintenanceService.getAllStationsMaintenances( + StationMaintenanceListState.SCHEDULED_AND_IN_PROGRESS, null) + ); + + assertNotNull(result); + + verify(apiConfigClient).getStationMaintenances(anyString(), anyString(), eq(null), eq(null), eq(null), any(OffsetDateTime.class), anyInt(), anyInt()); + } + + + @Test + void getAllStationsMaintenancesSCHEDULED_AND_IN_PROGRESSWithYearFilterSuccess() { + StationMaintenanceResource maintenanceResource = buildMaintenanceResource(); + StationMaintenanceListResource response = new StationMaintenanceListResource(); + response.setMaintenanceList(Collections.singletonList(maintenanceResource)); + response.setPageInfo(new PageInfo()); + + when(apiConfigClient.getAllStationsMaintenances(any(), any(), any(), any())).thenReturn(response); + + StationMaintenanceListResource result = assertDoesNotThrow(() -> stationMaintenanceService.getAllStationsMaintenances( + StationMaintenanceListState.SCHEDULED_AND_IN_PROGRESS, YEAR_FILTER) + ); + + assertNotNull(result); + + verify(apiConfigClient).getAllStationsMaintenances(any(OffsetDateTime.class), any(OffsetDateTime.class), eq(null), any(OffsetDateTime.class)); + } + @Test void getBrokerMaintenancesSummarySuccess() { MaintenanceHoursSummaryResource mockedResult = MaintenanceHoursSummaryResource.builder() From d25c2cd9392cbad598f6e443cd2a2c6ade2851d0 Mon Sep 17 00:00:00 2001 From: svariant Date: Thu, 17 Oct 2024 12:26:05 +0200 Subject: [PATCH 2/8] [PPANTT-142] feat: New API getAllStationsMaintenances --- openapi/openapi.json | 139 +++++++++++++++++- openapi/openapi_backoffice_external_ec.json | 2 +- openapi/openapi_backoffice_external_psp.json | 2 +- openapi/openapi_backoffice_helpdesk.json | 138 ++++++++++++++++- ...ackoffice-external.postman_collection.json | 2 +- 5 files changed, 278 insertions(+), 5 deletions(-) diff --git a/openapi/openapi.json b/openapi/openapi.json index 2a0ae61..ac51127 100644 --- a/openapi/openapi.json +++ b/openapi/openapi.json @@ -666,6 +666,143 @@ } ] }, + "/station-maintenances": { + "get": { + "description": "Internal | External | Synchronous | Authorization | Authentication | TPS | Idempotency | Stateless | Read/Write Intense | Cacheable\n-|-|-|-|-|-|-|-|-|-\nN | Y | Y | ApiKey | ApiKey | 1.0/sec | Y | Y | Read | N\n", + "operationId": "getAllStationsMaintenances", + "parameters": [ + { + "description": "Maintenances' state", + "in": "query", + "name": "state", + "required": false, + "schema": { + "type": "string", + "default": "SCHEDULED_AND_IN_PROGRESS", + "enum": [ + "SCHEDULED_AND_IN_PROGRESS", + "SCHEDULED", + "IN_PROGRESS", + "FINISHED" + ] + } + }, + { + "description": "Maintenance's starting year", + "in": "query", + "name": "year", + "required": false, + "schema": { + "type": "integer", + "format": "int32" + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/StationMaintenanceListResource" + } + } + }, + "description": "Ok", + "headers": { + "X-Request-Id": { + "description": "This header identifies the call", + "schema": { + "type": "string" + } + } + } + }, + "400": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemJson" + } + } + }, + "description": "Bad Request", + "headers": { + "X-Request-Id": { + "description": "This header identifies the call", + "schema": { + "type": "string" + } + } + } + }, + "401": { + "description": "Unauthorized", + "headers": { + "X-Request-Id": { + "description": "This header identifies the call", + "schema": { + "type": "string" + } + } + } + }, + "403": { + "description": "Forbidden", + "headers": { + "X-Request-Id": { + "description": "This header identifies the call", + "schema": { + "type": "string" + } + } + } + }, + "429": { + "description": "Too many requests", + "headers": { + "X-Request-Id": { + "description": "This header identifies the call", + "schema": { + "type": "string" + } + } + } + }, + "500": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemJson" + } + } + }, + "description": "Service unavailable", + "headers": { + "X-Request-Id": { + "description": "This header identifies the call", + "schema": { + "type": "string" + } + } + } + } + }, + "summary": "Get list of all stations' maintenance filtered by state", + "tags": [ + "Station Maintenance" + ] + }, + "parameters": [ + { + "description": "This header identifies the call, if not passed it is self-generated. This ID is returned in the response.", + "in": "header", + "name": "X-Request-Id", + "schema": { + "type": "string" + } + } + ] + }, "/station-maintenances/{broker-tax-code}": { "get": { "description": "Internal | External | Synchronous | Authorization | Authentication | TPS | Idempotency | Stateless | Read/Write Intense | Cacheable\n-|-|-|-|-|-|-|-|-|-\nN | Y | Y | ApiKey | ApiKey | 1.0/sec | Y | Y | Read | N\n", @@ -1567,4 +1704,4 @@ } } } -} +} \ No newline at end of file diff --git a/openapi/openapi_backoffice_external_ec.json b/openapi/openapi_backoffice_external_ec.json index d52d9ec..093a9ac 100644 --- a/openapi/openapi_backoffice_external_ec.json +++ b/openapi/openapi_backoffice_external_ec.json @@ -664,4 +664,4 @@ } } } -} +} \ No newline at end of file diff --git a/openapi/openapi_backoffice_external_psp.json b/openapi/openapi_backoffice_external_psp.json index ca0e203..6caa78e 100644 --- a/openapi/openapi_backoffice_external_psp.json +++ b/openapi/openapi_backoffice_external_psp.json @@ -333,4 +333,4 @@ } } } -} +} \ No newline at end of file diff --git a/openapi/openapi_backoffice_helpdesk.json b/openapi/openapi_backoffice_helpdesk.json index 57ca771..73cf74b 100644 --- a/openapi/openapi_backoffice_helpdesk.json +++ b/openapi/openapi_backoffice_helpdesk.json @@ -185,6 +185,142 @@ } ] }, + "/station-maintenances": { + "get": { + "operationId": "getAllStationsMaintenances", + "parameters": [ + { + "description": "Maintenances' state", + "in": "query", + "name": "state", + "required": false, + "schema": { + "type": "string", + "default": "SCHEDULED_AND_IN_PROGRESS", + "enum": [ + "SCHEDULED_AND_IN_PROGRESS", + "SCHEDULED", + "IN_PROGRESS", + "FINISHED" + ] + } + }, + { + "description": "Maintenance's starting year", + "in": "query", + "name": "year", + "required": false, + "schema": { + "type": "integer", + "format": "int32" + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/StationMaintenanceListResource" + } + } + }, + "description": "Ok", + "headers": { + "X-Request-Id": { + "description": "This header identifies the call", + "schema": { + "type": "string" + } + } + } + }, + "400": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemJson" + } + } + }, + "description": "Bad Request", + "headers": { + "X-Request-Id": { + "description": "This header identifies the call", + "schema": { + "type": "string" + } + } + } + }, + "401": { + "description": "Unauthorized", + "headers": { + "X-Request-Id": { + "description": "This header identifies the call", + "schema": { + "type": "string" + } + } + } + }, + "403": { + "description": "Forbidden", + "headers": { + "X-Request-Id": { + "description": "This header identifies the call", + "schema": { + "type": "string" + } + } + } + }, + "429": { + "description": "Too many requests", + "headers": { + "X-Request-Id": { + "description": "This header identifies the call", + "schema": { + "type": "string" + } + } + } + }, + "500": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemJson" + } + } + }, + "description": "Service unavailable", + "headers": { + "X-Request-Id": { + "description": "This header identifies the call", + "schema": { + "type": "string" + } + } + } + } + }, + "summary": "Get list of all stations' maintenance filtered by state", + "tags": [ + "Station Maintenance" + ] + }, + "parameters": [ + { + "description": "This header identifies the call, if not passed it is self-generated. This ID is returned in the response.", + "in": "header", + "name": "X-Request-Id", + "schema": { + "type": "string" + } + } + ] + }, "/station-maintenances/{broker-tax-code}": { "get": { "operationId": "getStationMaintenances", @@ -893,4 +1029,4 @@ } } } -} +} \ No newline at end of file diff --git a/postman-collection/backoffice-external.postman_collection.json b/postman-collection/backoffice-external.postman_collection.json index 9991dd3..e81eb8b 100644 --- a/postman-collection/backoffice-external.postman_collection.json +++ b/postman-collection/backoffice-external.postman_collection.json @@ -1 +1 @@ -{"item":[{"name":"brokers","description":"","item":[{"name":"{brokerCode}","description":"","item":[{"name":"creditor_institutions","description":"","item":[{"id":"7fd42ee4-b177-4aac-a657-a497ef3d9922","name":"getBrokerInstitutions","request":{"name":"getBrokerInstitutions","description":{"content":"Internal | External | Synchronous | Authorization | Authentication | TPS | Idempotency | Stateless | Read/Write Intense | Cacheable\n-|-|-|-|-|-|-|-|-|-\nN | Y | Y | ApiKey | ApiKey | 1.0/sec | Y | Y | Read | Y\nReturn the list of Creditor Institutions of a Broker","type":"text/plain"},"url":{"path":["brokers",":brokerCode","creditor_institutions"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"Number of elements on one page. Default = 10","type":"text/plain"},"key":"limit","value":"10"},{"disabled":false,"description":{"content":"(Required) Page number. Page value starts from 0","type":"text/plain"},"key":"page","value":"74133239"}],"variable":[{"type":"any","value":"do deserunt of","key":"brokerCode","disabled":false,"description":{"content":"(Required) Broker Code to use as filter for the retrieved creditor institution list","type":"text/plain"}}]},"header":[{"disabled":false,"description":{"content":"This header identifies the call, if not passed it is self-generated. This ID is returned in the response.","type":"text/plain"},"key":"X-Request-Id","value":"do deserunt of"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{},"auth":null},"response":[{"id":"6e2dc389-e498-420c-aab7-82149912fe6e","name":"OK","originalRequest":{"url":{"path":["brokers",":brokerCode","creditor_institutions"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"Number of elements on one page. Default = 10","type":"text/plain"},"key":"limit","value":"10"},{"disabled":false,"description":{"content":"(Required) Page number. Page value starts from 0","type":"text/plain"},"key":"page","value":"74133239"}],"variable":[]},"header":[{"disabled":false,"description":{"content":"This header identifies the call, if not passed it is self-generated. This ID is returned in the response.","type":"text/plain"},"key":"X-Request-Id","value":"do deserunt of"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"},{"disabled":false,"description":{"content":"This header identifies the call","type":"text/plain"},"key":"X-Request-Id","value":"do deserunt of"}],"body":"{\n \"creditorInstitutions\": [\n {\n \"auxDigit\": \"cupidatat\",\n \"brokerCompanyName\": \"ex magna laboris\",\n \"brokerTaxCode\": \"deserunt et consequat exercitation\",\n \"ciStatus\": true,\n \"companyName\": \"consequat do\",\n \"intermediated\": true,\n \"model\": -43466767,\n \"stationState\": \"enabled\",\n \"taxCode\": \"Duis des\",\n \"version\": \"1\",\n \"activationDate\": \"1968-08-08T19:33:06.869Z\",\n \"applicationCode\": \"proident\",\n \"broadcast\": false,\n \"cbillCode\": \"Duis amet\",\n \"endpointMU\": \"ut nostrud\",\n \"endpointRT\": \"sit\",\n \"endpointRedirect\": \"nulla cillum laborum do enim\",\n \"primitiveVersion\": 44202507,\n \"pspPayment\": false,\n \"segregationCode\": \"aute minim sint\",\n \"stationId\": \"cupidatat deserunt quis aute cillum\"\n },\n {\n \"auxDigit\": \"et aliqua aliquip ut amet\",\n \"brokerCompanyName\": \"cupidatat do minim\",\n \"brokerTaxCode\": \"Dui\",\n \"ciStatus\": true,\n \"companyName\": \"consequat nisi consectetur cillum Lorem\",\n \"intermediated\": false,\n \"model\": -57188672,\n \"stationState\": \"enabled\",\n \"taxCode\": \"veniam\",\n \"version\": \"1\",\n \"activationDate\": \"1950-03-22T12:58:45.044Z\",\n \"applicationCode\": \"culpa officia do\",\n \"broadcast\": true,\n \"cbillCode\": \"irure in commodo ad\",\n \"endpointMU\": \"officia irure sed\",\n \"endpointRT\": \"adipisicing ullamco dolore\",\n \"endpointRedirect\": \"ut\",\n \"primitiveVersion\": -17991028,\n \"pspPayment\": true,\n \"segregationCode\": \"fugia\",\n \"stationId\": \"sunt eiusmod adipisicing\"\n }\n ],\n \"pageInfo\": {\n \"limit\": -8331229,\n \"page\": 383738,\n \"totalElements\": -57578915,\n \"totalPages\": -92304670\n }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"79773035-8568-4fc1-9913-111fa7b3de33","name":"Bad Request","originalRequest":{"url":{"path":["brokers",":brokerCode","creditor_institutions"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"Number of elements on one page. Default = 10","type":"text/plain"},"key":"limit","value":"10"},{"disabled":false,"description":{"content":"(Required) Page number. Page value starts from 0","type":"text/plain"},"key":"page","value":"74133239"}],"variable":[]},"header":[{"disabled":false,"description":{"content":"This header identifies the call, if not passed it is self-generated. This ID is returned in the response.","type":"text/plain"},"key":"X-Request-Id","value":"do deserunt of"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"},{"disabled":false,"description":{"content":"This header identifies the call","type":"text/plain"},"key":"X-Request-Id","value":"do deserunt of"}],"body":"{\n \"detail\": \"There was an error processing the request\",\n \"status\": 200,\n \"title\": \"in occaecat est\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"fd02c420-e8c0-44b4-9039-9395769ed41d","name":"Unauthorized","originalRequest":{"url":{"path":["brokers",":brokerCode","creditor_institutions"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"Number of elements on one page. Default = 10","type":"text/plain"},"key":"limit","value":"10"},{"disabled":false,"description":{"content":"(Required) Page number. Page value starts from 0","type":"text/plain"},"key":"page","value":"74133239"}],"variable":[]},"header":[{"disabled":false,"description":{"content":"This header identifies the call, if not passed it is self-generated. This ID is returned in the response.","type":"text/plain"},"key":"X-Request-Id","value":"do deserunt of"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"disabled":false,"description":{"content":"This header identifies the call","type":"text/plain"},"key":"X-Request-Id","value":"do deserunt of"}],"cookie":[],"_postman_previewlanguage":"text"},{"id":"545a9af7-6c6b-4a1d-9727-46ba768f3ed2","name":"Forbidden","originalRequest":{"url":{"path":["brokers",":brokerCode","creditor_institutions"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"Number of elements on one page. Default = 10","type":"text/plain"},"key":"limit","value":"10"},{"disabled":false,"description":{"content":"(Required) Page number. Page value starts from 0","type":"text/plain"},"key":"page","value":"74133239"}],"variable":[]},"header":[{"disabled":false,"description":{"content":"This header identifies the call, if not passed it is self-generated. This ID is returned in the response.","type":"text/plain"},"key":"X-Request-Id","value":"do deserunt of"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"disabled":false,"description":{"content":"This header identifies the call","type":"text/plain"},"key":"X-Request-Id","value":"do deserunt of"}],"cookie":[],"_postman_previewlanguage":"text"},{"id":"2d7e834c-3631-40e6-b8af-f39c131ce8d1","name":"Institutions for the brokerCode not found","originalRequest":{"url":{"path":["brokers",":brokerCode","creditor_institutions"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"Number of elements on one page. Default = 10","type":"text/plain"},"key":"limit","value":"10"},{"disabled":false,"description":{"content":"(Required) Page number. Page value starts from 0","type":"text/plain"},"key":"page","value":"74133239"}],"variable":[]},"header":[{"disabled":false,"description":{"content":"This header identifies the call, if not passed it is self-generated. This ID is returned in the response.","type":"text/plain"},"key":"X-Request-Id","value":"do deserunt of"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"},{"disabled":false,"description":{"content":"This header identifies the call","type":"text/plain"},"key":"X-Request-Id","value":"do deserunt of"}],"body":"{\n \"detail\": \"There was an error processing the request\",\n \"status\": 200,\n \"title\": \"in occaecat est\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"cdbcb38c-2cfd-417d-bb1b-28fa9579a882","name":"Too many requests","originalRequest":{"url":{"path":["brokers",":brokerCode","creditor_institutions"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"Number of elements on one page. Default = 10","type":"text/plain"},"key":"limit","value":"10"},{"disabled":false,"description":{"content":"(Required) Page number. Page value starts from 0","type":"text/plain"},"key":"page","value":"74133239"}],"variable":[]},"header":[{"disabled":false,"description":{"content":"This header identifies the call, if not passed it is self-generated. This ID is returned in the response.","type":"text/plain"},"key":"X-Request-Id","value":"do deserunt of"}],"method":"GET","body":{}},"status":"Too Many Requests","code":429,"header":[{"disabled":false,"description":{"content":"This header identifies the call","type":"text/plain"},"key":"X-Request-Id","value":"do deserunt of"}],"cookie":[],"_postman_previewlanguage":"text"},{"id":"5c979baa-4c9b-4ba0-901c-7e5cddb0f09f","name":"Service unavailable","originalRequest":{"url":{"path":["brokers",":brokerCode","creditor_institutions"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"Number of elements on one page. Default = 10","type":"text/plain"},"key":"limit","value":"10"},{"disabled":false,"description":{"content":"(Required) Page number. Page value starts from 0","type":"text/plain"},"key":"page","value":"74133239"}],"variable":[]},"header":[{"disabled":false,"description":{"content":"This header identifies the call, if not passed it is self-generated. This ID is returned in the response.","type":"text/plain"},"key":"X-Request-Id","value":"do deserunt of"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"},{"disabled":false,"description":{"content":"This header identifies the call","type":"text/plain"},"key":"X-Request-Id","value":"do deserunt of"}],"body":"{\n \"detail\": \"There was an error processing the request\",\n \"status\": 200,\n \"title\": \"in occaecat est\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}]},{"name":"ibans","description":"","item":[{"id":"b039c577-bf52-48ff-97f0-d4575f747e58","name":"getBrokerIbans","request":{"name":"getBrokerIbans","description":{"content":"Internal | External | Synchronous | Authorization | Authentication | TPS | Idempotency | Stateless | Read/Write Intense | Cacheable\n-|-|-|-|-|-|-|-|-|-\nN | Y | Y | ApiKey | ApiKey | 1.0/sec | Y | Y | Read | Y\nReturn the list of Ibans of all the Creditor Institutions intermediated by the Broker","type":"text/plain"},"url":{"path":["brokers",":brokerCode","ibans"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"Number of elements on one page. Default = 10","type":"text/plain"},"key":"limit","value":"10"},{"disabled":false,"description":{"content":"(Required) Page number. Page value starts from 0","type":"text/plain"},"key":"page","value":"74133239"}],"variable":[{"type":"any","value":"do deserunt of","key":"brokerCode","disabled":false,"description":{"content":"(Required) Broker Code to use as filter for the retrieved ibans list","type":"text/plain"}}]},"header":[{"disabled":false,"description":{"content":"This header identifies the call, if not passed it is self-generated. This ID is returned in the response.","type":"text/plain"},"key":"X-Request-Id","value":"do deserunt of"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{},"auth":null},"response":[{"id":"de945880-a464-42a4-95be-b3134de55ba4","name":"OK","originalRequest":{"url":{"path":["brokers",":brokerCode","ibans"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"Number of elements on one page. Default = 10","type":"text/plain"},"key":"limit","value":"10"},{"disabled":false,"description":{"content":"(Required) Page number. Page value starts from 0","type":"text/plain"},"key":"page","value":"74133239"}],"variable":[]},"header":[{"disabled":false,"description":{"content":"This header identifies the call, if not passed it is self-generated. This ID is returned in the response.","type":"text/plain"},"key":"X-Request-Id","value":"do deserunt of"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"},{"disabled":false,"description":{"content":"This header identifies the call","type":"text/plain"},"key":"X-Request-Id","value":"do deserunt of"}],"body":"{\n \"ibans\": [\n {\n \"ciFiscalCode\": \"sed Dui\",\n \"ciName\": \"in in eiusmod\",\n \"iban\": \"culpa ea officia\",\n \"status\": \"ENABLED\",\n \"validityDate\": \"1998-08-28T13:28:11.300Z\",\n \"description\": \"Ut est eu u\",\n \"label\": \"CUP\"\n },\n {\n \"ciFiscalCode\": \"do velit voluptate sit\",\n \"ciName\": \"labore occaecat ut elit\",\n \"iban\": \"consequat proident voluptate sed\",\n \"status\": \"ENABLED\",\n \"validityDate\": \"2005-09-21T17:41:35.446Z\",\n \"description\": \"aliqua non\",\n \"label\": \"CUP\"\n }\n ],\n \"pageInfo\": {\n \"limit\": 26923451,\n \"page\": 52388121,\n \"totalElements\": 45527084,\n \"totalPages\": 36017467\n }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"07a4ed85-0e9a-4c05-87ac-b8caaa458ecb","name":"Bad Request","originalRequest":{"url":{"path":["brokers",":brokerCode","ibans"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"Number of elements on one page. Default = 10","type":"text/plain"},"key":"limit","value":"10"},{"disabled":false,"description":{"content":"(Required) Page number. Page value starts from 0","type":"text/plain"},"key":"page","value":"74133239"}],"variable":[]},"header":[{"disabled":false,"description":{"content":"This header identifies the call, if not passed it is self-generated. This ID is returned in the response.","type":"text/plain"},"key":"X-Request-Id","value":"do deserunt of"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"},{"disabled":false,"description":{"content":"This header identifies the call","type":"text/plain"},"key":"X-Request-Id","value":"do deserunt of"}],"body":"{\n \"detail\": \"There was an error processing the request\",\n \"status\": 200,\n \"title\": \"in occaecat est\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"3e5c7f7c-67b3-4f7d-84e4-1f06fc5bad1f","name":"Unauthorized","originalRequest":{"url":{"path":["brokers",":brokerCode","ibans"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"Number of elements on one page. Default = 10","type":"text/plain"},"key":"limit","value":"10"},{"disabled":false,"description":{"content":"(Required) Page number. Page value starts from 0","type":"text/plain"},"key":"page","value":"74133239"}],"variable":[]},"header":[{"disabled":false,"description":{"content":"This header identifies the call, if not passed it is self-generated. This ID is returned in the response.","type":"text/plain"},"key":"X-Request-Id","value":"do deserunt of"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"disabled":false,"description":{"content":"This header identifies the call","type":"text/plain"},"key":"X-Request-Id","value":"do deserunt of"}],"cookie":[],"_postman_previewlanguage":"text"},{"id":"1ae2092d-7183-40c3-80ee-0d037efb65ad","name":"Forbidden","originalRequest":{"url":{"path":["brokers",":brokerCode","ibans"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"Number of elements on one page. Default = 10","type":"text/plain"},"key":"limit","value":"10"},{"disabled":false,"description":{"content":"(Required) Page number. Page value starts from 0","type":"text/plain"},"key":"page","value":"74133239"}],"variable":[]},"header":[{"disabled":false,"description":{"content":"This header identifies the call, if not passed it is self-generated. This ID is returned in the response.","type":"text/plain"},"key":"X-Request-Id","value":"do deserunt of"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"disabled":false,"description":{"content":"This header identifies the call","type":"text/plain"},"key":"X-Request-Id","value":"do deserunt of"}],"cookie":[],"_postman_previewlanguage":"text"},{"id":"59d82488-27e5-447c-a10d-987139a511e1","name":"ibans for the brokerCode not found","originalRequest":{"url":{"path":["brokers",":brokerCode","ibans"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"Number of elements on one page. Default = 10","type":"text/plain"},"key":"limit","value":"10"},{"disabled":false,"description":{"content":"(Required) Page number. Page value starts from 0","type":"text/plain"},"key":"page","value":"74133239"}],"variable":[]},"header":[{"disabled":false,"description":{"content":"This header identifies the call, if not passed it is self-generated. This ID is returned in the response.","type":"text/plain"},"key":"X-Request-Id","value":"do deserunt of"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"},{"disabled":false,"description":{"content":"This header identifies the call","type":"text/plain"},"key":"X-Request-Id","value":"do deserunt of"}],"body":"{\n \"detail\": \"There was an error processing the request\",\n \"status\": 200,\n \"title\": \"in occaecat est\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"50cec8e1-a406-44ea-8eea-31706769cbb6","name":"Too many requests","originalRequest":{"url":{"path":["brokers",":brokerCode","ibans"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"Number of elements on one page. Default = 10","type":"text/plain"},"key":"limit","value":"10"},{"disabled":false,"description":{"content":"(Required) Page number. Page value starts from 0","type":"text/plain"},"key":"page","value":"74133239"}],"variable":[]},"header":[{"disabled":false,"description":{"content":"This header identifies the call, if not passed it is self-generated. This ID is returned in the response.","type":"text/plain"},"key":"X-Request-Id","value":"do deserunt of"}],"method":"GET","body":{}},"status":"Too Many Requests","code":429,"header":[{"disabled":false,"description":{"content":"This header identifies the call","type":"text/plain"},"key":"X-Request-Id","value":"do deserunt of"}],"cookie":[],"_postman_previewlanguage":"text"},{"id":"87a663c1-d528-4e9a-b8d2-825367049f87","name":"Service unavailable","originalRequest":{"url":{"path":["brokers",":brokerCode","ibans"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"Number of elements on one page. Default = 10","type":"text/plain"},"key":"limit","value":"10"},{"disabled":false,"description":{"content":"(Required) Page number. Page value starts from 0","type":"text/plain"},"key":"page","value":"74133239"}],"variable":[]},"header":[{"disabled":false,"description":{"content":"This header identifies the call, if not passed it is self-generated. This ID is returned in the response.","type":"text/plain"},"key":"X-Request-Id","value":"do deserunt of"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"},{"disabled":false,"description":{"content":"This header identifies the call","type":"text/plain"},"key":"X-Request-Id","value":"do deserunt of"}],"body":"{\n \"detail\": \"There was an error processing the request\",\n \"status\": 200,\n \"title\": \"in occaecat est\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}]}]}]},{"name":"creditor_institutions","description":"","item":[{"name":"ibans","description":"","item":[{"id":"4f945133-a5e3-4a8e-aedc-aee3b994e7e1","name":"getCIsIbans","request":{"name":"getCIsIbans","description":{"content":"Internal | External | Synchronous | Authorization | Authentication | TPS | Idempotency | Stateless | Read/Write Intense | Cacheable\n-|-|-|-|-|-|-|-|-|-\nN | Y | Y | ApiKey | ApiKey | 1.0/sec | Y | Y | Read | Y\nReturn the full list of Ibans of all CIs ","type":"text/plain"},"url":{"path":["creditor_institutions","ibans"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"Number of elements on one page. Default = 10","type":"text/plain"},"key":"limit","value":"10"},{"disabled":false,"description":{"content":"(Required) Page number. Page value starts from 0","type":"text/plain"},"key":"page","value":"74133239"}],"variable":[]},"header":[{"disabled":false,"description":{"content":"This header identifies the call, if not passed it is self-generated. This ID is returned in the response.","type":"text/plain"},"key":"X-Request-Id","value":"do deserunt of"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{},"auth":null},"response":[{"id":"b9ed341e-c7ad-4787-bd56-d90574c5ae19","name":"OK","originalRequest":{"url":{"path":["creditor_institutions","ibans"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"Number of elements on one page. Default = 10","type":"text/plain"},"key":"limit","value":"10"},{"disabled":false,"description":{"content":"(Required) Page number. Page value starts from 0","type":"text/plain"},"key":"page","value":"74133239"}],"variable":[]},"header":[{"disabled":false,"description":{"content":"This header identifies the call, if not passed it is self-generated. This ID is returned in the response.","type":"text/plain"},"key":"X-Request-Id","value":"do deserunt of"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"},{"disabled":false,"description":{"content":"This header identifies the call","type":"text/plain"},"key":"X-Request-Id","value":"do deserunt of"}],"body":"{\n \"ibans\": [\n {\n \"ciFiscalCode\": \"sed Dui\",\n \"ciName\": \"in in eiusmod\",\n \"iban\": \"culpa ea officia\",\n \"status\": \"ENABLED\",\n \"validityDate\": \"1998-08-28T13:28:11.300Z\",\n \"description\": \"Ut est eu u\",\n \"label\": \"CUP\"\n },\n {\n \"ciFiscalCode\": \"do velit voluptate sit\",\n \"ciName\": \"labore occaecat ut elit\",\n \"iban\": \"consequat proident voluptate sed\",\n \"status\": \"ENABLED\",\n \"validityDate\": \"2005-09-21T17:41:35.446Z\",\n \"description\": \"aliqua non\",\n \"label\": \"CUP\"\n }\n ],\n \"pageInfo\": {\n \"limit\": 26923451,\n \"page\": 52388121,\n \"totalElements\": 45527084,\n \"totalPages\": 36017467\n }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"d99de067-dab3-44c0-ba6a-3beac8459cf4","name":"Bad Request","originalRequest":{"url":{"path":["creditor_institutions","ibans"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"Number of elements on one page. Default = 10","type":"text/plain"},"key":"limit","value":"10"},{"disabled":false,"description":{"content":"(Required) Page number. Page value starts from 0","type":"text/plain"},"key":"page","value":"74133239"}],"variable":[]},"header":[{"disabled":false,"description":{"content":"This header identifies the call, if not passed it is self-generated. This ID is returned in the response.","type":"text/plain"},"key":"X-Request-Id","value":"do deserunt of"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"},{"disabled":false,"description":{"content":"This header identifies the call","type":"text/plain"},"key":"X-Request-Id","value":"do deserunt of"}],"body":"{\n \"detail\": \"There was an error processing the request\",\n \"status\": 200,\n \"title\": \"in occaecat est\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"4c5980f4-84ce-4223-9b49-61203fbdea1b","name":"Unauthorized","originalRequest":{"url":{"path":["creditor_institutions","ibans"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"Number of elements on one page. Default = 10","type":"text/plain"},"key":"limit","value":"10"},{"disabled":false,"description":{"content":"(Required) Page number. Page value starts from 0","type":"text/plain"},"key":"page","value":"74133239"}],"variable":[]},"header":[{"disabled":false,"description":{"content":"This header identifies the call, if not passed it is self-generated. This ID is returned in the response.","type":"text/plain"},"key":"X-Request-Id","value":"do deserunt of"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"disabled":false,"description":{"content":"This header identifies the call","type":"text/plain"},"key":"X-Request-Id","value":"do deserunt of"}],"cookie":[],"_postman_previewlanguage":"text"},{"id":"cd320bf4-711d-438b-baf5-0386d26e9180","name":"Too many requests","originalRequest":{"url":{"path":["creditor_institutions","ibans"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"Number of elements on one page. Default = 10","type":"text/plain"},"key":"limit","value":"10"},{"disabled":false,"description":{"content":"(Required) Page number. Page value starts from 0","type":"text/plain"},"key":"page","value":"74133239"}],"variable":[]},"header":[{"disabled":false,"description":{"content":"This header identifies the call, if not passed it is self-generated. This ID is returned in the response.","type":"text/plain"},"key":"X-Request-Id","value":"do deserunt of"}],"method":"GET","body":{}},"status":"Too Many Requests","code":429,"header":[{"disabled":false,"description":{"content":"This header identifies the call","type":"text/plain"},"key":"X-Request-Id","value":"do deserunt of"}],"cookie":[],"_postman_previewlanguage":"text"},{"id":"29f03e15-cabf-40c3-88d6-b8bbfc449ee0","name":"Service unavailable","originalRequest":{"url":{"path":["creditor_institutions","ibans"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"Number of elements on one page. Default = 10","type":"text/plain"},"key":"limit","value":"10"},{"disabled":false,"description":{"content":"(Required) Page number. Page value starts from 0","type":"text/plain"},"key":"page","value":"74133239"}],"variable":[]},"header":[{"disabled":false,"description":{"content":"This header identifies the call, if not passed it is self-generated. This ID is returned in the response.","type":"text/plain"},"key":"X-Request-Id","value":"do deserunt of"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"},{"disabled":false,"description":{"content":"This header identifies the call","type":"text/plain"},"key":"X-Request-Id","value":"do deserunt of"}],"body":"{\n \"detail\": \"There was an error processing the request\",\n \"status\": 200,\n \"title\": \"in occaecat est\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}]}]},{"name":"info","description":"","item":[{"id":"0d33845f-1ff1-49aa-8262-8af4f02a114c","name":"health check","request":{"name":"health check","description":{"content":"Return OK if application is started","type":"text/plain"},"url":{"path":["info"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"disabled":false,"description":{"content":"This header identifies the call, if not passed it is self-generated. This ID is returned in the response.","type":"text/plain"},"key":"X-Request-Id","value":"do deserunt of"},{"key":"Accept","value":"*/*"}],"method":"GET","body":{},"auth":null},"response":[{"id":"e8a23e14-191d-43c1-bf20-006bdacfb7f8","name":"OK","originalRequest":{"url":{"path":["info"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"disabled":false,"description":{"content":"This header identifies the call, if not passed it is self-generated. This ID is returned in the response.","type":"text/plain"},"key":"X-Request-Id","value":"do deserunt of"},{"key":"Accept","value":"*/*"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"*/*"},{"disabled":false,"description":{"content":"This header identifies the call","type":"text/plain"},"key":"X-Request-Id","value":"do deserunt of"}],"body":"{\n \"environment\": \"aliqua voluptate\",\n \"name\": \"sint laboris\",\n \"version\": \"tempor deserunt labore\"\n}","cookie":[],"_postman_previewlanguage":"text"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}]},{"name":"operative_tables","description":"","item":[{"id":"28572520-40e2-4505-ac86-d3c2fac59b32","name":"getOperativeTables","request":{"name":"getOperativeTables","description":{"content":"Internal | External | Synchronous | Authorization | Authentication | TPS | Idempotency | Stateless | Read/Write Intense | Cacheable\n-|-|-|-|-|-|-|-|-|-\nN | Y | Y | ApiKey | ApiKey | 1.0/sec | Y | Y | | Y\nGet All operative tables","type":"text/plain"},"url":{"path":["operative_tables"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"Tax code","type":"text/plain"},"key":"taxCode","value":""},{"disabled":false,"description":{"content":"Business name","type":"text/plain"},"key":"businessName","value":""}],"variable":[]},"header":[{"disabled":false,"description":{"content":"This header identifies the call, if not passed it is self-generated. This ID is returned in the response.","type":"text/plain"},"key":"X-Request-Id","value":"do deserunt of"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{},"auth":null},"response":[{"id":"10538ccd-ffaf-402a-bab2-b8f39f860a24","name":"OK","originalRequest":{"url":{"path":["operative_tables"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"Tax code","type":"text/plain"},"key":"taxCode","value":""},{"disabled":false,"description":{"content":"Business name","type":"text/plain"},"key":"businessName","value":""}],"variable":[]},"header":[{"disabled":false,"description":{"content":"This header identifies the call, if not passed it is self-generated. This ID is returned in the response.","type":"text/plain"},"key":"X-Request-Id","value":"do deserunt of"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"},{"disabled":false,"description":{"content":"This header identifies the call","type":"text/plain"},"key":"X-Request-Id","value":"do deserunt of"}],"body":"{\n \"operativeTableList\": [\n {\n \"createdBy\": \"culpa anim lab\",\n \"email\": \"enim ea ut nulla\",\n \"modifiedAt\": \"1963-08-10T17:04:22.565Z\",\n \"modifiedBy\": \"aliquip eiusmod laborum consectetur\",\n \"name\": \"id eiusmod anim\",\n \"referent\": \"velit proident ad\",\n \"taxCode\": \"elit id Lorem cupidatat\",\n \"telephone\": \"velit aute culpa commodo\",\n \"createdAt\": \"2012-08-18T04:59:29.636Z\"\n },\n {\n \"createdBy\": \"adipisicing minim\",\n \"email\": \"ut aute laborum\",\n \"modifiedAt\": \"1986-10-27T02:34:02.681Z\",\n \"modifiedBy\": \"amet nulla dolor\",\n \"name\": \"anim consectetur sit\",\n \"referent\": \"est in elit\",\n \"taxCode\": \"occaecat ipsum\",\n \"telephone\": \"eu do sed dolore dolor\",\n \"createdAt\": \"2004-09-25T02:57:26.490Z\"\n }\n ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"b00dce6a-d48d-4555-a08e-0ced3256f6ea","name":"Bad Request","originalRequest":{"url":{"path":["operative_tables"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"Tax code","type":"text/plain"},"key":"taxCode","value":""},{"disabled":false,"description":{"content":"Business name","type":"text/plain"},"key":"businessName","value":""}],"variable":[]},"header":[{"disabled":false,"description":{"content":"This header identifies the call, if not passed it is self-generated. This ID is returned in the response.","type":"text/plain"},"key":"X-Request-Id","value":"do deserunt of"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"},{"disabled":false,"description":{"content":"This header identifies the call","type":"text/plain"},"key":"X-Request-Id","value":"do deserunt of"}],"body":"{\n \"detail\": \"There was an error processing the request\",\n \"status\": 200,\n \"title\": \"in occaecat est\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"7763cef1-a8f9-4480-bcab-94f10e041fc3","name":"Unauthorized","originalRequest":{"url":{"path":["operative_tables"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"Tax code","type":"text/plain"},"key":"taxCode","value":""},{"disabled":false,"description":{"content":"Business name","type":"text/plain"},"key":"businessName","value":""}],"variable":[]},"header":[{"disabled":false,"description":{"content":"This header identifies the call, if not passed it is self-generated. This ID is returned in the response.","type":"text/plain"},"key":"X-Request-Id","value":"do deserunt of"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"disabled":false,"description":{"content":"This header identifies the call","type":"text/plain"},"key":"X-Request-Id","value":"do deserunt of"}],"cookie":[],"_postman_previewlanguage":"text"},{"id":"b233a161-8866-432d-b5b4-64760f734c8c","name":"Too many requests","originalRequest":{"url":{"path":["operative_tables"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"Tax code","type":"text/plain"},"key":"taxCode","value":""},{"disabled":false,"description":{"content":"Business name","type":"text/plain"},"key":"businessName","value":""}],"variable":[]},"header":[{"disabled":false,"description":{"content":"This header identifies the call, if not passed it is self-generated. This ID is returned in the response.","type":"text/plain"},"key":"X-Request-Id","value":"do deserunt of"}],"method":"GET","body":{}},"status":"Too Many Requests","code":429,"header":[{"disabled":false,"description":{"content":"This header identifies the call","type":"text/plain"},"key":"X-Request-Id","value":"do deserunt of"}],"cookie":[],"_postman_previewlanguage":"text"},{"id":"6085e6da-8f8b-4b84-a025-ae057631fcd7","name":"Service unavailable","originalRequest":{"url":{"path":["operative_tables"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"Tax code","type":"text/plain"},"key":"taxCode","value":""},{"disabled":false,"description":{"content":"Business name","type":"text/plain"},"key":"businessName","value":""}],"variable":[]},"header":[{"disabled":false,"description":{"content":"This header identifies the call, if not passed it is self-generated. This ID is returned in the response.","type":"text/plain"},"key":"X-Request-Id","value":"do deserunt of"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"},{"disabled":false,"description":{"content":"This header identifies the call","type":"text/plain"},"key":"X-Request-Id","value":"do deserunt of"}],"body":"{\n \"detail\": \"There was an error processing the request\",\n \"status\": 200,\n \"title\": \"in occaecat est\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}]},{"name":"station-maintenances","description":"","item":[{"name":"{broker-tax-code}","description":"","item":[{"id":"fd4f440f-f270-4bbc-8180-b795adbf9b10","name":"Get a paginated list of station's maintenance for the specified broker","request":{"name":"Get a paginated list of station's maintenance for the specified broker","description":{"content":"Internal | External | Synchronous | Authorization | Authentication | TPS | Idempotency | Stateless | Read/Write Intense | Cacheable\n-|-|-|-|-|-|-|-|-|-\nN | Y | Y | ApiKey | ApiKey | 1.0/sec | Y | Y | Read | N\n","type":"text/plain"},"url":{"path":["station-maintenances",":broker-tax-code"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"Station's code","type":"text/plain"},"key":"station-code","value":"do deserunt of"},{"disabled":false,"description":{"content":"Maintenances' state","type":"text/plain"},"key":"state","value":"IN_PROGRESS"},{"disabled":false,"description":{"content":"Maintenance's starting year","type":"text/plain"},"key":"year","value":"56449908"},{"disabled":false,"description":{"content":"Number of items for page","type":"text/plain"},"key":"limit","value":"50"},{"disabled":false,"description":{"content":"Page number","type":"text/plain"},"key":"page","value":"0"}],"variable":[{"type":"any","value":"do deserunt of","key":"broker-tax-code","disabled":false,"description":{"content":"(Required) Broker's tax code","type":"text/plain"}}]},"header":[{"disabled":false,"description":{"content":"This header identifies the call, if not passed it is self-generated. This ID is returned in the response.","type":"text/plain"},"key":"X-Request-Id","value":"do deserunt of"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{},"auth":null},"response":[{"id":"3b2454f5-4943-49f7-9c82-81dccf712a3c","name":"Ok","originalRequest":{"url":{"path":["station-maintenances",":broker-tax-code"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"Station's code","type":"text/plain"},"key":"station-code","value":"do deserunt of"},{"disabled":false,"description":{"content":"Maintenances' state","type":"text/plain"},"key":"state","value":"IN_PROGRESS"},{"disabled":false,"description":{"content":"Maintenance's starting year","type":"text/plain"},"key":"year","value":"56449908"},{"disabled":false,"description":{"content":"Number of items for page","type":"text/plain"},"key":"limit","value":"50"},{"disabled":false,"description":{"content":"Page number","type":"text/plain"},"key":"page","value":"0"}],"variable":[]},"header":[{"disabled":false,"description":{"content":"This header identifies the call, if not passed it is self-generated. This ID is returned in the response.","type":"text/plain"},"key":"X-Request-Id","value":"do deserunt of"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"},{"disabled":false,"description":{"content":"This header identifies the call","type":"text/plain"},"key":"X-Request-Id","value":"do deserunt of"}],"body":"{\n \"page_info\": {\n \"limit\": -93523614,\n \"page\": 34837218,\n \"totalElements\": -85525550,\n \"totalPages\": -67306248\n },\n \"station_maintenance_list\": [\n {\n \"broker_code\": \"do id sunt occaecat fug\",\n \"end_date_time\": \"2024-04-01T13:00:00+02:00\",\n \"maintenance_id\": -20169320,\n \"stand_in\": true,\n \"start_date_time\": \"2024-04-01T13:00:00+02:00\",\n \"station_code\": \"in enim dolor\"\n },\n {\n \"broker_code\": \"cillum in nostrud\",\n \"end_date_time\": \"2024-04-01T13:00:00+02:00\",\n \"maintenance_id\": 75548077,\n \"stand_in\": false,\n \"start_date_time\": \"2024-04-01T13:00:00+02:00\",\n \"station_code\": \"dolore aliqua\"\n }\n ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"d0599a81-8d09-4bd1-9617-a3eb751b7a26","name":"Bad Request","originalRequest":{"url":{"path":["station-maintenances",":broker-tax-code"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"Station's code","type":"text/plain"},"key":"station-code","value":"do deserunt of"},{"disabled":false,"description":{"content":"Maintenances' state","type":"text/plain"},"key":"state","value":"IN_PROGRESS"},{"disabled":false,"description":{"content":"Maintenance's starting year","type":"text/plain"},"key":"year","value":"56449908"},{"disabled":false,"description":{"content":"Number of items for page","type":"text/plain"},"key":"limit","value":"50"},{"disabled":false,"description":{"content":"Page number","type":"text/plain"},"key":"page","value":"0"}],"variable":[]},"header":[{"disabled":false,"description":{"content":"This header identifies the call, if not passed it is self-generated. This ID is returned in the response.","type":"text/plain"},"key":"X-Request-Id","value":"do deserunt of"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"},{"disabled":false,"description":{"content":"This header identifies the call","type":"text/plain"},"key":"X-Request-Id","value":"do deserunt of"}],"body":"{\n \"detail\": \"There was an error processing the request\",\n \"status\": 200,\n \"title\": \"in occaecat est\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"2a4e0f46-c8fc-469b-8421-a62b42771514","name":"Unauthorized","originalRequest":{"url":{"path":["station-maintenances",":broker-tax-code"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"Station's code","type":"text/plain"},"key":"station-code","value":"do deserunt of"},{"disabled":false,"description":{"content":"Maintenances' state","type":"text/plain"},"key":"state","value":"IN_PROGRESS"},{"disabled":false,"description":{"content":"Maintenance's starting year","type":"text/plain"},"key":"year","value":"56449908"},{"disabled":false,"description":{"content":"Number of items for page","type":"text/plain"},"key":"limit","value":"50"},{"disabled":false,"description":{"content":"Page number","type":"text/plain"},"key":"page","value":"0"}],"variable":[]},"header":[{"disabled":false,"description":{"content":"This header identifies the call, if not passed it is self-generated. This ID is returned in the response.","type":"text/plain"},"key":"X-Request-Id","value":"do deserunt of"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"disabled":false,"description":{"content":"This header identifies the call","type":"text/plain"},"key":"X-Request-Id","value":"do deserunt of"}],"cookie":[],"_postman_previewlanguage":"text"},{"id":"36c85dc1-db09-443d-b5c5-95eca4dcbdb7","name":"Forbidden","originalRequest":{"url":{"path":["station-maintenances",":broker-tax-code"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"Station's code","type":"text/plain"},"key":"station-code","value":"do deserunt of"},{"disabled":false,"description":{"content":"Maintenances' state","type":"text/plain"},"key":"state","value":"IN_PROGRESS"},{"disabled":false,"description":{"content":"Maintenance's starting year","type":"text/plain"},"key":"year","value":"56449908"},{"disabled":false,"description":{"content":"Number of items for page","type":"text/plain"},"key":"limit","value":"50"},{"disabled":false,"description":{"content":"Page number","type":"text/plain"},"key":"page","value":"0"}],"variable":[]},"header":[{"disabled":false,"description":{"content":"This header identifies the call, if not passed it is self-generated. This ID is returned in the response.","type":"text/plain"},"key":"X-Request-Id","value":"do deserunt of"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"disabled":false,"description":{"content":"This header identifies the call","type":"text/plain"},"key":"X-Request-Id","value":"do deserunt of"}],"cookie":[],"_postman_previewlanguage":"text"},{"id":"6112188c-f3c2-4f24-a198-8bf911a102a8","name":"Too many requests","originalRequest":{"url":{"path":["station-maintenances",":broker-tax-code"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"Station's code","type":"text/plain"},"key":"station-code","value":"do deserunt of"},{"disabled":false,"description":{"content":"Maintenances' state","type":"text/plain"},"key":"state","value":"IN_PROGRESS"},{"disabled":false,"description":{"content":"Maintenance's starting year","type":"text/plain"},"key":"year","value":"56449908"},{"disabled":false,"description":{"content":"Number of items for page","type":"text/plain"},"key":"limit","value":"50"},{"disabled":false,"description":{"content":"Page number","type":"text/plain"},"key":"page","value":"0"}],"variable":[]},"header":[{"disabled":false,"description":{"content":"This header identifies the call, if not passed it is self-generated. This ID is returned in the response.","type":"text/plain"},"key":"X-Request-Id","value":"do deserunt of"}],"method":"GET","body":{}},"status":"Too Many Requests","code":429,"header":[{"disabled":false,"description":{"content":"This header identifies the call","type":"text/plain"},"key":"X-Request-Id","value":"do deserunt of"}],"cookie":[],"_postman_previewlanguage":"text"},{"id":"4b813eed-ea74-4b72-a0c0-8a558d7ab376","name":"Service unavailable","originalRequest":{"url":{"path":["station-maintenances",":broker-tax-code"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"Station's code","type":"text/plain"},"key":"station-code","value":"do deserunt of"},{"disabled":false,"description":{"content":"Maintenances' state","type":"text/plain"},"key":"state","value":"IN_PROGRESS"},{"disabled":false,"description":{"content":"Maintenance's starting year","type":"text/plain"},"key":"year","value":"56449908"},{"disabled":false,"description":{"content":"Number of items for page","type":"text/plain"},"key":"limit","value":"50"},{"disabled":false,"description":{"content":"Page number","type":"text/plain"},"key":"page","value":"0"}],"variable":[]},"header":[{"disabled":false,"description":{"content":"This header identifies the call, if not passed it is self-generated. This ID is returned in the response.","type":"text/plain"},"key":"X-Request-Id","value":"do deserunt of"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"},{"disabled":false,"description":{"content":"This header identifies the call","type":"text/plain"},"key":"X-Request-Id","value":"do deserunt of"}],"body":"{\n \"detail\": \"There was an error processing the request\",\n \"status\": 200,\n \"title\": \"in occaecat est\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"name":"maintenance","description":"","item":[{"name":"{maintenance-id}","description":"","item":[{"id":"bc0706ef-fe53-433e-bbdb-257edf92bec5","name":"Get a maintenance for the specified station, given its broker code and maintenance id","request":{"name":"Get a maintenance for the specified station, given its broker code and maintenance id","description":{"content":"Internal | External | Synchronous | Authorization | Authentication | TPS | Idempotency | Stateless | Read/Write Intense | Cacheable\n-|-|-|-|-|-|-|-|-|-\nN | Y | Y | ApiKey | ApiKey | 1.0/sec | Y | Y | Write | N\n","type":"text/plain"},"url":{"path":["station-maintenances",":broker-tax-code","maintenance",":maintenance-id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"type":"any","value":"do deserunt of","key":"broker-tax-code","disabled":false,"description":{"content":"(Required) Broker's tax code","type":"text/plain"}},{"type":"any","value":"23897967","key":"maintenance-id","disabled":false,"description":{"content":"(Required) Maintenance's id","type":"text/plain"}}]},"header":[{"disabled":false,"description":{"content":"This header identifies the call, if not passed it is self-generated. This ID is returned in the response.","type":"text/plain"},"key":"X-Request-Id","value":"do deserunt of"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{},"auth":null},"response":[{"id":"d47f776d-49bf-42ee-ba62-c158c1bb1a81","name":"Created","originalRequest":{"url":{"path":["station-maintenances",":broker-tax-code","maintenance",":maintenance-id"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"disabled":false,"description":{"content":"This header identifies the call, if not passed it is self-generated. This ID is returned in the response.","type":"text/plain"},"key":"X-Request-Id","value":"do deserunt of"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"},{"disabled":false,"description":{"content":"This header identifies the call","type":"text/plain"},"key":"X-Request-Id","value":"do deserunt of"}],"body":"{\n \"broker_code\": \"Lorem occaecat sunt\",\n \"end_date_time\": \"2024-04-01T13:00:00+02:00\",\n \"maintenance_id\": -18140632,\n \"stand_in\": false,\n \"start_date_time\": \"2024-04-01T13:00:00+02:00\",\n \"station_code\": \"ex anim aliqua\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"3aa1c1e4-ffac-4f4d-98d9-a1528c3b0316","name":"Bad Request","originalRequest":{"url":{"path":["station-maintenances",":broker-tax-code","maintenance",":maintenance-id"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"disabled":false,"description":{"content":"This header identifies the call, if not passed it is self-generated. This ID is returned in the response.","type":"text/plain"},"key":"X-Request-Id","value":"do deserunt of"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"},{"disabled":false,"description":{"content":"This header identifies the call","type":"text/plain"},"key":"X-Request-Id","value":"do deserunt of"}],"body":"{\n \"detail\": \"There was an error processing the request\",\n \"status\": 200,\n \"title\": \"in occaecat est\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"badb6b96-d0bd-4de0-b011-583f5c76437d","name":"Unauthorized","originalRequest":{"url":{"path":["station-maintenances",":broker-tax-code","maintenance",":maintenance-id"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"disabled":false,"description":{"content":"This header identifies the call, if not passed it is self-generated. This ID is returned in the response.","type":"text/plain"},"key":"X-Request-Id","value":"do deserunt of"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"disabled":false,"description":{"content":"This header identifies the call","type":"text/plain"},"key":"X-Request-Id","value":"do deserunt of"}],"cookie":[],"_postman_previewlanguage":"text"},{"id":"7fce31a0-20df-42e7-bdcb-d75e70b46343","name":"Forbidden","originalRequest":{"url":{"path":["station-maintenances",":broker-tax-code","maintenance",":maintenance-id"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"disabled":false,"description":{"content":"This header identifies the call, if not passed it is self-generated. This ID is returned in the response.","type":"text/plain"},"key":"X-Request-Id","value":"do deserunt of"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"disabled":false,"description":{"content":"This header identifies the call","type":"text/plain"},"key":"X-Request-Id","value":"do deserunt of"}],"cookie":[],"_postman_previewlanguage":"text"},{"id":"a1135adb-ba62-43bc-87be-f33e9eaf8f4f","name":"Conflict","originalRequest":{"url":{"path":["station-maintenances",":broker-tax-code","maintenance",":maintenance-id"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"disabled":false,"description":{"content":"This header identifies the call, if not passed it is self-generated. This ID is returned in the response.","type":"text/plain"},"key":"X-Request-Id","value":"do deserunt of"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"},{"disabled":false,"description":{"content":"This header identifies the call","type":"text/plain"},"key":"X-Request-Id","value":"do deserunt of"}],"body":"{\n \"detail\": \"There was an error processing the request\",\n \"status\": 200,\n \"title\": \"in occaecat est\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"1e7ea4db-ddfd-4fe0-9c7a-9b4e698fc380","name":"Too many requests","originalRequest":{"url":{"path":["station-maintenances",":broker-tax-code","maintenance",":maintenance-id"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"disabled":false,"description":{"content":"This header identifies the call, if not passed it is self-generated. This ID is returned in the response.","type":"text/plain"},"key":"X-Request-Id","value":"do deserunt of"}],"method":"GET","body":{}},"status":"Too Many Requests","code":429,"header":[{"disabled":false,"description":{"content":"This header identifies the call","type":"text/plain"},"key":"X-Request-Id","value":"do deserunt of"}],"cookie":[],"_postman_previewlanguage":"text"},{"id":"97a39248-6100-402a-ac9d-02c6169a99dd","name":"Service unavailable","originalRequest":{"url":{"path":["station-maintenances",":broker-tax-code","maintenance",":maintenance-id"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"disabled":false,"description":{"content":"This header identifies the call, if not passed it is self-generated. This ID is returned in the response.","type":"text/plain"},"key":"X-Request-Id","value":"do deserunt of"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"},{"disabled":false,"description":{"content":"This header identifies the call","type":"text/plain"},"key":"X-Request-Id","value":"do deserunt of"}],"body":"{\n \"detail\": \"There was an error processing the request\",\n \"status\": 200,\n \"title\": \"in occaecat est\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}]}]},{"name":"summary","description":"","item":[{"id":"190a61bd-9415-4652-8af5-e6bc6e4b622b","name":"Get the hours' summary of stations' maintenance for the specified broker","request":{"name":"Get the hours' summary of stations' maintenance for the specified broker","description":{"content":"Internal | External | Synchronous | Authorization | Authentication | TPS | Idempotency | Stateless | Read/Write Intense | Cacheable\n-|-|-|-|-|-|-|-|-|-\nN | Y | Y | ApiKey | ApiKey | 1.0/sec | Y | Y | Read | N\n","type":"text/plain"},"url":{"path":["station-maintenances",":broker-tax-code","summary"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"(Required) Year of maintenance (yyyy)","type":"text/plain"},"key":"maintenance-year","value":"2024"}],"variable":[{"type":"any","value":"do deserunt of","key":"broker-tax-code","disabled":false,"description":{"content":"(Required) Broker's tax code","type":"text/plain"}}]},"header":[{"disabled":false,"description":{"content":"This header identifies the call, if not passed it is self-generated. This ID is returned in the response.","type":"text/plain"},"key":"X-Request-Id","value":"do deserunt of"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{},"auth":null},"response":[{"id":"464e8c22-796f-4496-9a46-3667a4e7ac64","name":"OK","originalRequest":{"url":{"path":["station-maintenances",":broker-tax-code","summary"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"(Required) Year of maintenance (yyyy)","type":"text/plain"},"key":"maintenance-year","value":"2024"}],"variable":[]},"header":[{"disabled":false,"description":{"content":"This header identifies the call, if not passed it is self-generated. This ID is returned in the response.","type":"text/plain"},"key":"X-Request-Id","value":"do deserunt of"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"},{"disabled":false,"description":{"content":"This header identifies the call","type":"text/plain"},"key":"X-Request-Id","value":"do deserunt of"}],"body":"{\n \"annual_hours_limit\": \"30:15\",\n \"extra_hours\": \"30:15\",\n \"remaining_hours\": \"30:15\",\n \"scheduled_hours\": \"30:15\",\n \"used_hours\": \"30:15\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"6a58c866-cf04-4e1b-8dc0-5450539b000f","name":"Bad Request","originalRequest":{"url":{"path":["station-maintenances",":broker-tax-code","summary"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"(Required) Year of maintenance (yyyy)","type":"text/plain"},"key":"maintenance-year","value":"2024"}],"variable":[]},"header":[{"disabled":false,"description":{"content":"This header identifies the call, if not passed it is self-generated. This ID is returned in the response.","type":"text/plain"},"key":"X-Request-Id","value":"do deserunt of"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"},{"disabled":false,"description":{"content":"This header identifies the call","type":"text/plain"},"key":"X-Request-Id","value":"do deserunt of"}],"body":"{\n \"detail\": \"There was an error processing the request\",\n \"status\": 200,\n \"title\": \"in occaecat est\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"138719ba-45fc-4a8d-90a9-3c015b22dd87","name":"Unauthorized","originalRequest":{"url":{"path":["station-maintenances",":broker-tax-code","summary"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"(Required) Year of maintenance (yyyy)","type":"text/plain"},"key":"maintenance-year","value":"2024"}],"variable":[]},"header":[{"disabled":false,"description":{"content":"This header identifies the call, if not passed it is self-generated. This ID is returned in the response.","type":"text/plain"},"key":"X-Request-Id","value":"do deserunt of"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"disabled":false,"description":{"content":"This header identifies the call","type":"text/plain"},"key":"X-Request-Id","value":"do deserunt of"}],"cookie":[],"_postman_previewlanguage":"text"},{"id":"31d6e485-82da-4fbb-a950-a1af6d75be59","name":"Forbidden","originalRequest":{"url":{"path":["station-maintenances",":broker-tax-code","summary"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"(Required) Year of maintenance (yyyy)","type":"text/plain"},"key":"maintenance-year","value":"2024"}],"variable":[]},"header":[{"disabled":false,"description":{"content":"This header identifies the call, if not passed it is self-generated. This ID is returned in the response.","type":"text/plain"},"key":"X-Request-Id","value":"do deserunt of"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"disabled":false,"description":{"content":"This header identifies the call","type":"text/plain"},"key":"X-Request-Id","value":"do deserunt of"}],"cookie":[],"_postman_previewlanguage":"text"},{"id":"eefa0e03-25a0-4a16-a03a-0946f5d7e8c4","name":"Not Found","originalRequest":{"url":{"path":["station-maintenances",":broker-tax-code","summary"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"(Required) Year of maintenance (yyyy)","type":"text/plain"},"key":"maintenance-year","value":"2024"}],"variable":[]},"header":[{"disabled":false,"description":{"content":"This header identifies the call, if not passed it is self-generated. This ID is returned in the response.","type":"text/plain"},"key":"X-Request-Id","value":"do deserunt of"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"},{"disabled":false,"description":{"content":"This header identifies the call","type":"text/plain"},"key":"X-Request-Id","value":"do deserunt of"}],"body":"{\n \"detail\": \"There was an error processing the request\",\n \"status\": 200,\n \"title\": \"in occaecat est\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"5f801ee1-0ada-4c30-a6b3-bd93826750fb","name":"Too many requests","originalRequest":{"url":{"path":["station-maintenances",":broker-tax-code","summary"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"(Required) Year of maintenance (yyyy)","type":"text/plain"},"key":"maintenance-year","value":"2024"}],"variable":[]},"header":[{"disabled":false,"description":{"content":"This header identifies the call, if not passed it is self-generated. This ID is returned in the response.","type":"text/plain"},"key":"X-Request-Id","value":"do deserunt of"}],"method":"GET","body":{}},"status":"Too Many Requests","code":429,"header":[{"disabled":false,"description":{"content":"This header identifies the call","type":"text/plain"},"key":"X-Request-Id","value":"do deserunt of"}],"cookie":[],"_postman_previewlanguage":"text"},{"id":"b6eb1afc-9b05-43ed-96e1-4fb3ea2f5765","name":"Service unavailable","originalRequest":{"url":{"path":["station-maintenances",":broker-tax-code","summary"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"(Required) Year of maintenance (yyyy)","type":"text/plain"},"key":"maintenance-year","value":"2024"}],"variable":[]},"header":[{"disabled":false,"description":{"content":"This header identifies the call, if not passed it is self-generated. This ID is returned in the response.","type":"text/plain"},"key":"X-Request-Id","value":"do deserunt of"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"},{"disabled":false,"description":{"content":"This header identifies the call","type":"text/plain"},"key":"X-Request-Id","value":"do deserunt of"}],"body":"{\n \"detail\": \"There was an error processing the request\",\n \"status\": 200,\n \"title\": \"in occaecat est\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}]}]}]}],"event":[],"variable":[{"key":"baseUrl","value":"http://localhost:8080"}],"info":{"_postman_id":"5e321725-5a0d-4808-af8e-b29279e405e6","name":"Backoffice External","schema":"https://schema.getpostman.com/json/collection/v2.1.0/collection.json","description":{"content":"Microservice to expose REST API to contact PagoPA Backoffice","type":"text/plain"}}} \ No newline at end of file +{"item":[{"name":"brokers","description":"","item":[{"name":"{brokerCode}","description":"","item":[{"name":"creditor_institutions","description":"","item":[{"id":"b9b9e82e-a0d5-401c-a950-c9c967f2e42f","name":"getBrokerInstitutions","request":{"name":"getBrokerInstitutions","description":{"content":"Internal | External | Synchronous | Authorization | Authentication | TPS | Idempotency | Stateless | Read/Write Intense | Cacheable\n-|-|-|-|-|-|-|-|-|-\nN | Y | Y | ApiKey | ApiKey | 1.0/sec | Y | Y | Read | Y\nReturn the list of Creditor Institutions of a Broker","type":"text/plain"},"url":{"path":["brokers",":brokerCode","creditor_institutions"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"Number of elements on one page. Default = 10","type":"text/plain"},"key":"limit","value":"10"},{"disabled":false,"description":{"content":"(Required) Page number. Page value starts from 0","type":"text/plain"},"key":"page","value":"96707296"}],"variable":[{"type":"any","value":"cupidatat mollit eiusmod et","key":"brokerCode","disabled":false,"description":{"content":"(Required) Broker Code to use as filter for the retrieved creditor institution list","type":"text/plain"}}]},"header":[{"disabled":false,"description":{"content":"This header identifies the call, if not passed it is self-generated. This ID is returned in the response.","type":"text/plain"},"key":"X-Request-Id","value":"cupidatat mollit eiusmod et"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{},"auth":null},"response":[{"id":"3ce9c002-7a1e-416c-8548-8f4ea2cdcbed","name":"OK","originalRequest":{"url":{"path":["brokers",":brokerCode","creditor_institutions"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"Number of elements on one page. Default = 10","type":"text/plain"},"key":"limit","value":"10"},{"disabled":false,"description":{"content":"(Required) Page number. Page value starts from 0","type":"text/plain"},"key":"page","value":"96707296"}],"variable":[]},"header":[{"disabled":false,"description":{"content":"This header identifies the call, if not passed it is self-generated. This ID is returned in the response.","type":"text/plain"},"key":"X-Request-Id","value":"cupidatat mollit eiusmod et"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"},{"disabled":false,"description":{"content":"This header identifies the call","type":"text/plain"},"key":"X-Request-Id","value":"cupidatat mollit eiusmod et"}],"body":"{\n \"creditorInstitutions\": [\n {\n \"auxDigit\": \"qui cillum amet incididunt\",\n \"brokerCompanyName\": \"mo\",\n \"brokerTaxCode\": \"sed voluptate elit m\",\n \"ciStatus\": true,\n \"companyName\": \"tempor cillum\",\n \"intermediated\": true,\n \"model\": 99203891,\n \"stationState\": \"enabled\",\n \"taxCode\": \"sed elit id ad\",\n \"version\": \"1\",\n \"activationDate\": \"2005-04-19T22:02:52.158Z\",\n \"applicationCode\": \"Lorem officia nisi\",\n \"broadcast\": false,\n \"cbillCode\": \"Duis quis\",\n \"endpointMU\": \"ut esse qui laboris\",\n \"endpointRT\": \"culpa\",\n \"endpointRedirect\": \"velit ex Excepteur e\",\n \"primitiveVersion\": 63973109,\n \"pspPayment\": false,\n \"segregationCode\": \"ullamco\",\n \"stationId\": \"commodo ut dolor\"\n },\n {\n \"auxDigit\": \"tempor officia consectetur\",\n \"brokerCompanyName\": \"ut consequat sed\",\n \"brokerTaxCode\": \"Ut reprehenderit si\",\n \"ciStatus\": true,\n \"companyName\": \"dol\",\n \"intermediated\": true,\n \"model\": 99349662,\n \"stationState\": \"enabled\",\n \"taxCode\": \"officia irure\",\n \"version\": \"1\",\n \"activationDate\": \"2014-10-27T02:30:38.508Z\",\n \"applicationCode\": \"eu sunt in exercitation\",\n \"broadcast\": false,\n \"cbillCode\": \"in\",\n \"endpointMU\": \"laboris ex sed\",\n \"endpointRT\": \"nulla commodo veniam\",\n \"endpointRedirect\": \"magna eu dolore\",\n \"primitiveVersion\": -49658358,\n \"pspPayment\": false,\n \"segregationCode\": \"sint laboris dolor\",\n \"stationId\": \"esse\"\n }\n ],\n \"pageInfo\": {\n \"limit\": -70154577,\n \"page\": 9757810,\n \"totalElements\": 38211027,\n \"totalPages\": -88360196\n }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"a41116fd-1ed6-4ccd-8c34-211ab47df4db","name":"Bad Request","originalRequest":{"url":{"path":["brokers",":brokerCode","creditor_institutions"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"Number of elements on one page. Default = 10","type":"text/plain"},"key":"limit","value":"10"},{"disabled":false,"description":{"content":"(Required) Page number. Page value starts from 0","type":"text/plain"},"key":"page","value":"96707296"}],"variable":[]},"header":[{"disabled":false,"description":{"content":"This header identifies the call, if not passed it is self-generated. This ID is returned in the response.","type":"text/plain"},"key":"X-Request-Id","value":"cupidatat mollit eiusmod et"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"},{"disabled":false,"description":{"content":"This header identifies the call","type":"text/plain"},"key":"X-Request-Id","value":"cupidatat mollit eiusmod et"}],"body":"{\n \"detail\": \"There was an error processing the request\",\n \"status\": 200,\n \"title\": \"sit\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"dd915050-1f0a-41ea-beef-e0077b6aca7e","name":"Unauthorized","originalRequest":{"url":{"path":["brokers",":brokerCode","creditor_institutions"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"Number of elements on one page. Default = 10","type":"text/plain"},"key":"limit","value":"10"},{"disabled":false,"description":{"content":"(Required) Page number. Page value starts from 0","type":"text/plain"},"key":"page","value":"96707296"}],"variable":[]},"header":[{"disabled":false,"description":{"content":"This header identifies the call, if not passed it is self-generated. This ID is returned in the response.","type":"text/plain"},"key":"X-Request-Id","value":"cupidatat mollit eiusmod et"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"disabled":false,"description":{"content":"This header identifies the call","type":"text/plain"},"key":"X-Request-Id","value":"cupidatat mollit eiusmod et"}],"cookie":[],"_postman_previewlanguage":"text"},{"id":"ef58fa51-115d-47f8-bb33-6c66902b8f2c","name":"Forbidden","originalRequest":{"url":{"path":["brokers",":brokerCode","creditor_institutions"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"Number of elements on one page. Default = 10","type":"text/plain"},"key":"limit","value":"10"},{"disabled":false,"description":{"content":"(Required) Page number. Page value starts from 0","type":"text/plain"},"key":"page","value":"96707296"}],"variable":[]},"header":[{"disabled":false,"description":{"content":"This header identifies the call, if not passed it is self-generated. This ID is returned in the response.","type":"text/plain"},"key":"X-Request-Id","value":"cupidatat mollit eiusmod et"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"disabled":false,"description":{"content":"This header identifies the call","type":"text/plain"},"key":"X-Request-Id","value":"cupidatat mollit eiusmod et"}],"cookie":[],"_postman_previewlanguage":"text"},{"id":"909f0177-3bb3-4865-8c6b-a1dc977d0e55","name":"Institutions for the brokerCode not found","originalRequest":{"url":{"path":["brokers",":brokerCode","creditor_institutions"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"Number of elements on one page. Default = 10","type":"text/plain"},"key":"limit","value":"10"},{"disabled":false,"description":{"content":"(Required) Page number. Page value starts from 0","type":"text/plain"},"key":"page","value":"96707296"}],"variable":[]},"header":[{"disabled":false,"description":{"content":"This header identifies the call, if not passed it is self-generated. This ID is returned in the response.","type":"text/plain"},"key":"X-Request-Id","value":"cupidatat mollit eiusmod et"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"},{"disabled":false,"description":{"content":"This header identifies the call","type":"text/plain"},"key":"X-Request-Id","value":"cupidatat mollit eiusmod et"}],"body":"{\n \"detail\": \"There was an error processing the request\",\n \"status\": 200,\n \"title\": \"sit\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"b2129e6f-7002-4954-9577-60098a32c859","name":"Too many requests","originalRequest":{"url":{"path":["brokers",":brokerCode","creditor_institutions"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"Number of elements on one page. Default = 10","type":"text/plain"},"key":"limit","value":"10"},{"disabled":false,"description":{"content":"(Required) Page number. Page value starts from 0","type":"text/plain"},"key":"page","value":"96707296"}],"variable":[]},"header":[{"disabled":false,"description":{"content":"This header identifies the call, if not passed it is self-generated. This ID is returned in the response.","type":"text/plain"},"key":"X-Request-Id","value":"cupidatat mollit eiusmod et"}],"method":"GET","body":{}},"status":"Too Many Requests","code":429,"header":[{"disabled":false,"description":{"content":"This header identifies the call","type":"text/plain"},"key":"X-Request-Id","value":"cupidatat mollit eiusmod et"}],"cookie":[],"_postman_previewlanguage":"text"},{"id":"1dbd650f-5d3c-4b05-a23a-3e08c45f938e","name":"Service unavailable","originalRequest":{"url":{"path":["brokers",":brokerCode","creditor_institutions"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"Number of elements on one page. Default = 10","type":"text/plain"},"key":"limit","value":"10"},{"disabled":false,"description":{"content":"(Required) Page number. Page value starts from 0","type":"text/plain"},"key":"page","value":"96707296"}],"variable":[]},"header":[{"disabled":false,"description":{"content":"This header identifies the call, if not passed it is self-generated. This ID is returned in the response.","type":"text/plain"},"key":"X-Request-Id","value":"cupidatat mollit eiusmod et"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"},{"disabled":false,"description":{"content":"This header identifies the call","type":"text/plain"},"key":"X-Request-Id","value":"cupidatat mollit eiusmod et"}],"body":"{\n \"detail\": \"There was an error processing the request\",\n \"status\": 200,\n \"title\": \"sit\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}]},{"name":"ibans","description":"","item":[{"id":"3d41ff2c-dc5e-4903-ae17-9cc1a554cd99","name":"getBrokerIbans","request":{"name":"getBrokerIbans","description":{"content":"Internal | External | Synchronous | Authorization | Authentication | TPS | Idempotency | Stateless | Read/Write Intense | Cacheable\n-|-|-|-|-|-|-|-|-|-\nN | Y | Y | ApiKey | ApiKey | 1.0/sec | Y | Y | Read | Y\nReturn the list of Ibans of all the Creditor Institutions intermediated by the Broker","type":"text/plain"},"url":{"path":["brokers",":brokerCode","ibans"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"Number of elements on one page. Default = 10","type":"text/plain"},"key":"limit","value":"10"},{"disabled":false,"description":{"content":"(Required) Page number. Page value starts from 0","type":"text/plain"},"key":"page","value":"96707296"}],"variable":[{"type":"any","value":"cupidatat mollit eiusmod et","key":"brokerCode","disabled":false,"description":{"content":"(Required) Broker Code to use as filter for the retrieved ibans list","type":"text/plain"}}]},"header":[{"disabled":false,"description":{"content":"This header identifies the call, if not passed it is self-generated. This ID is returned in the response.","type":"text/plain"},"key":"X-Request-Id","value":"cupidatat mollit eiusmod et"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{},"auth":null},"response":[{"id":"7b904d56-1a79-4110-9c59-89a8f61f428b","name":"OK","originalRequest":{"url":{"path":["brokers",":brokerCode","ibans"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"Number of elements on one page. Default = 10","type":"text/plain"},"key":"limit","value":"10"},{"disabled":false,"description":{"content":"(Required) Page number. Page value starts from 0","type":"text/plain"},"key":"page","value":"96707296"}],"variable":[]},"header":[{"disabled":false,"description":{"content":"This header identifies the call, if not passed it is self-generated. This ID is returned in the response.","type":"text/plain"},"key":"X-Request-Id","value":"cupidatat mollit eiusmod et"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"},{"disabled":false,"description":{"content":"This header identifies the call","type":"text/plain"},"key":"X-Request-Id","value":"cupidatat mollit eiusmod et"}],"body":"{\n \"ibans\": [\n {\n \"ciFiscalCode\": \"tempor ipsum adipisicing eiusmod dolor\",\n \"ciName\": \"magna amet officia sunt\",\n \"iban\": \"commodo sed cupida\",\n \"status\": \"ENABLED\",\n \"validityDate\": \"1958-08-03T00:38:53.554Z\",\n \"description\": \"occaecat labore amet magna reprehenderit\",\n \"label\": \"CUP\"\n },\n {\n \"ciFiscalCode\": \"in adipisicing est magna\",\n \"ciName\": \"tempor elit commodo minim magna\",\n \"iban\": \"mollit aute sunt in\",\n \"status\": \"ENABLED\",\n \"validityDate\": \"2006-10-02T21:42:10.047Z\",\n \"description\": \"id velit laboris\",\n \"label\": \"CUP\"\n }\n ],\n \"pageInfo\": {\n \"limit\": -28165080,\n \"page\": -54735032,\n \"totalElements\": -94007286,\n \"totalPages\": 88426279\n }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"b7424a14-23df-4c34-b587-6e17bd60907c","name":"Bad Request","originalRequest":{"url":{"path":["brokers",":brokerCode","ibans"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"Number of elements on one page. Default = 10","type":"text/plain"},"key":"limit","value":"10"},{"disabled":false,"description":{"content":"(Required) Page number. Page value starts from 0","type":"text/plain"},"key":"page","value":"96707296"}],"variable":[]},"header":[{"disabled":false,"description":{"content":"This header identifies the call, if not passed it is self-generated. This ID is returned in the response.","type":"text/plain"},"key":"X-Request-Id","value":"cupidatat mollit eiusmod et"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"},{"disabled":false,"description":{"content":"This header identifies the call","type":"text/plain"},"key":"X-Request-Id","value":"cupidatat mollit eiusmod et"}],"body":"{\n \"detail\": \"There was an error processing the request\",\n \"status\": 200,\n \"title\": \"sit\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"1712b2f9-5288-467e-9d74-9479ba9a4264","name":"Unauthorized","originalRequest":{"url":{"path":["brokers",":brokerCode","ibans"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"Number of elements on one page. Default = 10","type":"text/plain"},"key":"limit","value":"10"},{"disabled":false,"description":{"content":"(Required) Page number. Page value starts from 0","type":"text/plain"},"key":"page","value":"96707296"}],"variable":[]},"header":[{"disabled":false,"description":{"content":"This header identifies the call, if not passed it is self-generated. This ID is returned in the response.","type":"text/plain"},"key":"X-Request-Id","value":"cupidatat mollit eiusmod et"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"disabled":false,"description":{"content":"This header identifies the call","type":"text/plain"},"key":"X-Request-Id","value":"cupidatat mollit eiusmod et"}],"cookie":[],"_postman_previewlanguage":"text"},{"id":"d2d9262a-fd96-4b78-ba06-262f12dce870","name":"Forbidden","originalRequest":{"url":{"path":["brokers",":brokerCode","ibans"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"Number of elements on one page. Default = 10","type":"text/plain"},"key":"limit","value":"10"},{"disabled":false,"description":{"content":"(Required) Page number. Page value starts from 0","type":"text/plain"},"key":"page","value":"96707296"}],"variable":[]},"header":[{"disabled":false,"description":{"content":"This header identifies the call, if not passed it is self-generated. This ID is returned in the response.","type":"text/plain"},"key":"X-Request-Id","value":"cupidatat mollit eiusmod et"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"disabled":false,"description":{"content":"This header identifies the call","type":"text/plain"},"key":"X-Request-Id","value":"cupidatat mollit eiusmod et"}],"cookie":[],"_postman_previewlanguage":"text"},{"id":"c4423acf-7190-404a-a827-489929fac861","name":"ibans for the brokerCode not found","originalRequest":{"url":{"path":["brokers",":brokerCode","ibans"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"Number of elements on one page. Default = 10","type":"text/plain"},"key":"limit","value":"10"},{"disabled":false,"description":{"content":"(Required) Page number. Page value starts from 0","type":"text/plain"},"key":"page","value":"96707296"}],"variable":[]},"header":[{"disabled":false,"description":{"content":"This header identifies the call, if not passed it is self-generated. This ID is returned in the response.","type":"text/plain"},"key":"X-Request-Id","value":"cupidatat mollit eiusmod et"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"},{"disabled":false,"description":{"content":"This header identifies the call","type":"text/plain"},"key":"X-Request-Id","value":"cupidatat mollit eiusmod et"}],"body":"{\n \"detail\": \"There was an error processing the request\",\n \"status\": 200,\n \"title\": \"sit\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"29f602cd-14c9-45ee-8798-02e9b844b8e6","name":"Too many requests","originalRequest":{"url":{"path":["brokers",":brokerCode","ibans"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"Number of elements on one page. Default = 10","type":"text/plain"},"key":"limit","value":"10"},{"disabled":false,"description":{"content":"(Required) Page number. Page value starts from 0","type":"text/plain"},"key":"page","value":"96707296"}],"variable":[]},"header":[{"disabled":false,"description":{"content":"This header identifies the call, if not passed it is self-generated. This ID is returned in the response.","type":"text/plain"},"key":"X-Request-Id","value":"cupidatat mollit eiusmod et"}],"method":"GET","body":{}},"status":"Too Many Requests","code":429,"header":[{"disabled":false,"description":{"content":"This header identifies the call","type":"text/plain"},"key":"X-Request-Id","value":"cupidatat mollit eiusmod et"}],"cookie":[],"_postman_previewlanguage":"text"},{"id":"00c7f138-06bc-4293-84b0-78814b00d4d9","name":"Service unavailable","originalRequest":{"url":{"path":["brokers",":brokerCode","ibans"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"Number of elements on one page. Default = 10","type":"text/plain"},"key":"limit","value":"10"},{"disabled":false,"description":{"content":"(Required) Page number. Page value starts from 0","type":"text/plain"},"key":"page","value":"96707296"}],"variable":[]},"header":[{"disabled":false,"description":{"content":"This header identifies the call, if not passed it is self-generated. This ID is returned in the response.","type":"text/plain"},"key":"X-Request-Id","value":"cupidatat mollit eiusmod et"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"},{"disabled":false,"description":{"content":"This header identifies the call","type":"text/plain"},"key":"X-Request-Id","value":"cupidatat mollit eiusmod et"}],"body":"{\n \"detail\": \"There was an error processing the request\",\n \"status\": 200,\n \"title\": \"sit\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}]}]}]},{"name":"creditor_institutions","description":"","item":[{"name":"ibans","description":"","item":[{"id":"eeef17d7-4490-49df-8c32-293d6b98c2dd","name":"getCIsIbans","request":{"name":"getCIsIbans","description":{"content":"Internal | External | Synchronous | Authorization | Authentication | TPS | Idempotency | Stateless | Read/Write Intense | Cacheable\n-|-|-|-|-|-|-|-|-|-\nN | Y | Y | ApiKey | ApiKey | 1.0/sec | Y | Y | Read | Y\nReturn the full list of Ibans of all CIs ","type":"text/plain"},"url":{"path":["creditor_institutions","ibans"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"Number of elements on one page. Default = 10","type":"text/plain"},"key":"limit","value":"10"},{"disabled":false,"description":{"content":"(Required) Page number. Page value starts from 0","type":"text/plain"},"key":"page","value":"96707296"}],"variable":[]},"header":[{"disabled":false,"description":{"content":"This header identifies the call, if not passed it is self-generated. This ID is returned in the response.","type":"text/plain"},"key":"X-Request-Id","value":"cupidatat mollit eiusmod et"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{},"auth":null},"response":[{"id":"77f3b465-e47a-4f9a-bea2-d633d0759333","name":"OK","originalRequest":{"url":{"path":["creditor_institutions","ibans"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"Number of elements on one page. Default = 10","type":"text/plain"},"key":"limit","value":"10"},{"disabled":false,"description":{"content":"(Required) Page number. Page value starts from 0","type":"text/plain"},"key":"page","value":"96707296"}],"variable":[]},"header":[{"disabled":false,"description":{"content":"This header identifies the call, if not passed it is self-generated. This ID is returned in the response.","type":"text/plain"},"key":"X-Request-Id","value":"cupidatat mollit eiusmod et"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"},{"disabled":false,"description":{"content":"This header identifies the call","type":"text/plain"},"key":"X-Request-Id","value":"cupidatat mollit eiusmod et"}],"body":"{\n \"ibans\": [\n {\n \"ciFiscalCode\": \"tempor ipsum adipisicing eiusmod dolor\",\n \"ciName\": \"magna amet officia sunt\",\n \"iban\": \"commodo sed cupida\",\n \"status\": \"ENABLED\",\n \"validityDate\": \"1958-08-03T00:38:53.554Z\",\n \"description\": \"occaecat labore amet magna reprehenderit\",\n \"label\": \"CUP\"\n },\n {\n \"ciFiscalCode\": \"in adipisicing est magna\",\n \"ciName\": \"tempor elit commodo minim magna\",\n \"iban\": \"mollit aute sunt in\",\n \"status\": \"ENABLED\",\n \"validityDate\": \"2006-10-02T21:42:10.047Z\",\n \"description\": \"id velit laboris\",\n \"label\": \"CUP\"\n }\n ],\n \"pageInfo\": {\n \"limit\": -28165080,\n \"page\": -54735032,\n \"totalElements\": -94007286,\n \"totalPages\": 88426279\n }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"41884a60-2b8c-4bf3-8b1d-c938d8276501","name":"Bad Request","originalRequest":{"url":{"path":["creditor_institutions","ibans"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"Number of elements on one page. Default = 10","type":"text/plain"},"key":"limit","value":"10"},{"disabled":false,"description":{"content":"(Required) Page number. Page value starts from 0","type":"text/plain"},"key":"page","value":"96707296"}],"variable":[]},"header":[{"disabled":false,"description":{"content":"This header identifies the call, if not passed it is self-generated. This ID is returned in the response.","type":"text/plain"},"key":"X-Request-Id","value":"cupidatat mollit eiusmod et"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"},{"disabled":false,"description":{"content":"This header identifies the call","type":"text/plain"},"key":"X-Request-Id","value":"cupidatat mollit eiusmod et"}],"body":"{\n \"detail\": \"There was an error processing the request\",\n \"status\": 200,\n \"title\": \"sit\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"261a4c51-d76d-4b15-960b-1aba92ace81c","name":"Unauthorized","originalRequest":{"url":{"path":["creditor_institutions","ibans"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"Number of elements on one page. Default = 10","type":"text/plain"},"key":"limit","value":"10"},{"disabled":false,"description":{"content":"(Required) Page number. Page value starts from 0","type":"text/plain"},"key":"page","value":"96707296"}],"variable":[]},"header":[{"disabled":false,"description":{"content":"This header identifies the call, if not passed it is self-generated. This ID is returned in the response.","type":"text/plain"},"key":"X-Request-Id","value":"cupidatat mollit eiusmod et"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"disabled":false,"description":{"content":"This header identifies the call","type":"text/plain"},"key":"X-Request-Id","value":"cupidatat mollit eiusmod et"}],"cookie":[],"_postman_previewlanguage":"text"},{"id":"f5badef1-8bc2-4d91-83c7-0fd2547ecb20","name":"Too many requests","originalRequest":{"url":{"path":["creditor_institutions","ibans"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"Number of elements on one page. Default = 10","type":"text/plain"},"key":"limit","value":"10"},{"disabled":false,"description":{"content":"(Required) Page number. Page value starts from 0","type":"text/plain"},"key":"page","value":"96707296"}],"variable":[]},"header":[{"disabled":false,"description":{"content":"This header identifies the call, if not passed it is self-generated. This ID is returned in the response.","type":"text/plain"},"key":"X-Request-Id","value":"cupidatat mollit eiusmod et"}],"method":"GET","body":{}},"status":"Too Many Requests","code":429,"header":[{"disabled":false,"description":{"content":"This header identifies the call","type":"text/plain"},"key":"X-Request-Id","value":"cupidatat mollit eiusmod et"}],"cookie":[],"_postman_previewlanguage":"text"},{"id":"0cf57851-f35f-4914-a5bc-5a111a7a893a","name":"Service unavailable","originalRequest":{"url":{"path":["creditor_institutions","ibans"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"Number of elements on one page. Default = 10","type":"text/plain"},"key":"limit","value":"10"},{"disabled":false,"description":{"content":"(Required) Page number. Page value starts from 0","type":"text/plain"},"key":"page","value":"96707296"}],"variable":[]},"header":[{"disabled":false,"description":{"content":"This header identifies the call, if not passed it is self-generated. This ID is returned in the response.","type":"text/plain"},"key":"X-Request-Id","value":"cupidatat mollit eiusmod et"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"},{"disabled":false,"description":{"content":"This header identifies the call","type":"text/plain"},"key":"X-Request-Id","value":"cupidatat mollit eiusmod et"}],"body":"{\n \"detail\": \"There was an error processing the request\",\n \"status\": 200,\n \"title\": \"sit\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}]}]},{"name":"info","description":"","item":[{"id":"332be795-779d-4c11-b0df-936e0966cc5d","name":"health check","request":{"name":"health check","description":{"content":"Return OK if application is started","type":"text/plain"},"url":{"path":["info"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"disabled":false,"description":{"content":"This header identifies the call, if not passed it is self-generated. This ID is returned in the response.","type":"text/plain"},"key":"X-Request-Id","value":"cupidatat mollit eiusmod et"},{"key":"Accept","value":"*/*"}],"method":"GET","body":{},"auth":null},"response":[{"id":"a39bd325-0dac-48f9-a5bb-04f53a9b733d","name":"OK","originalRequest":{"url":{"path":["info"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"disabled":false,"description":{"content":"This header identifies the call, if not passed it is self-generated. This ID is returned in the response.","type":"text/plain"},"key":"X-Request-Id","value":"cupidatat mollit eiusmod et"},{"key":"Accept","value":"*/*"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"*/*"},{"disabled":false,"description":{"content":"This header identifies the call","type":"text/plain"},"key":"X-Request-Id","value":"cupidatat mollit eiusmod et"}],"body":"{\n \"environment\": \"aliquip\",\n \"name\": \"dolore Excepteur tempor\",\n \"version\": \"reprehenderit in ex labore velit\"\n}","cookie":[],"_postman_previewlanguage":"text"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}]},{"name":"operative_tables","description":"","item":[{"id":"707064df-ccb4-4bce-9f31-6c6fff00e2dc","name":"getOperativeTables","request":{"name":"getOperativeTables","description":{"content":"Internal | External | Synchronous | Authorization | Authentication | TPS | Idempotency | Stateless | Read/Write Intense | Cacheable\n-|-|-|-|-|-|-|-|-|-\nN | Y | Y | ApiKey | ApiKey | 1.0/sec | Y | Y | | Y\nGet All operative tables","type":"text/plain"},"url":{"path":["operative_tables"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"Tax code","type":"text/plain"},"key":"taxCode","value":""},{"disabled":false,"description":{"content":"Business name","type":"text/plain"},"key":"businessName","value":""}],"variable":[]},"header":[{"disabled":false,"description":{"content":"This header identifies the call, if not passed it is self-generated. This ID is returned in the response.","type":"text/plain"},"key":"X-Request-Id","value":"cupidatat mollit eiusmod et"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{},"auth":null},"response":[{"id":"05dc623c-ab65-42cc-8f6b-38cca4dfa8e1","name":"OK","originalRequest":{"url":{"path":["operative_tables"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"Tax code","type":"text/plain"},"key":"taxCode","value":""},{"disabled":false,"description":{"content":"Business name","type":"text/plain"},"key":"businessName","value":""}],"variable":[]},"header":[{"disabled":false,"description":{"content":"This header identifies the call, if not passed it is self-generated. This ID is returned in the response.","type":"text/plain"},"key":"X-Request-Id","value":"cupidatat mollit eiusmod et"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"},{"disabled":false,"description":{"content":"This header identifies the call","type":"text/plain"},"key":"X-Request-Id","value":"cupidatat mollit eiusmod et"}],"body":"{\n \"operativeTableList\": [\n {\n \"createdBy\": \"e\",\n \"email\": \"tempor occaecat\",\n \"modifiedAt\": \"1962-09-30T15:25:25.499Z\",\n \"modifiedBy\": \"eiusmod est\",\n \"name\": \"do aliqua ad\",\n \"referent\": \"est exercitation consectetur dolore\",\n \"taxCode\": \"in\",\n \"telephone\": \"qui\",\n \"createdAt\": \"1997-02-20T22:36:11.908Z\"\n },\n {\n \"createdBy\": \"Ut veniam dolor in\",\n \"email\": \"adipisicing\",\n \"modifiedAt\": \"2017-08-03T23:04:00.409Z\",\n \"modifiedBy\": \"nisi cillum\",\n \"name\": \"consectetur est deserunt\",\n \"referent\": \"irure occaecat ad\",\n \"taxCode\": \"Lorem reprehenderit\",\n \"telephone\": \"nostrud qui consequat deserunt eiusmod\",\n \"createdAt\": \"1955-10-05T04:59:59.171Z\"\n }\n ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"d58885c8-f9da-4580-a471-9486424754aa","name":"Bad Request","originalRequest":{"url":{"path":["operative_tables"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"Tax code","type":"text/plain"},"key":"taxCode","value":""},{"disabled":false,"description":{"content":"Business name","type":"text/plain"},"key":"businessName","value":""}],"variable":[]},"header":[{"disabled":false,"description":{"content":"This header identifies the call, if not passed it is self-generated. This ID is returned in the response.","type":"text/plain"},"key":"X-Request-Id","value":"cupidatat mollit eiusmod et"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"},{"disabled":false,"description":{"content":"This header identifies the call","type":"text/plain"},"key":"X-Request-Id","value":"cupidatat mollit eiusmod et"}],"body":"{\n \"detail\": \"There was an error processing the request\",\n \"status\": 200,\n \"title\": \"sit\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"1895e146-0ca7-47b0-ae54-69796802dcc7","name":"Unauthorized","originalRequest":{"url":{"path":["operative_tables"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"Tax code","type":"text/plain"},"key":"taxCode","value":""},{"disabled":false,"description":{"content":"Business name","type":"text/plain"},"key":"businessName","value":""}],"variable":[]},"header":[{"disabled":false,"description":{"content":"This header identifies the call, if not passed it is self-generated. This ID is returned in the response.","type":"text/plain"},"key":"X-Request-Id","value":"cupidatat mollit eiusmod et"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"disabled":false,"description":{"content":"This header identifies the call","type":"text/plain"},"key":"X-Request-Id","value":"cupidatat mollit eiusmod et"}],"cookie":[],"_postman_previewlanguage":"text"},{"id":"a0d0ac93-fede-4a0c-b00b-e6f19fd22ace","name":"Too many requests","originalRequest":{"url":{"path":["operative_tables"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"Tax code","type":"text/plain"},"key":"taxCode","value":""},{"disabled":false,"description":{"content":"Business name","type":"text/plain"},"key":"businessName","value":""}],"variable":[]},"header":[{"disabled":false,"description":{"content":"This header identifies the call, if not passed it is self-generated. This ID is returned in the response.","type":"text/plain"},"key":"X-Request-Id","value":"cupidatat mollit eiusmod et"}],"method":"GET","body":{}},"status":"Too Many Requests","code":429,"header":[{"disabled":false,"description":{"content":"This header identifies the call","type":"text/plain"},"key":"X-Request-Id","value":"cupidatat mollit eiusmod et"}],"cookie":[],"_postman_previewlanguage":"text"},{"id":"37c9a70c-0912-4a25-af15-d13dbc128670","name":"Service unavailable","originalRequest":{"url":{"path":["operative_tables"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"Tax code","type":"text/plain"},"key":"taxCode","value":""},{"disabled":false,"description":{"content":"Business name","type":"text/plain"},"key":"businessName","value":""}],"variable":[]},"header":[{"disabled":false,"description":{"content":"This header identifies the call, if not passed it is self-generated. This ID is returned in the response.","type":"text/plain"},"key":"X-Request-Id","value":"cupidatat mollit eiusmod et"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"},{"disabled":false,"description":{"content":"This header identifies the call","type":"text/plain"},"key":"X-Request-Id","value":"cupidatat mollit eiusmod et"}],"body":"{\n \"detail\": \"There was an error processing the request\",\n \"status\": 200,\n \"title\": \"sit\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}]},{"name":"station-maintenances","description":"","item":[{"id":"90f9284f-42b4-45ae-8b05-38dc48a2a0bc","name":"Get list of all stations' maintenance filtered by state","request":{"name":"Get list of all stations' maintenance filtered by state","description":{"content":"Internal | External | Synchronous | Authorization | Authentication | TPS | Idempotency | Stateless | Read/Write Intense | Cacheable\n-|-|-|-|-|-|-|-|-|-\nN | Y | Y | ApiKey | ApiKey | 1.0/sec | Y | Y | Read | N\n","type":"text/plain"},"url":{"path":["station-maintenances"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"Maintenances' state","type":"text/plain"},"key":"state","value":"SCHEDULED_AND_IN_PROGRESS"},{"disabled":false,"description":{"content":"Maintenance's starting year","type":"text/plain"},"key":"year","value":"-20981907"}],"variable":[]},"header":[{"disabled":false,"description":{"content":"This header identifies the call, if not passed it is self-generated. This ID is returned in the response.","type":"text/plain"},"key":"X-Request-Id","value":"cupidatat mollit eiusmod et"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{},"auth":null},"response":[{"id":"8e2fac52-f0d9-48aa-b44f-cfe8c29c6338","name":"Ok","originalRequest":{"url":{"path":["station-maintenances"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"Maintenances' state","type":"text/plain"},"key":"state","value":"SCHEDULED_AND_IN_PROGRESS"},{"disabled":false,"description":{"content":"Maintenance's starting year","type":"text/plain"},"key":"year","value":"-20981907"}],"variable":[]},"header":[{"disabled":false,"description":{"content":"This header identifies the call, if not passed it is self-generated. This ID is returned in the response.","type":"text/plain"},"key":"X-Request-Id","value":"cupidatat mollit eiusmod et"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"},{"disabled":false,"description":{"content":"This header identifies the call","type":"text/plain"},"key":"X-Request-Id","value":"cupidatat mollit eiusmod et"}],"body":"{\n \"page_info\": {\n \"limit\": -1981600,\n \"page\": -54131530,\n \"totalElements\": -14988529,\n \"totalPages\": -6503764\n },\n \"station_maintenance_list\": [\n {\n \"broker_code\": \"exercitation labor\",\n \"end_date_time\": \"2024-04-01T13:00:00+02:00\",\n \"maintenance_id\": 12726264,\n \"stand_in\": false,\n \"start_date_time\": \"2024-04-01T13:00:00+02:00\",\n \"station_code\": \"sunt quis Excepteur\"\n },\n {\n \"broker_code\": \"voluptate dolore nostrud ex\",\n \"end_date_time\": \"2024-04-01T13:00:00+02:00\",\n \"maintenance_id\": 34226151,\n \"stand_in\": false,\n \"start_date_time\": \"2024-04-01T13:00:00+02:00\",\n \"station_code\": \"cupidatat Excepteur deserunt do\"\n }\n ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"f8884940-6cb8-427b-a360-eab8c6686087","name":"Bad Request","originalRequest":{"url":{"path":["station-maintenances"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"Maintenances' state","type":"text/plain"},"key":"state","value":"SCHEDULED_AND_IN_PROGRESS"},{"disabled":false,"description":{"content":"Maintenance's starting year","type":"text/plain"},"key":"year","value":"-20981907"}],"variable":[]},"header":[{"disabled":false,"description":{"content":"This header identifies the call, if not passed it is self-generated. This ID is returned in the response.","type":"text/plain"},"key":"X-Request-Id","value":"cupidatat mollit eiusmod et"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"},{"disabled":false,"description":{"content":"This header identifies the call","type":"text/plain"},"key":"X-Request-Id","value":"cupidatat mollit eiusmod et"}],"body":"{\n \"detail\": \"There was an error processing the request\",\n \"status\": 200,\n \"title\": \"sit\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"441063dd-d16c-4987-91c9-20865d81185c","name":"Unauthorized","originalRequest":{"url":{"path":["station-maintenances"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"Maintenances' state","type":"text/plain"},"key":"state","value":"SCHEDULED_AND_IN_PROGRESS"},{"disabled":false,"description":{"content":"Maintenance's starting year","type":"text/plain"},"key":"year","value":"-20981907"}],"variable":[]},"header":[{"disabled":false,"description":{"content":"This header identifies the call, if not passed it is self-generated. This ID is returned in the response.","type":"text/plain"},"key":"X-Request-Id","value":"cupidatat mollit eiusmod et"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"disabled":false,"description":{"content":"This header identifies the call","type":"text/plain"},"key":"X-Request-Id","value":"cupidatat mollit eiusmod et"}],"cookie":[],"_postman_previewlanguage":"text"},{"id":"dfa20d30-1be8-4903-af74-fea429d4f15b","name":"Forbidden","originalRequest":{"url":{"path":["station-maintenances"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"Maintenances' state","type":"text/plain"},"key":"state","value":"SCHEDULED_AND_IN_PROGRESS"},{"disabled":false,"description":{"content":"Maintenance's starting year","type":"text/plain"},"key":"year","value":"-20981907"}],"variable":[]},"header":[{"disabled":false,"description":{"content":"This header identifies the call, if not passed it is self-generated. This ID is returned in the response.","type":"text/plain"},"key":"X-Request-Id","value":"cupidatat mollit eiusmod et"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"disabled":false,"description":{"content":"This header identifies the call","type":"text/plain"},"key":"X-Request-Id","value":"cupidatat mollit eiusmod et"}],"cookie":[],"_postman_previewlanguage":"text"},{"id":"87e15772-2379-4619-a127-8ef09a0edfd4","name":"Too many requests","originalRequest":{"url":{"path":["station-maintenances"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"Maintenances' state","type":"text/plain"},"key":"state","value":"SCHEDULED_AND_IN_PROGRESS"},{"disabled":false,"description":{"content":"Maintenance's starting year","type":"text/plain"},"key":"year","value":"-20981907"}],"variable":[]},"header":[{"disabled":false,"description":{"content":"This header identifies the call, if not passed it is self-generated. This ID is returned in the response.","type":"text/plain"},"key":"X-Request-Id","value":"cupidatat mollit eiusmod et"}],"method":"GET","body":{}},"status":"Too Many Requests","code":429,"header":[{"disabled":false,"description":{"content":"This header identifies the call","type":"text/plain"},"key":"X-Request-Id","value":"cupidatat mollit eiusmod et"}],"cookie":[],"_postman_previewlanguage":"text"},{"id":"894e3fbb-85fc-421d-b7f6-d615da0bd29f","name":"Service unavailable","originalRequest":{"url":{"path":["station-maintenances"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"Maintenances' state","type":"text/plain"},"key":"state","value":"SCHEDULED_AND_IN_PROGRESS"},{"disabled":false,"description":{"content":"Maintenance's starting year","type":"text/plain"},"key":"year","value":"-20981907"}],"variable":[]},"header":[{"disabled":false,"description":{"content":"This header identifies the call, if not passed it is self-generated. This ID is returned in the response.","type":"text/plain"},"key":"X-Request-Id","value":"cupidatat mollit eiusmod et"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"},{"disabled":false,"description":{"content":"This header identifies the call","type":"text/plain"},"key":"X-Request-Id","value":"cupidatat mollit eiusmod et"}],"body":"{\n \"detail\": \"There was an error processing the request\",\n \"status\": 200,\n \"title\": \"sit\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"name":"{broker-tax-code}","description":"","item":[{"id":"b4d0bc63-af96-40ac-a594-a26e7e92ee14","name":"Get a paginated list of station's maintenance for the specified broker","request":{"name":"Get a paginated list of station's maintenance for the specified broker","description":{"content":"Internal | External | Synchronous | Authorization | Authentication | TPS | Idempotency | Stateless | Read/Write Intense | Cacheable\n-|-|-|-|-|-|-|-|-|-\nN | Y | Y | ApiKey | ApiKey | 1.0/sec | Y | Y | Read | N\n","type":"text/plain"},"url":{"path":["station-maintenances",":broker-tax-code"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"Station's code","type":"text/plain"},"key":"station-code","value":"cupidatat mollit eiusmod et"},{"disabled":false,"description":{"content":"Maintenances' state","type":"text/plain"},"key":"state","value":"SCHEDULED"},{"disabled":false,"description":{"content":"Maintenance's starting year","type":"text/plain"},"key":"year","value":"-20981907"},{"disabled":false,"description":{"content":"Number of items for page","type":"text/plain"},"key":"limit","value":"50"},{"disabled":false,"description":{"content":"Page number","type":"text/plain"},"key":"page","value":"0"}],"variable":[{"type":"any","value":"cupidatat mollit eiusmod et","key":"broker-tax-code","disabled":false,"description":{"content":"(Required) Broker's tax code","type":"text/plain"}}]},"header":[{"disabled":false,"description":{"content":"This header identifies the call, if not passed it is self-generated. This ID is returned in the response.","type":"text/plain"},"key":"X-Request-Id","value":"cupidatat mollit eiusmod et"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{},"auth":null},"response":[{"id":"f6db6d4b-61a2-47fe-bf4f-701ceff176c8","name":"Ok","originalRequest":{"url":{"path":["station-maintenances",":broker-tax-code"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"Station's code","type":"text/plain"},"key":"station-code","value":"cupidatat mollit eiusmod et"},{"disabled":false,"description":{"content":"Maintenances' state","type":"text/plain"},"key":"state","value":"SCHEDULED"},{"disabled":false,"description":{"content":"Maintenance's starting year","type":"text/plain"},"key":"year","value":"-20981907"},{"disabled":false,"description":{"content":"Number of items for page","type":"text/plain"},"key":"limit","value":"50"},{"disabled":false,"description":{"content":"Page number","type":"text/plain"},"key":"page","value":"0"}],"variable":[]},"header":[{"disabled":false,"description":{"content":"This header identifies the call, if not passed it is self-generated. This ID is returned in the response.","type":"text/plain"},"key":"X-Request-Id","value":"cupidatat mollit eiusmod et"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"},{"disabled":false,"description":{"content":"This header identifies the call","type":"text/plain"},"key":"X-Request-Id","value":"cupidatat mollit eiusmod et"}],"body":"{\n \"page_info\": {\n \"limit\": -1981600,\n \"page\": -54131530,\n \"totalElements\": -14988529,\n \"totalPages\": -6503764\n },\n \"station_maintenance_list\": [\n {\n \"broker_code\": \"exercitation labor\",\n \"end_date_time\": \"2024-04-01T13:00:00+02:00\",\n \"maintenance_id\": 12726264,\n \"stand_in\": false,\n \"start_date_time\": \"2024-04-01T13:00:00+02:00\",\n \"station_code\": \"sunt quis Excepteur\"\n },\n {\n \"broker_code\": \"voluptate dolore nostrud ex\",\n \"end_date_time\": \"2024-04-01T13:00:00+02:00\",\n \"maintenance_id\": 34226151,\n \"stand_in\": false,\n \"start_date_time\": \"2024-04-01T13:00:00+02:00\",\n \"station_code\": \"cupidatat Excepteur deserunt do\"\n }\n ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"58add5d5-d487-458a-845f-998848e18ea0","name":"Bad Request","originalRequest":{"url":{"path":["station-maintenances",":broker-tax-code"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"Station's code","type":"text/plain"},"key":"station-code","value":"cupidatat mollit eiusmod et"},{"disabled":false,"description":{"content":"Maintenances' state","type":"text/plain"},"key":"state","value":"SCHEDULED"},{"disabled":false,"description":{"content":"Maintenance's starting year","type":"text/plain"},"key":"year","value":"-20981907"},{"disabled":false,"description":{"content":"Number of items for page","type":"text/plain"},"key":"limit","value":"50"},{"disabled":false,"description":{"content":"Page number","type":"text/plain"},"key":"page","value":"0"}],"variable":[]},"header":[{"disabled":false,"description":{"content":"This header identifies the call, if not passed it is self-generated. This ID is returned in the response.","type":"text/plain"},"key":"X-Request-Id","value":"cupidatat mollit eiusmod et"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"},{"disabled":false,"description":{"content":"This header identifies the call","type":"text/plain"},"key":"X-Request-Id","value":"cupidatat mollit eiusmod et"}],"body":"{\n \"detail\": \"There was an error processing the request\",\n \"status\": 200,\n \"title\": \"sit\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"8355df16-b2b4-4356-ad56-38521d59f9ec","name":"Unauthorized","originalRequest":{"url":{"path":["station-maintenances",":broker-tax-code"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"Station's code","type":"text/plain"},"key":"station-code","value":"cupidatat mollit eiusmod et"},{"disabled":false,"description":{"content":"Maintenances' state","type":"text/plain"},"key":"state","value":"SCHEDULED"},{"disabled":false,"description":{"content":"Maintenance's starting year","type":"text/plain"},"key":"year","value":"-20981907"},{"disabled":false,"description":{"content":"Number of items for page","type":"text/plain"},"key":"limit","value":"50"},{"disabled":false,"description":{"content":"Page number","type":"text/plain"},"key":"page","value":"0"}],"variable":[]},"header":[{"disabled":false,"description":{"content":"This header identifies the call, if not passed it is self-generated. This ID is returned in the response.","type":"text/plain"},"key":"X-Request-Id","value":"cupidatat mollit eiusmod et"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"disabled":false,"description":{"content":"This header identifies the call","type":"text/plain"},"key":"X-Request-Id","value":"cupidatat mollit eiusmod et"}],"cookie":[],"_postman_previewlanguage":"text"},{"id":"bea5fbfc-7434-453d-9de9-4f74d76eef00","name":"Forbidden","originalRequest":{"url":{"path":["station-maintenances",":broker-tax-code"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"Station's code","type":"text/plain"},"key":"station-code","value":"cupidatat mollit eiusmod et"},{"disabled":false,"description":{"content":"Maintenances' state","type":"text/plain"},"key":"state","value":"SCHEDULED"},{"disabled":false,"description":{"content":"Maintenance's starting year","type":"text/plain"},"key":"year","value":"-20981907"},{"disabled":false,"description":{"content":"Number of items for page","type":"text/plain"},"key":"limit","value":"50"},{"disabled":false,"description":{"content":"Page number","type":"text/plain"},"key":"page","value":"0"}],"variable":[]},"header":[{"disabled":false,"description":{"content":"This header identifies the call, if not passed it is self-generated. This ID is returned in the response.","type":"text/plain"},"key":"X-Request-Id","value":"cupidatat mollit eiusmod et"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"disabled":false,"description":{"content":"This header identifies the call","type":"text/plain"},"key":"X-Request-Id","value":"cupidatat mollit eiusmod et"}],"cookie":[],"_postman_previewlanguage":"text"},{"id":"981c16cb-83e6-4740-9f9d-1bf49b9aa3d4","name":"Too many requests","originalRequest":{"url":{"path":["station-maintenances",":broker-tax-code"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"Station's code","type":"text/plain"},"key":"station-code","value":"cupidatat mollit eiusmod et"},{"disabled":false,"description":{"content":"Maintenances' state","type":"text/plain"},"key":"state","value":"SCHEDULED"},{"disabled":false,"description":{"content":"Maintenance's starting year","type":"text/plain"},"key":"year","value":"-20981907"},{"disabled":false,"description":{"content":"Number of items for page","type":"text/plain"},"key":"limit","value":"50"},{"disabled":false,"description":{"content":"Page number","type":"text/plain"},"key":"page","value":"0"}],"variable":[]},"header":[{"disabled":false,"description":{"content":"This header identifies the call, if not passed it is self-generated. This ID is returned in the response.","type":"text/plain"},"key":"X-Request-Id","value":"cupidatat mollit eiusmod et"}],"method":"GET","body":{}},"status":"Too Many Requests","code":429,"header":[{"disabled":false,"description":{"content":"This header identifies the call","type":"text/plain"},"key":"X-Request-Id","value":"cupidatat mollit eiusmod et"}],"cookie":[],"_postman_previewlanguage":"text"},{"id":"b6c00d9d-e286-499b-9489-a9cf954b3f9b","name":"Service unavailable","originalRequest":{"url":{"path":["station-maintenances",":broker-tax-code"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"Station's code","type":"text/plain"},"key":"station-code","value":"cupidatat mollit eiusmod et"},{"disabled":false,"description":{"content":"Maintenances' state","type":"text/plain"},"key":"state","value":"SCHEDULED"},{"disabled":false,"description":{"content":"Maintenance's starting year","type":"text/plain"},"key":"year","value":"-20981907"},{"disabled":false,"description":{"content":"Number of items for page","type":"text/plain"},"key":"limit","value":"50"},{"disabled":false,"description":{"content":"Page number","type":"text/plain"},"key":"page","value":"0"}],"variable":[]},"header":[{"disabled":false,"description":{"content":"This header identifies the call, if not passed it is self-generated. This ID is returned in the response.","type":"text/plain"},"key":"X-Request-Id","value":"cupidatat mollit eiusmod et"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"},{"disabled":false,"description":{"content":"This header identifies the call","type":"text/plain"},"key":"X-Request-Id","value":"cupidatat mollit eiusmod et"}],"body":"{\n \"detail\": \"There was an error processing the request\",\n \"status\": 200,\n \"title\": \"sit\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"name":"maintenance","description":"","item":[{"name":"{maintenance-id}","description":"","item":[{"id":"e81c1232-0043-4bb0-a9a2-5361b8b09fb7","name":"Get a maintenance for the specified station, given its broker code and maintenance id","request":{"name":"Get a maintenance for the specified station, given its broker code and maintenance id","description":{"content":"Internal | External | Synchronous | Authorization | Authentication | TPS | Idempotency | Stateless | Read/Write Intense | Cacheable\n-|-|-|-|-|-|-|-|-|-\nN | Y | Y | ApiKey | ApiKey | 1.0/sec | Y | Y | Write | N\n","type":"text/plain"},"url":{"path":["station-maintenances",":broker-tax-code","maintenance",":maintenance-id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"type":"any","value":"cupidatat mollit eiusmod et","key":"broker-tax-code","disabled":false,"description":{"content":"(Required) Broker's tax code","type":"text/plain"}},{"type":"any","value":"-82947474","key":"maintenance-id","disabled":false,"description":{"content":"(Required) Maintenance's id","type":"text/plain"}}]},"header":[{"disabled":false,"description":{"content":"This header identifies the call, if not passed it is self-generated. This ID is returned in the response.","type":"text/plain"},"key":"X-Request-Id","value":"cupidatat mollit eiusmod et"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{},"auth":null},"response":[{"id":"820ae7b4-2eac-46c7-afc2-c8e135c8433e","name":"Created","originalRequest":{"url":{"path":["station-maintenances",":broker-tax-code","maintenance",":maintenance-id"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"disabled":false,"description":{"content":"This header identifies the call, if not passed it is self-generated. This ID is returned in the response.","type":"text/plain"},"key":"X-Request-Id","value":"cupidatat mollit eiusmod et"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"},{"disabled":false,"description":{"content":"This header identifies the call","type":"text/plain"},"key":"X-Request-Id","value":"cupidatat mollit eiusmod et"}],"body":"{\n \"broker_code\": \"reprehenderit ut commodo\",\n \"end_date_time\": \"2024-04-01T13:00:00+02:00\",\n \"maintenance_id\": -82452861,\n \"stand_in\": false,\n \"start_date_time\": \"2024-04-01T13:00:00+02:00\",\n \"station_code\": \"amet sint aliquip\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"10db4600-639c-40e0-8700-cc93ef4face0","name":"Bad Request","originalRequest":{"url":{"path":["station-maintenances",":broker-tax-code","maintenance",":maintenance-id"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"disabled":false,"description":{"content":"This header identifies the call, if not passed it is self-generated. This ID is returned in the response.","type":"text/plain"},"key":"X-Request-Id","value":"cupidatat mollit eiusmod et"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"},{"disabled":false,"description":{"content":"This header identifies the call","type":"text/plain"},"key":"X-Request-Id","value":"cupidatat mollit eiusmod et"}],"body":"{\n \"detail\": \"There was an error processing the request\",\n \"status\": 200,\n \"title\": \"sit\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"7c4526b3-e194-44c7-81fd-439a1fc81c2b","name":"Unauthorized","originalRequest":{"url":{"path":["station-maintenances",":broker-tax-code","maintenance",":maintenance-id"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"disabled":false,"description":{"content":"This header identifies the call, if not passed it is self-generated. This ID is returned in the response.","type":"text/plain"},"key":"X-Request-Id","value":"cupidatat mollit eiusmod et"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"disabled":false,"description":{"content":"This header identifies the call","type":"text/plain"},"key":"X-Request-Id","value":"cupidatat mollit eiusmod et"}],"cookie":[],"_postman_previewlanguage":"text"},{"id":"9cdf9a02-f651-4fd6-ba79-49c6fbbf9a2e","name":"Forbidden","originalRequest":{"url":{"path":["station-maintenances",":broker-tax-code","maintenance",":maintenance-id"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"disabled":false,"description":{"content":"This header identifies the call, if not passed it is self-generated. This ID is returned in the response.","type":"text/plain"},"key":"X-Request-Id","value":"cupidatat mollit eiusmod et"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"disabled":false,"description":{"content":"This header identifies the call","type":"text/plain"},"key":"X-Request-Id","value":"cupidatat mollit eiusmod et"}],"cookie":[],"_postman_previewlanguage":"text"},{"id":"799cb15f-e5f4-439b-9f22-a6096cd9082e","name":"Conflict","originalRequest":{"url":{"path":["station-maintenances",":broker-tax-code","maintenance",":maintenance-id"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"disabled":false,"description":{"content":"This header identifies the call, if not passed it is self-generated. This ID is returned in the response.","type":"text/plain"},"key":"X-Request-Id","value":"cupidatat mollit eiusmod et"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"},{"disabled":false,"description":{"content":"This header identifies the call","type":"text/plain"},"key":"X-Request-Id","value":"cupidatat mollit eiusmod et"}],"body":"{\n \"detail\": \"There was an error processing the request\",\n \"status\": 200,\n \"title\": \"sit\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"d4548c65-2a39-4456-9981-0d98f176f6b7","name":"Too many requests","originalRequest":{"url":{"path":["station-maintenances",":broker-tax-code","maintenance",":maintenance-id"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"disabled":false,"description":{"content":"This header identifies the call, if not passed it is self-generated. This ID is returned in the response.","type":"text/plain"},"key":"X-Request-Id","value":"cupidatat mollit eiusmod et"}],"method":"GET","body":{}},"status":"Too Many Requests","code":429,"header":[{"disabled":false,"description":{"content":"This header identifies the call","type":"text/plain"},"key":"X-Request-Id","value":"cupidatat mollit eiusmod et"}],"cookie":[],"_postman_previewlanguage":"text"},{"id":"fc8ad48a-c165-4f75-8383-4fadff471232","name":"Service unavailable","originalRequest":{"url":{"path":["station-maintenances",":broker-tax-code","maintenance",":maintenance-id"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"disabled":false,"description":{"content":"This header identifies the call, if not passed it is self-generated. This ID is returned in the response.","type":"text/plain"},"key":"X-Request-Id","value":"cupidatat mollit eiusmod et"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"},{"disabled":false,"description":{"content":"This header identifies the call","type":"text/plain"},"key":"X-Request-Id","value":"cupidatat mollit eiusmod et"}],"body":"{\n \"detail\": \"There was an error processing the request\",\n \"status\": 200,\n \"title\": \"sit\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}]}]},{"name":"summary","description":"","item":[{"id":"cefef199-cc0a-4ee4-ba20-65aa2a126d3f","name":"Get the hours' summary of stations' maintenance for the specified broker","request":{"name":"Get the hours' summary of stations' maintenance for the specified broker","description":{"content":"Internal | External | Synchronous | Authorization | Authentication | TPS | Idempotency | Stateless | Read/Write Intense | Cacheable\n-|-|-|-|-|-|-|-|-|-\nN | Y | Y | ApiKey | ApiKey | 1.0/sec | Y | Y | Read | N\n","type":"text/plain"},"url":{"path":["station-maintenances",":broker-tax-code","summary"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"(Required) Year of maintenance (yyyy)","type":"text/plain"},"key":"maintenance-year","value":"2024"}],"variable":[{"type":"any","value":"cupidatat mollit eiusmod et","key":"broker-tax-code","disabled":false,"description":{"content":"(Required) Broker's tax code","type":"text/plain"}}]},"header":[{"disabled":false,"description":{"content":"This header identifies the call, if not passed it is self-generated. This ID is returned in the response.","type":"text/plain"},"key":"X-Request-Id","value":"cupidatat mollit eiusmod et"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{},"auth":null},"response":[{"id":"337baf96-962e-49f1-9c53-ed67df1a611a","name":"OK","originalRequest":{"url":{"path":["station-maintenances",":broker-tax-code","summary"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"(Required) Year of maintenance (yyyy)","type":"text/plain"},"key":"maintenance-year","value":"2024"}],"variable":[]},"header":[{"disabled":false,"description":{"content":"This header identifies the call, if not passed it is self-generated. This ID is returned in the response.","type":"text/plain"},"key":"X-Request-Id","value":"cupidatat mollit eiusmod et"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"},{"disabled":false,"description":{"content":"This header identifies the call","type":"text/plain"},"key":"X-Request-Id","value":"cupidatat mollit eiusmod et"}],"body":"{\n \"annual_hours_limit\": \"30:15\",\n \"extra_hours\": \"30:15\",\n \"remaining_hours\": \"30:15\",\n \"scheduled_hours\": \"30:15\",\n \"used_hours\": \"30:15\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"00888201-3f2f-487c-9395-74e6370eacbe","name":"Bad Request","originalRequest":{"url":{"path":["station-maintenances",":broker-tax-code","summary"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"(Required) Year of maintenance (yyyy)","type":"text/plain"},"key":"maintenance-year","value":"2024"}],"variable":[]},"header":[{"disabled":false,"description":{"content":"This header identifies the call, if not passed it is self-generated. This ID is returned in the response.","type":"text/plain"},"key":"X-Request-Id","value":"cupidatat mollit eiusmod et"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"},{"disabled":false,"description":{"content":"This header identifies the call","type":"text/plain"},"key":"X-Request-Id","value":"cupidatat mollit eiusmod et"}],"body":"{\n \"detail\": \"There was an error processing the request\",\n \"status\": 200,\n \"title\": \"sit\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"56b576b1-136b-4092-99a8-eee671e33533","name":"Unauthorized","originalRequest":{"url":{"path":["station-maintenances",":broker-tax-code","summary"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"(Required) Year of maintenance (yyyy)","type":"text/plain"},"key":"maintenance-year","value":"2024"}],"variable":[]},"header":[{"disabled":false,"description":{"content":"This header identifies the call, if not passed it is self-generated. This ID is returned in the response.","type":"text/plain"},"key":"X-Request-Id","value":"cupidatat mollit eiusmod et"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"disabled":false,"description":{"content":"This header identifies the call","type":"text/plain"},"key":"X-Request-Id","value":"cupidatat mollit eiusmod et"}],"cookie":[],"_postman_previewlanguage":"text"},{"id":"65feca33-3f29-4a3a-b036-555a17621f8a","name":"Forbidden","originalRequest":{"url":{"path":["station-maintenances",":broker-tax-code","summary"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"(Required) Year of maintenance (yyyy)","type":"text/plain"},"key":"maintenance-year","value":"2024"}],"variable":[]},"header":[{"disabled":false,"description":{"content":"This header identifies the call, if not passed it is self-generated. This ID is returned in the response.","type":"text/plain"},"key":"X-Request-Id","value":"cupidatat mollit eiusmod et"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"disabled":false,"description":{"content":"This header identifies the call","type":"text/plain"},"key":"X-Request-Id","value":"cupidatat mollit eiusmod et"}],"cookie":[],"_postman_previewlanguage":"text"},{"id":"4b0054e1-6f75-4bc3-8e26-fa8cf5a853eb","name":"Not Found","originalRequest":{"url":{"path":["station-maintenances",":broker-tax-code","summary"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"(Required) Year of maintenance (yyyy)","type":"text/plain"},"key":"maintenance-year","value":"2024"}],"variable":[]},"header":[{"disabled":false,"description":{"content":"This header identifies the call, if not passed it is self-generated. This ID is returned in the response.","type":"text/plain"},"key":"X-Request-Id","value":"cupidatat mollit eiusmod et"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"},{"disabled":false,"description":{"content":"This header identifies the call","type":"text/plain"},"key":"X-Request-Id","value":"cupidatat mollit eiusmod et"}],"body":"{\n \"detail\": \"There was an error processing the request\",\n \"status\": 200,\n \"title\": \"sit\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"9409da9d-b524-45c7-ab5e-70a4afac6bee","name":"Too many requests","originalRequest":{"url":{"path":["station-maintenances",":broker-tax-code","summary"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"(Required) Year of maintenance (yyyy)","type":"text/plain"},"key":"maintenance-year","value":"2024"}],"variable":[]},"header":[{"disabled":false,"description":{"content":"This header identifies the call, if not passed it is self-generated. This ID is returned in the response.","type":"text/plain"},"key":"X-Request-Id","value":"cupidatat mollit eiusmod et"}],"method":"GET","body":{}},"status":"Too Many Requests","code":429,"header":[{"disabled":false,"description":{"content":"This header identifies the call","type":"text/plain"},"key":"X-Request-Id","value":"cupidatat mollit eiusmod et"}],"cookie":[],"_postman_previewlanguage":"text"},{"id":"45366e48-982b-44fa-9fa1-ee53a63cd444","name":"Service unavailable","originalRequest":{"url":{"path":["station-maintenances",":broker-tax-code","summary"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"(Required) Year of maintenance (yyyy)","type":"text/plain"},"key":"maintenance-year","value":"2024"}],"variable":[]},"header":[{"disabled":false,"description":{"content":"This header identifies the call, if not passed it is self-generated. This ID is returned in the response.","type":"text/plain"},"key":"X-Request-Id","value":"cupidatat mollit eiusmod et"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"},{"disabled":false,"description":{"content":"This header identifies the call","type":"text/plain"},"key":"X-Request-Id","value":"cupidatat mollit eiusmod et"}],"body":"{\n \"detail\": \"There was an error processing the request\",\n \"status\": 200,\n \"title\": \"sit\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}]}]}]}],"event":[],"variable":[{"key":"baseUrl","value":"http://localhost:8080"}],"info":{"_postman_id":"2092cb86-6ffc-472b-b7bf-9916a250386d","name":"Backoffice External","schema":"https://schema.getpostman.com/json/collection/v2.1.0/collection.json","description":{"content":"Microservice to expose REST API to contact PagoPA Backoffice","type":"text/plain"}}} \ No newline at end of file From e805ef41460606687b64cde9677cf3bd8eb73ae3 Mon Sep 17 00:00:00 2001 From: svariant Date: Thu, 17 Oct 2024 12:34:14 +0200 Subject: [PATCH 3/8] [PPANTT-142] fix: Unit tests --- .../impl/StationMaintenanceServiceImplTest.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/test/java/it/pagopa/selfcare/pagopa/service/impl/StationMaintenanceServiceImplTest.java b/src/test/java/it/pagopa/selfcare/pagopa/service/impl/StationMaintenanceServiceImplTest.java index 2ed40d4..787236a 100644 --- a/src/test/java/it/pagopa/selfcare/pagopa/service/impl/StationMaintenanceServiceImplTest.java +++ b/src/test/java/it/pagopa/selfcare/pagopa/service/impl/StationMaintenanceServiceImplTest.java @@ -209,7 +209,7 @@ void getAllStationsMaintenancesFINISHEDWithYearFilterSuccess() { assertNotNull(result); - verify(apiConfigClient).getStationMaintenances(anyString(), anyString(), any(OffsetDateTime.class), any(OffsetDateTime.class), any(OffsetDateTime.class), eq(null), anyInt(), anyInt()); + verify(apiConfigClient).getAllStationsMaintenances(any(OffsetDateTime.class), any(OffsetDateTime.class), any(OffsetDateTime.class), eq(null)); } @Test @@ -227,8 +227,8 @@ void getAllStationsMaintenancesIN_PROGRESSWithoutYearFilterSuccess() { assertNotNull(result); - verify(apiConfigClient).getStationMaintenances(anyString(), anyString(), any(OffsetDateTime.class), eq(null), eq(null), any(OffsetDateTime.class), anyInt(), anyInt()); - } + verify(apiConfigClient).getAllStationsMaintenances(any(OffsetDateTime.class), eq(null), eq(null), any(OffsetDateTime.class)); +} @Test void getAllStationsMaintenancesIN_PROGRESSWithYearFilterSuccess() { @@ -245,7 +245,7 @@ void getAllStationsMaintenancesIN_PROGRESSWithYearFilterSuccess() { assertNotNull(result); - verify(apiConfigClient).getStationMaintenances(anyString(), anyString(), any(OffsetDateTime.class), any(OffsetDateTime.class), eq(null), any(OffsetDateTime.class), anyInt(), anyInt()); + verify(apiConfigClient).getAllStationsMaintenances(any(OffsetDateTime.class), any(OffsetDateTime.class), eq(null), any(OffsetDateTime.class)); } @Test @@ -263,7 +263,7 @@ void getAllStationsMaintenancesSCHEDULEDWithoutYearFilterSuccess() { assertNotNull(result); - verify(apiConfigClient).getStationMaintenances(anyString(), anyString(), eq(null), any(OffsetDateTime.class), eq(null), eq(null), anyInt(), anyInt()); + verify(apiConfigClient).getAllStationsMaintenances(eq(null), any(OffsetDateTime.class), eq(null), eq(null)); } @Test @@ -281,7 +281,7 @@ void getAllStationsMaintenancesSCHEDULEDWithYearFilterSuccess() { assertNotNull(result); - verify(apiConfigClient).getStationMaintenances(anyString(), anyString(), any(OffsetDateTime.class), any(OffsetDateTime.class), eq(null), eq(null), anyInt(), anyInt()); + verify(apiConfigClient).getAllStationsMaintenances(any(OffsetDateTime.class), any(OffsetDateTime.class), eq(null), eq(null)); } @Test @@ -299,7 +299,7 @@ void getAllStationsMaintenancesSCHEDULED_AND_IN_PROGRESSWithoutYearFilterSuccess assertNotNull(result); - verify(apiConfigClient).getStationMaintenances(anyString(), anyString(), eq(null), eq(null), eq(null), any(OffsetDateTime.class), anyInt(), anyInt()); + verify(apiConfigClient).getAllStationsMaintenances(eq(null), eq(null), eq(null), any(OffsetDateTime.class)); } From 431fa3a3fab5d791a3317e3e5a7638ee359dc8e4 Mon Sep 17 00:00:00 2001 From: svariant Date: Thu, 17 Oct 2024 12:51:34 +0200 Subject: [PATCH 4/8] [PPANTT-142] fix: Duplicate code --- .../StationMaintenanceController.java | 8 ++- .../service/StationMaintenanceService.java | 14 +---- .../impl/StationMaintenanceServiceImpl.java | 57 ++++--------------- .../StationMaintenanceControllerTest.java | 2 +- .../StationMaintenanceServiceImplTest.java | 34 +++++------ 5 files changed, 37 insertions(+), 78 deletions(-) diff --git a/src/main/java/it/pagopa/selfcare/pagopa/controller/StationMaintenanceController.java b/src/main/java/it/pagopa/selfcare/pagopa/controller/StationMaintenanceController.java index b62cd4a..a8be6d6 100644 --- a/src/main/java/it/pagopa/selfcare/pagopa/controller/StationMaintenanceController.java +++ b/src/main/java/it/pagopa/selfcare/pagopa/controller/StationMaintenanceController.java @@ -53,9 +53,13 @@ public StationMaintenanceListResource getAllStationsMaintenances( @Parameter(description = "Maintenances' state") @RequestParam(required = false, defaultValue = "SCHEDULED_AND_IN_PROGRESS") StationMaintenanceListState state, @Parameter(description = "Maintenance's starting year") @RequestParam(required = false) Integer year ) { - return this.stationMaintenanceService.getAllStationsMaintenances( + return this.stationMaintenanceService.getStationMaintenances( + null, + null, state, - year + year, + null, + null ); } diff --git a/src/main/java/it/pagopa/selfcare/pagopa/service/StationMaintenanceService.java b/src/main/java/it/pagopa/selfcare/pagopa/service/StationMaintenanceService.java index 5a26659..0e64d9c 100644 --- a/src/main/java/it/pagopa/selfcare/pagopa/service/StationMaintenanceService.java +++ b/src/main/java/it/pagopa/selfcare/pagopa/service/StationMaintenanceService.java @@ -5,7 +5,7 @@ public interface StationMaintenanceService { /** - * Retrieves the list of station's maintenance of the specified broker that match the provided filters + * Retrieves the list of stations' maintenances that match the provided filters * * @param brokerCode broker's tax code * @param stationCode station's code, used to filter out results @@ -24,18 +24,6 @@ StationMaintenanceListResource getStationMaintenances( Integer page ); - /** - * Retrieves the list of all stations' maintenance that match the provided filters - * - * @param state state of the maintenance (based on start and end date), used to filter out results - * @param year year of the maintenance, used to filter out results - * @return the filtered list of station's maintenance - */ - StationMaintenanceListResource getAllStationsMaintenances( - StationMaintenanceListState state, - Integer year - ); - /** * Retrieves broker related station maintenance summary for the provided year * diff --git a/src/main/java/it/pagopa/selfcare/pagopa/service/impl/StationMaintenanceServiceImpl.java b/src/main/java/it/pagopa/selfcare/pagopa/service/impl/StationMaintenanceServiceImpl.java index 4b22226..042eb95 100644 --- a/src/main/java/it/pagopa/selfcare/pagopa/service/impl/StationMaintenanceServiceImpl.java +++ b/src/main/java/it/pagopa/selfcare/pagopa/service/impl/StationMaintenanceServiceImpl.java @@ -61,51 +61,17 @@ public StationMaintenanceListResource getStationMaintenances( startDateTimeAfter = startDateTimeAfter != null ? startDateTimeAfter.withYear(year) : getStartOfYear(year); } - return this.apiConfigClient.getStationMaintenances( - brokerCode, - stationCode, - startDateTimeBefore, - startDateTimeAfter, - endDateTimeBefore, - endDateTimeAfter, - limit, - page - ); - } - - /** - * @inheritDoc - */ - @Override - public StationMaintenanceListResource getAllStationsMaintenances( - StationMaintenanceListState state, - Integer year - ) { - OffsetDateTime startDateTimeBefore = null; - OffsetDateTime startDateTimeAfter = null; - OffsetDateTime endDateTimeBefore = null; - OffsetDateTime endDateTimeAfter = null; - - if (state != null) { - if (state.equals(StationMaintenanceListState.FINISHED)) { - endDateTimeBefore = getDateToday(); - } - if (state.equals(StationMaintenanceListState.SCHEDULED_AND_IN_PROGRESS)) { - endDateTimeAfter = getDateToday(); - } - if (state.equals(StationMaintenanceListState.SCHEDULED)) { - startDateTimeAfter = getDateToday(); - } - if (state.equals(StationMaintenanceListState.IN_PROGRESS)) { - startDateTimeBefore = getDateToday(); - endDateTimeAfter = getDateToday(); - } - } - - if (year != null - ) { - startDateTimeBefore = startDateTimeBefore != null ? startDateTimeBefore.withYear(year) : getEndOfYear(year); - startDateTimeAfter = startDateTimeAfter != null ? startDateTimeAfter.withYear(year) : getStartOfYear(year); + if(brokerCode != null){ + return this.apiConfigClient.getStationMaintenances( + brokerCode, + stationCode, + startDateTimeBefore, + startDateTimeAfter, + endDateTimeBefore, + endDateTimeAfter, + limit, + page + ); } return this.apiConfigClient.getAllStationsMaintenances( @@ -116,6 +82,7 @@ public StationMaintenanceListResource getAllStationsMaintenances( ); } + /** * @inheritDoc */ diff --git a/src/test/java/it/pagopa/selfcare/pagopa/controller/StationMaintenanceControllerTest.java b/src/test/java/it/pagopa/selfcare/pagopa/controller/StationMaintenanceControllerTest.java index 736a69e..9b242d6 100644 --- a/src/test/java/it/pagopa/selfcare/pagopa/controller/StationMaintenanceControllerTest.java +++ b/src/test/java/it/pagopa/selfcare/pagopa/controller/StationMaintenanceControllerTest.java @@ -82,7 +82,7 @@ void getAllStationsMaintenances() throws Exception { StationMaintenanceListResource response = new StationMaintenanceListResource(); response.setMaintenanceList(Collections.singletonList(maintenanceResource)); response.setPageInfo(new PageInfo()); - when(stationMaintenanceService.getAllStationsMaintenances(any(StationMaintenanceListState.class), anyInt())).thenReturn(response); + when(stationMaintenanceService.getStationMaintenances(eq(null), eq(null), any(StationMaintenanceListState.class), anyInt(), eq(null), eq(null))).thenReturn(response); mvc.perform(get("/station-maintenances") .param("state", String.valueOf(StationMaintenanceListState.SCHEDULED_AND_IN_PROGRESS)) diff --git a/src/test/java/it/pagopa/selfcare/pagopa/service/impl/StationMaintenanceServiceImplTest.java b/src/test/java/it/pagopa/selfcare/pagopa/service/impl/StationMaintenanceServiceImplTest.java index 787236a..21d1d11 100644 --- a/src/test/java/it/pagopa/selfcare/pagopa/service/impl/StationMaintenanceServiceImplTest.java +++ b/src/test/java/it/pagopa/selfcare/pagopa/service/impl/StationMaintenanceServiceImplTest.java @@ -185,8 +185,8 @@ void getAllStationsMaintenancesFINISHEDWithoutYearFilterSuccess() { when(apiConfigClient.getAllStationsMaintenances(any(), any(), any(), any())).thenReturn(response); - StationMaintenanceListResource result = assertDoesNotThrow(() -> stationMaintenanceService.getAllStationsMaintenances( - StationMaintenanceListState.FINISHED, null) + StationMaintenanceListResource result = assertDoesNotThrow(() -> stationMaintenanceService.getStationMaintenances( + eq(null), eq(null), StationMaintenanceListState.FINISHED, null, eq(null), eq(null)) ); assertNotNull(result); @@ -203,8 +203,8 @@ void getAllStationsMaintenancesFINISHEDWithYearFilterSuccess() { when(apiConfigClient.getAllStationsMaintenances(any(), any(), any(), any())).thenReturn(response); - StationMaintenanceListResource result = assertDoesNotThrow(() -> stationMaintenanceService.getAllStationsMaintenances( - StationMaintenanceListState.FINISHED, YEAR_FILTER) + StationMaintenanceListResource result = assertDoesNotThrow(() -> stationMaintenanceService.getStationMaintenances( + eq(null), eq(null), StationMaintenanceListState.FINISHED, YEAR_FILTER, eq(null), eq(null)) ); assertNotNull(result); @@ -221,14 +221,14 @@ void getAllStationsMaintenancesIN_PROGRESSWithoutYearFilterSuccess() { when(apiConfigClient.getAllStationsMaintenances(any(), any(), any(), any())).thenReturn(response); - StationMaintenanceListResource result = assertDoesNotThrow(() -> stationMaintenanceService.getAllStationsMaintenances( - StationMaintenanceListState.IN_PROGRESS, null) + StationMaintenanceListResource result = assertDoesNotThrow(() -> stationMaintenanceService.getStationMaintenances( + eq(null), eq(null), StationMaintenanceListState.IN_PROGRESS, null, eq(null), eq(null)) ); assertNotNull(result); verify(apiConfigClient).getAllStationsMaintenances(any(OffsetDateTime.class), eq(null), eq(null), any(OffsetDateTime.class)); -} + } @Test void getAllStationsMaintenancesIN_PROGRESSWithYearFilterSuccess() { @@ -239,8 +239,8 @@ void getAllStationsMaintenancesIN_PROGRESSWithYearFilterSuccess() { when(apiConfigClient.getAllStationsMaintenances(any(), any(), any(), any())).thenReturn(response); - StationMaintenanceListResource result = assertDoesNotThrow(() -> stationMaintenanceService.getAllStationsMaintenances( - StationMaintenanceListState.IN_PROGRESS, YEAR_FILTER) + StationMaintenanceListResource result = assertDoesNotThrow(() -> stationMaintenanceService.getStationMaintenances( + eq(null), eq(null), StationMaintenanceListState.IN_PROGRESS, YEAR_FILTER, eq(null), eq(null)) ); assertNotNull(result); @@ -257,8 +257,8 @@ void getAllStationsMaintenancesSCHEDULEDWithoutYearFilterSuccess() { when(apiConfigClient.getAllStationsMaintenances(any(), any(), any(), any())).thenReturn(response); - StationMaintenanceListResource result = assertDoesNotThrow(() -> stationMaintenanceService.getAllStationsMaintenances( - StationMaintenanceListState.SCHEDULED, null) + StationMaintenanceListResource result = assertDoesNotThrow(() -> stationMaintenanceService.getStationMaintenances( + eq(null), eq(null), StationMaintenanceListState.SCHEDULED, null, eq(null), eq(null)) ); assertNotNull(result); @@ -275,8 +275,8 @@ void getAllStationsMaintenancesSCHEDULEDWithYearFilterSuccess() { when(apiConfigClient.getAllStationsMaintenances(any(), any(), any(), any())).thenReturn(response); - StationMaintenanceListResource result = assertDoesNotThrow(() -> stationMaintenanceService.getAllStationsMaintenances( - StationMaintenanceListState.SCHEDULED, YEAR_FILTER) + StationMaintenanceListResource result = assertDoesNotThrow(() -> stationMaintenanceService.getStationMaintenances( + eq(null), eq(null), StationMaintenanceListState.SCHEDULED, YEAR_FILTER, eq(null), eq(null)) ); assertNotNull(result); @@ -293,8 +293,8 @@ void getAllStationsMaintenancesSCHEDULED_AND_IN_PROGRESSWithoutYearFilterSuccess when(apiConfigClient.getAllStationsMaintenances(any(), any(), any(), any())).thenReturn(response); - StationMaintenanceListResource result = assertDoesNotThrow(() -> stationMaintenanceService.getAllStationsMaintenances( - StationMaintenanceListState.SCHEDULED_AND_IN_PROGRESS, null) + StationMaintenanceListResource result = assertDoesNotThrow(() -> stationMaintenanceService.getStationMaintenances( + eq(null), eq(null), StationMaintenanceListState.SCHEDULED_AND_IN_PROGRESS, null, eq(null), eq(null)) ); assertNotNull(result); @@ -312,8 +312,8 @@ void getAllStationsMaintenancesSCHEDULED_AND_IN_PROGRESSWithYearFilterSuccess() when(apiConfigClient.getAllStationsMaintenances(any(), any(), any(), any())).thenReturn(response); - StationMaintenanceListResource result = assertDoesNotThrow(() -> stationMaintenanceService.getAllStationsMaintenances( - StationMaintenanceListState.SCHEDULED_AND_IN_PROGRESS, YEAR_FILTER) + StationMaintenanceListResource result = assertDoesNotThrow(() -> stationMaintenanceService.getStationMaintenances( + eq(null), eq(null), StationMaintenanceListState.SCHEDULED_AND_IN_PROGRESS, YEAR_FILTER, eq(null), eq(null)) ); assertNotNull(result); From 632df6ba94805b770f680bb4af1e6a7f7f36b407 Mon Sep 17 00:00:00 2001 From: pagopa-github-bot Date: Thu, 17 Oct 2024 13:50:05 +0000 Subject: [PATCH 5/8] Bump to version 1.6.0-1-PPANTT-142-get-all-maintenances [skip ci] --- helm/Chart.yaml | 4 ++-- helm/values-dev.yaml | 2 +- helm/values-prod.yaml | 2 +- helm/values-uat.yaml | 2 +- openapi/openapi.json | 4 ++-- openapi/openapi_backoffice_external_ec.json | 4 ++-- openapi/openapi_backoffice_external_psp.json | 4 ++-- openapi/openapi_backoffice_helpdesk.json | 4 ++-- pom.xml | 2 +- 9 files changed, 14 insertions(+), 14 deletions(-) diff --git a/helm/Chart.yaml b/helm/Chart.yaml index 3504103..3f4fb0e 100644 --- a/helm/Chart.yaml +++ b/helm/Chart.yaml @@ -2,8 +2,8 @@ apiVersion: v2 name: pagopa-afm-calculator description: Microservice that handles calculation for pagoPA Advanced Fees Management type: application -version: 0.43.0 -appVersion: 1.6.0 +version: 0.44.0 +appVersion: 1.6.0-1-PPANTT-142-get-all-maintenances dependencies: - name: microservice-chart version: 2.8.0 diff --git a/helm/values-dev.yaml b/helm/values-dev.yaml index 7ed563d..17ffb1d 100644 --- a/helm/values-dev.yaml +++ b/helm/values-dev.yaml @@ -4,7 +4,7 @@ microservice-chart: fullnameOverride: "backoffice-external" image: repository: ghcr.io/pagopa/pagopa-backoffice-external - tag: "1.6.0" + tag: "1.6.0-1-PPANTT-142-get-all-maintenances" pullPolicy: Always livenessProbe: httpGet: diff --git a/helm/values-prod.yaml b/helm/values-prod.yaml index 0fdefe5..e5c0acb 100644 --- a/helm/values-prod.yaml +++ b/helm/values-prod.yaml @@ -4,7 +4,7 @@ microservice-chart: fullnameOverride: "backoffice-external" image: repository: ghcr.io/pagopa/pagopa-backoffice-external - tag: "1.6.0" + tag: "1.6.0-1-PPANTT-142-get-all-maintenances" pullPolicy: Always livenessProbe: httpGet: diff --git a/helm/values-uat.yaml b/helm/values-uat.yaml index 38137de..a348e80 100644 --- a/helm/values-uat.yaml +++ b/helm/values-uat.yaml @@ -4,7 +4,7 @@ microservice-chart: fullnameOverride: "backoffice-external" image: repository: ghcr.io/pagopa/pagopa-backoffice-external - tag: "1.6.0" + tag: "1.6.0-1-PPANTT-142-get-all-maintenances" pullPolicy: Always livenessProbe: httpGet: diff --git a/openapi/openapi.json b/openapi/openapi.json index ac51127..699a63e 100644 --- a/openapi/openapi.json +++ b/openapi/openapi.json @@ -4,7 +4,7 @@ "description": "Microservice to expose REST API to contact PagoPA Backoffice", "termsOfService": "https://www.pagopa.gov.it/", "title": "Backoffice External", - "version": "1.6.0" + "version": "1.6.0-1-PPANTT-142-get-all-maintenances" }, "servers": [ { @@ -1704,4 +1704,4 @@ } } } -} \ No newline at end of file +} diff --git a/openapi/openapi_backoffice_external_ec.json b/openapi/openapi_backoffice_external_ec.json index 093a9ac..280ab7f 100644 --- a/openapi/openapi_backoffice_external_ec.json +++ b/openapi/openapi_backoffice_external_ec.json @@ -4,7 +4,7 @@ "description": "Microservice to expose REST API to contact PagoPA Backoffice", "termsOfService": "https://www.pagopa.gov.it/", "title": "Backoffice External - Backoffice External EC", - "version": "1.6.0" + "version": "1.6.0-1-PPANTT-142-get-all-maintenances" }, "servers": [ { @@ -664,4 +664,4 @@ } } } -} \ No newline at end of file +} diff --git a/openapi/openapi_backoffice_external_psp.json b/openapi/openapi_backoffice_external_psp.json index 6caa78e..d1edf99 100644 --- a/openapi/openapi_backoffice_external_psp.json +++ b/openapi/openapi_backoffice_external_psp.json @@ -4,7 +4,7 @@ "description": "Microservice to expose REST API to contact PagoPA Backoffice", "termsOfService": "https://www.pagopa.gov.it/", "title": "Backoffice External - Backoffice External PSP", - "version": "1.6.0" + "version": "1.6.0-1-PPANTT-142-get-all-maintenances" }, "servers": [ { @@ -333,4 +333,4 @@ } } } -} \ No newline at end of file +} diff --git a/openapi/openapi_backoffice_helpdesk.json b/openapi/openapi_backoffice_helpdesk.json index 73cf74b..2c7b865 100644 --- a/openapi/openapi_backoffice_helpdesk.json +++ b/openapi/openapi_backoffice_helpdesk.json @@ -4,7 +4,7 @@ "description": "Microservice to expose REST API to contact PagoPA Backoffice", "termsOfService": "https://www.pagopa.gov.it/", "title": "Backoffice External - Backoffice Helpdesk", - "version": "1.6.0" + "version": "1.6.0-1-PPANTT-142-get-all-maintenances" }, "servers": [ { @@ -1029,4 +1029,4 @@ } } } -} \ No newline at end of file +} diff --git a/pom.xml b/pom.xml index 5fa3815..d20ee4e 100644 --- a/pom.xml +++ b/pom.xml @@ -12,7 +12,7 @@ it.pagopa.selfcare.pagopa pagopa-backoffice-external - 1.6.0 + 1.6.0-1-PPANTT-142-get-all-maintenances Backoffice External Microservice to expose REST API to contact PagoPA Backoffice From 8e430751c68ebde18fae5eefe6893bcce7836b78 Mon Sep 17 00:00:00 2001 From: svariant Date: Thu, 17 Oct 2024 15:58:50 +0200 Subject: [PATCH 6/8] [PPANTT-142] fix: Apiconfig API path --- .../java/it/pagopa/selfcare/pagopa/client/ApiConfigClient.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/it/pagopa/selfcare/pagopa/client/ApiConfigClient.java b/src/main/java/it/pagopa/selfcare/pagopa/client/ApiConfigClient.java index fa8b485..7b82aad 100644 --- a/src/main/java/it/pagopa/selfcare/pagopa/client/ApiConfigClient.java +++ b/src/main/java/it/pagopa/selfcare/pagopa/client/ApiConfigClient.java @@ -17,7 +17,7 @@ @FeignClient(name = "api-config", url = "${rest-client.api-config.base-url}", configuration = ApiConfigFeignConfig.class) public interface ApiConfigClient { - @GetMapping(value = "/station-maintenances", produces = {MediaType.APPLICATION_JSON_VALUE}) + @GetMapping(value = "brokers/station-maintenances", produces = {MediaType.APPLICATION_JSON_VALUE}) StationMaintenanceListResource getAllStationsMaintenances( @RequestParam(required = false) @DateTimeFormat(iso = DateTimeFormat.ISO.DATE_TIME) OffsetDateTime startDateTimeBefore, @RequestParam(required = false) @DateTimeFormat(iso = DateTimeFormat.ISO.DATE_TIME) OffsetDateTime startDateTimeAfter, From d04b2e801d255584abcb916d00092009ee207b0f Mon Sep 17 00:00:00 2001 From: pagopa-github-bot Date: Thu, 17 Oct 2024 14:00:35 +0000 Subject: [PATCH 7/8] Bump to version 1.6.0-2-PPANTT-142-get-all-maintenances [skip ci] --- helm/Chart.yaml | 4 ++-- helm/values-dev.yaml | 2 +- helm/values-prod.yaml | 2 +- helm/values-uat.yaml | 2 +- openapi/openapi.json | 2 +- openapi/openapi_backoffice_external_ec.json | 2 +- openapi/openapi_backoffice_external_psp.json | 2 +- openapi/openapi_backoffice_helpdesk.json | 2 +- pom.xml | 2 +- 9 files changed, 10 insertions(+), 10 deletions(-) diff --git a/helm/Chart.yaml b/helm/Chart.yaml index 3f4fb0e..6b5b711 100644 --- a/helm/Chart.yaml +++ b/helm/Chart.yaml @@ -2,8 +2,8 @@ apiVersion: v2 name: pagopa-afm-calculator description: Microservice that handles calculation for pagoPA Advanced Fees Management type: application -version: 0.44.0 -appVersion: 1.6.0-1-PPANTT-142-get-all-maintenances +version: 0.45.0 +appVersion: 1.6.0-2-PPANTT-142-get-all-maintenances dependencies: - name: microservice-chart version: 2.8.0 diff --git a/helm/values-dev.yaml b/helm/values-dev.yaml index 17ffb1d..09dc395 100644 --- a/helm/values-dev.yaml +++ b/helm/values-dev.yaml @@ -4,7 +4,7 @@ microservice-chart: fullnameOverride: "backoffice-external" image: repository: ghcr.io/pagopa/pagopa-backoffice-external - tag: "1.6.0-1-PPANTT-142-get-all-maintenances" + tag: "1.6.0-2-PPANTT-142-get-all-maintenances" pullPolicy: Always livenessProbe: httpGet: diff --git a/helm/values-prod.yaml b/helm/values-prod.yaml index e5c0acb..6b382b1 100644 --- a/helm/values-prod.yaml +++ b/helm/values-prod.yaml @@ -4,7 +4,7 @@ microservice-chart: fullnameOverride: "backoffice-external" image: repository: ghcr.io/pagopa/pagopa-backoffice-external - tag: "1.6.0-1-PPANTT-142-get-all-maintenances" + tag: "1.6.0-2-PPANTT-142-get-all-maintenances" pullPolicy: Always livenessProbe: httpGet: diff --git a/helm/values-uat.yaml b/helm/values-uat.yaml index a348e80..04285bc 100644 --- a/helm/values-uat.yaml +++ b/helm/values-uat.yaml @@ -4,7 +4,7 @@ microservice-chart: fullnameOverride: "backoffice-external" image: repository: ghcr.io/pagopa/pagopa-backoffice-external - tag: "1.6.0-1-PPANTT-142-get-all-maintenances" + tag: "1.6.0-2-PPANTT-142-get-all-maintenances" pullPolicy: Always livenessProbe: httpGet: diff --git a/openapi/openapi.json b/openapi/openapi.json index 699a63e..3f7d59d 100644 --- a/openapi/openapi.json +++ b/openapi/openapi.json @@ -4,7 +4,7 @@ "description": "Microservice to expose REST API to contact PagoPA Backoffice", "termsOfService": "https://www.pagopa.gov.it/", "title": "Backoffice External", - "version": "1.6.0-1-PPANTT-142-get-all-maintenances" + "version": "1.6.0-2-PPANTT-142-get-all-maintenances" }, "servers": [ { diff --git a/openapi/openapi_backoffice_external_ec.json b/openapi/openapi_backoffice_external_ec.json index 280ab7f..77c980b 100644 --- a/openapi/openapi_backoffice_external_ec.json +++ b/openapi/openapi_backoffice_external_ec.json @@ -4,7 +4,7 @@ "description": "Microservice to expose REST API to contact PagoPA Backoffice", "termsOfService": "https://www.pagopa.gov.it/", "title": "Backoffice External - Backoffice External EC", - "version": "1.6.0-1-PPANTT-142-get-all-maintenances" + "version": "1.6.0-2-PPANTT-142-get-all-maintenances" }, "servers": [ { diff --git a/openapi/openapi_backoffice_external_psp.json b/openapi/openapi_backoffice_external_psp.json index d1edf99..12a9273 100644 --- a/openapi/openapi_backoffice_external_psp.json +++ b/openapi/openapi_backoffice_external_psp.json @@ -4,7 +4,7 @@ "description": "Microservice to expose REST API to contact PagoPA Backoffice", "termsOfService": "https://www.pagopa.gov.it/", "title": "Backoffice External - Backoffice External PSP", - "version": "1.6.0-1-PPANTT-142-get-all-maintenances" + "version": "1.6.0-2-PPANTT-142-get-all-maintenances" }, "servers": [ { diff --git a/openapi/openapi_backoffice_helpdesk.json b/openapi/openapi_backoffice_helpdesk.json index 2c7b865..9d20a76 100644 --- a/openapi/openapi_backoffice_helpdesk.json +++ b/openapi/openapi_backoffice_helpdesk.json @@ -4,7 +4,7 @@ "description": "Microservice to expose REST API to contact PagoPA Backoffice", "termsOfService": "https://www.pagopa.gov.it/", "title": "Backoffice External - Backoffice Helpdesk", - "version": "1.6.0-1-PPANTT-142-get-all-maintenances" + "version": "1.6.0-2-PPANTT-142-get-all-maintenances" }, "servers": [ { diff --git a/pom.xml b/pom.xml index d20ee4e..44f28a2 100644 --- a/pom.xml +++ b/pom.xml @@ -12,7 +12,7 @@ it.pagopa.selfcare.pagopa pagopa-backoffice-external - 1.6.0-1-PPANTT-142-get-all-maintenances + 1.6.0-2-PPANTT-142-get-all-maintenances Backoffice External Microservice to expose REST API to contact PagoPA Backoffice From 4687f71fcd1ba0b9da3147a9d351fc28d1a17f28 Mon Sep 17 00:00:00 2001 From: svariant Date: Thu, 17 Oct 2024 16:11:04 +0200 Subject: [PATCH 8/8] [PPANTT-142] feat: Remove default value stations maintenances state new API --- .../pagopa/controller/StationMaintenanceController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/it/pagopa/selfcare/pagopa/controller/StationMaintenanceController.java b/src/main/java/it/pagopa/selfcare/pagopa/controller/StationMaintenanceController.java index a8be6d6..f6ccfcc 100644 --- a/src/main/java/it/pagopa/selfcare/pagopa/controller/StationMaintenanceController.java +++ b/src/main/java/it/pagopa/selfcare/pagopa/controller/StationMaintenanceController.java @@ -50,7 +50,7 @@ public StationMaintenanceController(StationMaintenanceService stationMaintenance @OpenApiTableMetadata(readWriteIntense = OpenApiTableMetadata.ReadWrite.READ, external = true, internal = false) @GetMapping(produces = {MediaType.APPLICATION_JSON_VALUE}) public StationMaintenanceListResource getAllStationsMaintenances( - @Parameter(description = "Maintenances' state") @RequestParam(required = false, defaultValue = "SCHEDULED_AND_IN_PROGRESS") StationMaintenanceListState state, + @Parameter(description = "Maintenances' state") @RequestParam(required = false) StationMaintenanceListState state, @Parameter(description = "Maintenance's starting year") @RequestParam(required = false) Integer year ) { return this.stationMaintenanceService.getStationMaintenances(