{
    "components": {
        "schemas": {
            "ReportDefinitionDto": {
                "properties": {
                    "boServerId": {
                        "format": "int64",
                        "type": "integer"
                    },
                    "code": {
                        "maxLength": 10,
                        "minLength": 0,
                        "type": "string"
                    },
                    "description": {
                        "maxLength": 255,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "descriptionI18nCode": {
                        "maxLength": 255,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "enabled": {
                        "type": "boolean"
                    },
                    "externalId": {
                        "maxLength": 50,
                        "minLength": 0,
                        "type": "string"
                    },
                    "id": {
                        "description": "Object Identifier",
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "modificationDate": {
                        "description": "last modification date (read-only)",
                        "format": "date-time",
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "modificationUser": {
                        "description": "last modification user (read-only)",
                        "maxLength": 30,
                        "minLength": 0,
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "optimisticLock": {
                        "description": "This property can be used to detect conflicting updates, and prevent the loss of updates that would be overwritten by a last-commit-wins strategy.",
                        "format": "int32",
                        "nullable": true,
                        "type": "integer"
                    },
                    "reportGroupId": {
                        "format": "int64",
                        "type": "integer"
                    },
                    "securityEnabled": {
                        "type": "boolean"
                    },
                    "title": {
                        "maxLength": 255,
                        "minLength": 0,
                        "type": "string"
                    },
                    "titleI18nCode": {
                        "maxLength": 255,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    }
                },
                "required": [
                    "boServerId",
                    "code",
                    "enabled",
                    "externalId",
                    "reportGroupId",
                    "securityEnabled",
                    "title"
                ],
                "type": "object"
            },
            "ReportDefinitionParamDto": {
                "properties": {
                    "defaultValue": {
                        "maxLength": 255,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "hidden": {
                        "nullable": true,
                        "type": "boolean"
                    },
                    "id": {
                        "description": "Object Identifier",
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "listOfReportValueSql": {
                        "maxLength": 2000,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "mandatory": {
                        "nullable": true,
                        "type": "boolean"
                    },
                    "modificationDate": {
                        "description": "last modification date (read-only)",
                        "format": "date-time",
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "modificationUser": {
                        "description": "last modification user (read-only)",
                        "maxLength": 30,
                        "minLength": 0,
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "multiselect": {
                        "nullable": true,
                        "type": "boolean"
                    },
                    "name": {
                        "maxLength": 70,
                        "minLength": 0,
                        "type": "string"
                    },
                    "nameI18nCode": {
                        "maxLength": 255,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "optimisticLock": {
                        "description": "This property can be used to detect conflicting updates, and prevent the loss of updates that would be overwritten by a last-commit-wins strategy.",
                        "format": "int32",
                        "nullable": true,
                        "type": "integer"
                    },
                    "orderBy": {
                        "format": "int32",
                        "nullable": true,
                        "type": "integer"
                    },
                    "type": {
                        "enum": [
                            "DATE",
                            "DECIMAL",
                            "INTEGER",
                            "STRING"
                        ],
                        "type": "string"
                    }
                },
                "required": [
                    "name",
                    "type"
                ],
                "type": "object"
            },
            "ReportExecutionDto": {
                "properties": {
                    "dayOfTheMonth": {
                        "description": "Day of the month (1-31)",
                        "format": "int32",
                        "maximum": 31,
                        "minimum": 1,
                        "nullable": true,
                        "type": "integer"
                    },
                    "dayOfTheWeek": {
                        "description": "Day of the week (1=Monday, ..., 6=Saturday, 7=Sunday)",
                        "format": "int32",
                        "maximum": 7,
                        "minimum": 1,
                        "nullable": true,
                        "type": "integer"
                    },
                    "hour": {
                        "description": "Hour of the day (1-24)",
                        "format": "int32",
                        "maximum": 24,
                        "minimum": 1,
                        "nullable": true,
                        "type": "integer"
                    },
                    "listOfReportParamValue": {
                        "items": {
                            "$ref": "#/components/schemas/ReportExecutionParamValueDto"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "month": {
                        "description": "Month of the year (1=January, ..., 12=December)",
                        "format": "int32",
                        "maximum": 12,
                        "minimum": 1,
                        "nullable": true,
                        "type": "integer"
                    },
                    "outputFormat": {
                        "enum": [
                            "PDF",
                            "XLS"
                        ],
                        "type": "string"
                    },
                    "reportDefinitionId": {
                        "format": "int64",
                        "type": "integer"
                    },
                    "scheduled": {
                        "nullable": true,
                        "type": "boolean"
                    }
                },
                "required": [
                    "outputFormat",
                    "reportDefinitionId"
                ],
                "type": "object"
            },
            "ReportExecutionMetadataDto": {
                "properties": {
                    "listOfReportTree": {
                        "items": {
                            "$ref": "#/components/schemas/ReportTreeDto"
                        },
                        "nullable": true,
                        "type": "array"
                    }
                },
                "type": "object"
            },
            "ReportExecutionParamValueDto": {
                "properties": {
                    "reportDefinitionParamId": {
                        "format": "int64",
                        "type": "integer"
                    },
                    "value": {
                        "maxLength": 255,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    }
                },
                "required": [
                    "reportDefinitionParamId"
                ],
                "type": "object"
            },
            "ReportExecutionParamValueMetadataDto": {
                "properties": {
                    "mandatory": {
                        "nullable": true,
                        "type": "boolean"
                    },
                    "multiselect": {
                        "nullable": true,
                        "type": "boolean"
                    },
                    "name": {
                        "maxLength": 70,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "nameI18nCode": {
                        "maxLength": 255,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "reportDefinitionParamId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "type": {
                        "enum": [
                            "DATE",
                            "DECIMAL",
                            "INTEGER",
                            "STRING"
                        ],
                        "nullable": true,
                        "type": "string"
                    },
                    "value": {
                        "maxLength": 255,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "ReportExecutionReportMetadataDto": {
                "properties": {
                    "listOfReportExecutionParamValue": {
                        "items": {
                            "$ref": "#/components/schemas/ReportExecutionParamValueMetadataDto"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "reportDefinitionCode": {
                        "maxLength": 10,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "reportDefinitionId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "reportDefinitionTitle": {
                        "maxLength": 255,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "reportDefinitionTitleI18nCode": {
                        "maxLength": 255,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "ReportHistoryDto": {
                "properties": {
                    "errorCode": {
                        "maxLength": 255,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "errorParameters": {
                        "items": {
                            "type": "string"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "executionTime": {
                        "format": "date-time",
                        "nullable": true,
                        "type": "string"
                    },
                    "id": {
                        "description": "Object Identifier",
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "listOfReportParamValue": {
                        "items": {
                            "$ref": "#/components/schemas/ReportHistoryParamValueDto"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "modificationDate": {
                        "description": "last modification date (read-only)",
                        "format": "date-time",
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "modificationUser": {
                        "description": "last modification user (read-only)",
                        "maxLength": 30,
                        "minLength": 0,
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "optimisticLock": {
                        "description": "This property can be used to detect conflicting updates, and prevent the loss of updates that would be overwritten by a last-commit-wins strategy.",
                        "format": "int32",
                        "nullable": true,
                        "type": "integer"
                    },
                    "outputFormat": {
                        "maxLength": 5,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "reportDefinitionId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "reportTitle": {
                        "maxLength": 255,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "reportTitleI18nCode": {
                        "maxLength": 255,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "status": {
                        "maxLength": 15,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "ReportHistoryParamValueDto": {
                "properties": {
                    "id": {
                        "description": "Object Identifier",
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "modificationDate": {
                        "description": "last modification date (read-only)",
                        "format": "date-time",
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "modificationUser": {
                        "description": "last modification user (read-only)",
                        "maxLength": 30,
                        "minLength": 0,
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "name": {
                        "maxLength": 70,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "nameI18nCode": {
                        "maxLength": 255,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "optimisticLock": {
                        "description": "This property can be used to detect conflicting updates, and prevent the loss of updates that would be overwritten by a last-commit-wins strategy.",
                        "format": "int32",
                        "nullable": true,
                        "type": "integer"
                    },
                    "reportDefinitionParamId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "value": {
                        "maxLength": 255,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "ReportRoleDto": {
                "properties": {
                    "fundId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "id": {
                        "description": "Object Identifier",
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "modificationDate": {
                        "description": "last modification date (read-only)",
                        "format": "date-time",
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "modificationUser": {
                        "description": "last modification user (read-only)",
                        "maxLength": 30,
                        "minLength": 0,
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "optimisticLock": {
                        "description": "This property can be used to detect conflicting updates, and prevent the loss of updates that would be overwritten by a last-commit-wins strategy.",
                        "format": "int32",
                        "nullable": true,
                        "type": "integer"
                    },
                    "roleId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    }
                },
                "type": "object"
            },
            "ReportTreeDto": {
                "properties": {
                    "parentReportGroupId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "reportDefinitionCode": {
                        "maxLength": 10,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "reportDefinitionId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "reportDefinitionTitle": {
                        "maxLength": 255,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "reportDefinitionTitleI18nCode": {
                        "maxLength": 255,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "reportGroupCode": {
                        "maxLength": 10,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "reportGroupDescription": {
                        "maxLength": 255,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "reportGroupDescriptionI18nCode": {
                        "maxLength": 255,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "reportGroupId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    }
                },
                "type": "object"
            },
            "ScheduledReportDto": {
                "properties": {
                    "dayOfTheMonth": {
                        "description": "Day of the month (1-31)",
                        "format": "int32",
                        "maximum": 31,
                        "minimum": 1,
                        "nullable": true,
                        "type": "integer"
                    },
                    "dayOfTheWeek": {
                        "description": "Day of the week (1=Monday, ..., 6=Saturday, 7=Sunday)",
                        "format": "int32",
                        "maximum": 7,
                        "minimum": 1,
                        "nullable": true,
                        "type": "integer"
                    },
                    "errorMessage": {
                        "maxLength": 255,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "hour": {
                        "description": "Hour of the day (1-24)",
                        "format": "int32",
                        "maximum": 24,
                        "minimum": 1,
                        "nullable": true,
                        "type": "integer"
                    },
                    "id": {
                        "description": "Object Identifier",
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "lastExecutionDate": {
                        "format": "date-time",
                        "nullable": true,
                        "type": "string"
                    },
                    "listOfReportParamValue": {
                        "items": {
                            "$ref": "#/components/schemas/ScheduledReportParamValueDto"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "modificationDate": {
                        "description": "last modification date (read-only)",
                        "format": "date-time",
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "modificationUser": {
                        "description": "last modification user (read-only)",
                        "maxLength": 30,
                        "minLength": 0,
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "month": {
                        "description": "Month of the year (1=January, ..., 12=December)",
                        "format": "int32",
                        "maximum": 12,
                        "minimum": 1,
                        "nullable": true,
                        "type": "integer"
                    },
                    "nextExecutionDate": {
                        "format": "date-time",
                        "nullable": true,
                        "type": "string"
                    },
                    "optimisticLock": {
                        "description": "This property can be used to detect conflicting updates, and prevent the loss of updates that would be overwritten by a last-commit-wins strategy.",
                        "format": "int32",
                        "nullable": true,
                        "type": "integer"
                    },
                    "outputFormat": {
                        "enum": [
                            "PDF",
                            "XLS"
                        ],
                        "nullable": true,
                        "type": "string"
                    },
                    "reportDefinitionId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "reportTitle": {
                        "maxLength": 255,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "reportTitleI18nCode": {
                        "maxLength": 255,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "status": {
                        "maxLength": 15,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "ScheduledReportParamValueDto": {
                "properties": {
                    "id": {
                        "description": "Object Identifier",
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "modificationDate": {
                        "description": "last modification date (read-only)",
                        "format": "date-time",
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "modificationUser": {
                        "description": "last modification user (read-only)",
                        "maxLength": 30,
                        "minLength": 0,
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "name": {
                        "maxLength": 70,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "nameI18nCode": {
                        "maxLength": 255,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "optimisticLock": {
                        "description": "This property can be used to detect conflicting updates, and prevent the loss of updates that would be overwritten by a last-commit-wins strategy.",
                        "format": "int32",
                        "nullable": true,
                        "type": "integer"
                    },
                    "reportDefinitionParamId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "value": {
                        "maxLength": 255,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "TocDto": {
                "properties": {
                    "childrenCrcValue": {
                        "maxLength": 30,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "code": {
                        "maxLength": 20,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "crcValue": {
                        "maxLength": 30,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "disabled": {
                        "nullable": true,
                        "type": "boolean"
                    },
                    "hasContent": {
                        "nullable": true,
                        "type": "boolean"
                    },
                    "helpI18nCode": {
                        "maxLength": 128,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "highlighted": {
                        "nullable": true,
                        "type": "boolean"
                    },
                    "hintI18nCode": {
                        "maxLength": 128,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "id": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "key": {
                        "maxLength": 1024,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "nameArguments": {
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "nameI18nCode": {
                        "maxLength": 128,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "orderBy": {
                        "format": "int32",
                        "nullable": true,
                        "type": "integer"
                    },
                    "orderByChar": {
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "parentTocId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "staticItem": {
                        "nullable": true,
                        "type": "boolean"
                    },
                    "subtitle1I18nCode": {
                        "maxLength": 128,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "subtitle2I18nCode": {
                        "maxLength": 128,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "titleArguments": {
                        "maxLength": 3000,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "titleI18nCode": {
                        "maxLength": 128,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "tocItemArguments": {
                        "maxLength": 1000,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "tocItemOrderBy": {
                        "format": "int32",
                        "nullable": true,
                        "type": "integer"
                    },
                    "tooltipI18nCode": {
                        "maxLength": 128,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "url": {
                        "maxLength": 20,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    }
                },
                "type": "object"
            }
        },
        "securitySchemes": {
            "sfcBearerAuthentication": {
                "bearerFormat": "JWT",
                "in": "header",
                "scheme": "bearer",
                "type": "http"
            }
        }
    },
    "info": {
        "contact": {
            "email": "EC-SFC2021-INFO@ec.europa.eu",
            "name": "Support",
            "url": "https://ec.europa.eu/sfc/en/2021/webservices"
        },
        "description": "This is the swagger documentation for the report-wrapper-api for the SFC2021 frontoffice system.  You can find out more about Swagger at [http://swagger.io](http://swagger.io) or on [irc.freenode.net, #swagger](http://swagger.io/irc/).   ",
        "title": "SFC2021 report-wrapper-api",
        "version": "3.23.0"
    },
    "openapi": "3.0.1",
    "paths": {
        "/report-wrapper-api/execute-report": {
            "post": {
                "description": "Add report execution to the queue or to the schedule",
                "operationId": "executeReport",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/ReportExecutionDto"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/ReportExecutionDto"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "summary": "Create report execution",
                "tags": [
                    "Report execution"
                ]
            }
        },
        "/report-wrapper-api/execute-report/metadata": {
            "get": {
                "description": "Get the metadata for the report execution: list of user available reports",
                "operationId": "getExecuteReportMetadata",
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/ReportExecutionMetadataDto"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "summary": "Get metadata for report execution",
                "tags": [
                    "Report execution"
                ]
            }
        },
        "/report-wrapper-api/execute-report/{repDefId}/metadata": {
            "get": {
                "description": "Get the metadata for the specific report execution: list of parameters and report definition details",
                "operationId": "getExecuteReportMetadataForReportDefinition",
                "parameters": [
                    {
                        "in": "path",
                        "name": "repDefId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/ReportExecutionReportMetadataDto"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "summary": "Get metadata for report execution",
                "tags": [
                    "Report execution"
                ]
            }
        },
        "/report-wrapper-api/probe/liveness": {
            "get": {
                "description": "Returns the health state of the report wrapper service",
                "operationId": "testApiLiveness",
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "additionalProperties": {
                                        "type": "string"
                                    },
                                    "type": "object"
                                }
                            }
                        },
                        "description": "successful operation"
                    }
                },
                "summary": "Liveness page",
                "tags": [
                    "Liveness"
                ]
            }
        },
        "/report-wrapper-api/report-definition": {
            "get": {
                "description": "Retrieves the list of all user accesible report definitions",
                "operationId": "getListOfReportDefinition",
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "items": {
                                        "$ref": "#/components/schemas/ReportDefinitionDto"
                                    },
                                    "type": "array"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "summary": "Get list of report definitions",
                "tags": [
                    "Report definition"
                ]
            },
            "post": {
                "description": "Create a new report definition",
                "operationId": "createReportDefinition",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/ReportDefinitionDto"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/ReportDefinitionDto"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "summary": "Create report definition",
                "tags": [
                    "Report definition"
                ]
            }
        },
        "/report-wrapper-api/report-definition/tocs": {
            "get": {
                "description": "Returns the Table of Contents entries of report definitions.",
                "operationId": "tocs",
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "items": {
                                        "$ref": "#/components/schemas/TocDto"
                                    },
                                    "type": "array"
                                }
                            }
                        },
                        "description": "successful operation"
                    }
                },
                "summary": "Get TOCs",
                "tags": [
                    "Report definition"
                ]
            }
        },
        "/report-wrapper-api/report-definition/{repDefId}": {
            "delete": {
                "description": "Deletes a report definition by id",
                "operationId": "deleteReportDefinition",
                "parameters": [
                    {
                        "in": "path",
                        "name": "repDefId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "type": "boolean"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "summary": "Delete report definition",
                "tags": [
                    "Report definition"
                ]
            },
            "get": {
                "description": "Retrieves a report definition by id",
                "operationId": "getReportDefinition",
                "parameters": [
                    {
                        "in": "path",
                        "name": "repDefId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/ReportDefinitionDto"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "summary": "Get report definition",
                "tags": [
                    "Report definition"
                ]
            },
            "put": {
                "description": "Update a report definition",
                "operationId": "updateReportDefinition",
                "parameters": [
                    {
                        "in": "path",
                        "name": "repDefId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/ReportDefinitionDto"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/ReportDefinitionDto"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "summary": "Update report definition",
                "tags": [
                    "Report definition"
                ]
            }
        },
        "/report-wrapper-api/report-definition/{repDefId}/param": {
            "get": {
                "description": "Retrieves the list of report definition parameters for a report definition id",
                "operationId": "getListOfReportDefinitionParam",
                "parameters": [
                    {
                        "in": "path",
                        "name": "repDefId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "items": {
                                        "$ref": "#/components/schemas/ReportDefinitionParamDto"
                                    },
                                    "type": "array"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "summary": "Get report definition parameters",
                "tags": [
                    "Report definition"
                ]
            },
            "post": {
                "description": "Add report definition parameter to an existing report definition",
                "operationId": "createReportDefinitionParam",
                "parameters": [
                    {
                        "in": "path",
                        "name": "repDefId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/ReportDefinitionParamDto"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/ReportDefinitionParamDto"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "summary": "Add report definition parameter",
                "tags": [
                    "Report definition"
                ]
            }
        },
        "/report-wrapper-api/report-definition/{repDefId}/param/{paramId}": {
            "delete": {
                "description": "Delete the report definition parameter by id",
                "operationId": "deleteReportDefinitionParam",
                "parameters": [
                    {
                        "in": "path",
                        "name": "paramId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    },
                    {
                        "in": "path",
                        "name": "repDefId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "type": "boolean"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "summary": "Delete report definition parameter",
                "tags": [
                    "Report definition"
                ]
            },
            "get": {
                "description": "Retrieves the report definition parameter by id",
                "operationId": "getReportDefinitionParam",
                "parameters": [
                    {
                        "in": "path",
                        "name": "paramId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    },
                    {
                        "in": "path",
                        "name": "repDefId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/ReportDefinitionParamDto"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "summary": "Get report definition parameter",
                "tags": [
                    "Report definition"
                ]
            },
            "put": {
                "description": "Update report definition parameter",
                "operationId": "updateReportDefinitionParam",
                "parameters": [
                    {
                        "in": "path",
                        "name": "paramId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    },
                    {
                        "in": "path",
                        "name": "repDefId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/ReportDefinitionParamDto"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/ReportDefinitionParamDto"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "summary": "Update report definition parameter",
                "tags": [
                    "Report definition"
                ]
            }
        },
        "/report-wrapper-api/report-definition/{repDefId}/role": {
            "get": {
                "description": "Retrieves the list of report definition role for a report definition id",
                "operationId": "getListOfReportDefinitionRole",
                "parameters": [
                    {
                        "in": "path",
                        "name": "repDefId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "items": {
                                        "$ref": "#/components/schemas/ReportRoleDto"
                                    },
                                    "type": "array"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "summary": "Get report definition role",
                "tags": [
                    "Report definition"
                ]
            },
            "post": {
                "description": "Add report definition role to an existing report definition",
                "operationId": "createReportDefinitionRole",
                "parameters": [
                    {
                        "in": "path",
                        "name": "repDefId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/ReportRoleDto"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/ReportRoleDto"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "summary": "Add report definition role",
                "tags": [
                    "Report definition"
                ]
            }
        },
        "/report-wrapper-api/report-definition/{repDefId}/role/{roleId}": {
            "delete": {
                "description": "Delete the report definition role by id",
                "operationId": "deleteReportDefinitionRole",
                "parameters": [
                    {
                        "in": "path",
                        "name": "repDefId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    },
                    {
                        "in": "path",
                        "name": "roleId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "type": "boolean"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "summary": "Delete report definition role",
                "tags": [
                    "Report definition"
                ]
            },
            "get": {
                "description": "Retrieves the report definition roles",
                "operationId": "getReportDefinitionRole",
                "parameters": [
                    {
                        "in": "path",
                        "name": "repDefId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    },
                    {
                        "in": "path",
                        "name": "roleId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/ReportRoleDto"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "summary": "Get report definition roles",
                "tags": [
                    "Report definition"
                ]
            }
        },
        "/report-wrapper-api/report-history": {
            "get": {
                "description": "Retrieves the list of all report history",
                "operationId": "getListOfReportHistory",
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "items": {
                                        "$ref": "#/components/schemas/ReportHistoryDto"
                                    },
                                    "type": "array"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "summary": "Get list of report history",
                "tags": [
                    "Report History"
                ]
            }
        },
        "/report-wrapper-api/report-history/{repHistoryId}": {
            "delete": {
                "description": "Delete a report history",
                "operationId": "deleteReportHistory",
                "parameters": [
                    {
                        "in": "path",
                        "name": "repHistoryId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "type": "boolean"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "summary": "Delete report history",
                "tags": [
                    "Report History"
                ]
            },
            "get": {
                "description": "Read a report history",
                "operationId": "getReportHistory",
                "parameters": [
                    {
                        "in": "path",
                        "name": "repHistoryId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/ReportHistoryDto"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "summary": "Get report history",
                "tags": [
                    "Report History"
                ]
            }
        },
        "/report-wrapper-api/report-history/{repHistoryId}/lob": {
            "get": {
                "description": "Returns the document ",
                "operationId": "downloadDocumentAttachment",
                "parameters": [
                    {
                        "in": "path",
                        "name": "repHistoryId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "successful operation"
                    }
                },
                "summary": "Download report history file",
                "tags": [
                    "Report History"
                ]
            }
        },
        "/report-wrapper-api/scheduled-report": {
            "get": {
                "description": "Retrieves the list of all scheduled reports ",
                "operationId": "getListOfScheduledReport",
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "items": {
                                        "$ref": "#/components/schemas/ScheduledReportDto"
                                    },
                                    "type": "array"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "summary": "Get list of scheduled reports",
                "tags": [
                    "Scheduled Reports"
                ]
            }
        },
        "/report-wrapper-api/scheduled-report/{schReportId}": {
            "delete": {
                "description": "Delete a Scheduled Reports",
                "operationId": "deleteScheduledReport",
                "parameters": [
                    {
                        "in": "path",
                        "name": "schReportId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "type": "boolean"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "summary": "Delete Scheduled Reports",
                "tags": [
                    "Scheduled Reports"
                ]
            },
            "get": {
                "description": "Read a scheduled reports ",
                "operationId": "getScheduledReport",
                "parameters": [
                    {
                        "in": "path",
                        "name": "schReportId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/ScheduledReportDto"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "summary": "Get scheduled reports",
                "tags": [
                    "Scheduled Reports"
                ]
            },
            "put": {
                "description": "Update scheduled report properties",
                "operationId": "updateScheduledReport",
                "parameters": [
                    {
                        "in": "path",
                        "name": "schReportId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/ScheduledReportDto"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/ScheduledReportDto"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "summary": "Update scheduled report",
                "tags": [
                    "Scheduled Reports"
                ]
            }
        },
        "/report-wrapper-api/tocs": {
            "get": {
                "description": "Returns the Table of Contents entries of report executions.",
                "operationId": "executionTocs",
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "items": {
                                        "$ref": "#/components/schemas/TocDto"
                                    },
                                    "type": "array"
                                }
                            }
                        },
                        "description": "successful operation"
                    }
                },
                "summary": "Get TOCs",
                "tags": [
                    "Report execution"
                ]
            }
        }
    },
    "security": [
        {
            "sfcBearerAuthentication": [
                "read",
                "write"
            ]
        }
    ],
    "servers": [
        {
            "url": "http://sfc2021.net1.cec.eu.int:8080/sfc2021"
        }
    ]
}