{ "openapi": "3.0.1", "info": { "title": "mms", "description": "mms - solaris", "version": "v1.0" }, "paths": { "/api/v1.0/AirtableImport/import/async": { "post": { "tags": [ "AirtableImport" ], "summary": "MinLevel:Member", "operationId": "ImportAsync", "parameters": [ { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success" } } } }, "/api/v1.0/AirtableImport/import": { "post": { "tags": [ "AirtableImport" ], "summary": "MinLevel:Member", "operationId": "Import", "parameters": [ { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success" } } } }, "/api/v1.0/Company": { "get": { "tags": [ "Company" ], "summary": "MinLevel:ReadService", "operationId": "GetCompanys", "parameters": [ { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/CompanyReadModel" } } }, "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/CompanyReadModel" } } }, "text/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/CompanyReadModel" } } }, "application/xml": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/CompanyReadModel" } } }, "text/xml": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/CompanyReadModel" } } } } } } } }, "/api/v1.0/Company/{companyId}": { "get": { "tags": [ "Company" ], "summary": "MinLevel:ReadService", "operationId": "GetCompany", "parameters": [ { "name": "companyId", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } }, { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/CompanyReadModel" } }, "application/json": { "schema": { "$ref": "#/components/schemas/CompanyReadModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/CompanyReadModel" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/CompanyReadModel" } }, "text/xml": { "schema": { "$ref": "#/components/schemas/CompanyReadModel" } } } } } } }, "/api/v1.0/CompanyGroup": { "get": { "tags": [ "CompanyGroup" ], "summary": "MinLevel:ReadService", "operationId": "GetCompanyGroups", "parameters": [ { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/CompanyGroupReadModel" } } }, "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/CompanyGroupReadModel" } } }, "text/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/CompanyGroupReadModel" } } }, "application/xml": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/CompanyGroupReadModel" } } }, "text/xml": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/CompanyGroupReadModel" } } } } } } } }, "/api/v1.0/CompanyGroup/{companyGroupId}": { "get": { "tags": [ "CompanyGroup" ], "summary": "MinLevel:ReadService", "operationId": "GetCompanyGroup", "parameters": [ { "name": "companyGroupId", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } }, { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/CompanyGroupReadModel" } }, "application/json": { "schema": { "$ref": "#/components/schemas/CompanyGroupReadModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/CompanyGroupReadModel" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/CompanyGroupReadModel" } }, "text/xml": { "schema": { "$ref": "#/components/schemas/CompanyGroupReadModel" } } } } } } }, "/api/v1.0/ConfirmedOverflow": { "get": { "tags": [ "ConfirmedOverflow" ], "summary": "MinLevel:ReadService", "operationId": "GetConfirmedOverflows", "parameters": [ { "name": "plantId", "in": "query", "required": true, "schema": { "type": "integer", "format": "int64" } }, { "name": "powerMeterId", "in": "query", "schema": { "type": "integer", "format": "int64" } }, { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ConfirmedOverflowReadModel" } } }, "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ConfirmedOverflowReadModel" } } }, "text/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ConfirmedOverflowReadModel" } } }, "application/xml": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ConfirmedOverflowReadModel" } } }, "text/xml": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ConfirmedOverflowReadModel" } } } } } } }, "post": { "tags": [ "ConfirmedOverflow" ], "summary": "MinLevel:ReadService", "operationId": "AddConfirmedOverflow", "parameters": [ { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ConfirmedOverflowModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ConfirmedOverflowModel" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/ConfirmedOverflowModel" } } } }, "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ConfirmedOverflowReadModel" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ConfirmedOverflowReadModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ConfirmedOverflowReadModel" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/ConfirmedOverflowReadModel" } }, "text/xml": { "schema": { "$ref": "#/components/schemas/ConfirmedOverflowReadModel" } } } } } } }, "/api/v1.0/ConfirmedOverflow/{confirmedOverflowId}": { "patch": { "tags": [ "ConfirmedOverflow" ], "summary": "MinLevel:ReadService", "operationId": "UpdateConfirmedOverflow", "parameters": [ { "name": "confirmedOverflowId", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } }, { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ConfirmedOverflowModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ConfirmedOverflowModel" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/ConfirmedOverflowModel" } } } }, "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ConfirmedOverflowReadModel" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ConfirmedOverflowReadModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ConfirmedOverflowReadModel" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/ConfirmedOverflowReadModel" } }, "text/xml": { "schema": { "$ref": "#/components/schemas/ConfirmedOverflowReadModel" } } } } } }, "delete": { "tags": [ "ConfirmedOverflow" ], "summary": "MinLevel:ReadService", "operationId": "DeleteConfirmedOverflow", "parameters": [ { "name": "confirmedOverflowId", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } }, { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success" } } } }, "/api/v1.0/DummyUserRights": { "get": { "tags": [ "DummyUserRights" ], "summary": "MinLevel:Unknown", "operationId": "GetDummyUserRights", "parameters": [ { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/UserRightsModel" } }, "application/json": { "schema": { "$ref": "#/components/schemas/UserRightsModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/UserRightsModel" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/UserRightsModel" } }, "text/xml": { "schema": { "$ref": "#/components/schemas/UserRightsModel" } } } } } } }, "/api/v1.0/Hello": { "get": { "tags": [ "Hello" ], "summary": "MinLevel:Unknown", "operationId": "Hello", "parameters": [ { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } }, "application/xml": { "schema": { "type": "string" } }, "text/xml": { "schema": { "type": "string" } } } } } } }, "/api/v1.0/IgnoredPlantError": { "get": { "tags": [ "IgnoredPlantError" ], "summary": "", "operationId": "GetIgnoredPlantErrors", "parameters": [ { "name": "plantId", "in": "query", "schema": { "type": "integer", "format": "int64" } }, { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/IgnoredPlantErrorReadModel" } } }, "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/IgnoredPlantErrorReadModel" } } }, "text/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/IgnoredPlantErrorReadModel" } } }, "application/xml": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/IgnoredPlantErrorReadModel" } } }, "text/xml": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/IgnoredPlantErrorReadModel" } } } } } } }, "post": { "tags": [ "IgnoredPlantError" ], "summary": "", "operationId": "AddIgnoredPlantError", "parameters": [ { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/IgnoredPlantErrorAddModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/IgnoredPlantErrorAddModel" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/IgnoredPlantErrorAddModel" } } } }, "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/IgnoredPlantErrorReadModel" } }, "application/json": { "schema": { "$ref": "#/components/schemas/IgnoredPlantErrorReadModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/IgnoredPlantErrorReadModel" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/IgnoredPlantErrorReadModel" } }, "text/xml": { "schema": { "$ref": "#/components/schemas/IgnoredPlantErrorReadModel" } } } } } } }, "/api/v1.0/IgnoredPlantError/{ignoredPlantErrorId}": { "get": { "tags": [ "IgnoredPlantError" ], "summary": "", "operationId": "GetIgnoredPlantError", "parameters": [ { "name": "ignoredPlantErrorId", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } }, { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/IgnoredPlantErrorReadModel" } }, "application/json": { "schema": { "$ref": "#/components/schemas/IgnoredPlantErrorReadModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/IgnoredPlantErrorReadModel" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/IgnoredPlantErrorReadModel" } }, "text/xml": { "schema": { "$ref": "#/components/schemas/IgnoredPlantErrorReadModel" } } } } } }, "delete": { "tags": [ "IgnoredPlantError" ], "summary": "", "operationId": "DeleteIgnoredPlantError", "parameters": [ { "name": "ignoredPlantErrorId", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } }, { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success" } } } }, "/api/v1.0/ImportError": { "get": { "tags": [ "ImportError" ], "summary": "MinLevel:ReadService", "operationId": "GetImportErrors", "parameters": [ { "name": "isResolved", "in": "query", "schema": { "type": "boolean" } }, { "name": "limit", "in": "query", "schema": { "type": "integer", "format": "int32" } }, { "name": "offset", "in": "query", "schema": { "type": "integer", "format": "int32" } }, { "name": "from", "in": "query", "schema": { "type": "string", "format": "date-time" } }, { "name": "to", "in": "query", "schema": { "type": "string", "format": "date-time" } }, { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ImportErrorModel" } } }, "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ImportErrorModel" } } }, "text/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ImportErrorModel" } } }, "application/xml": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ImportErrorModel" } } }, "text/xml": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ImportErrorModel" } } } } } } } }, "/api/v1.0/ImportError/resolve": { "post": { "tags": [ "ImportError" ], "summary": "", "operationId": "ResolveErrors", "parameters": [ { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResolveImportErrorsModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ResolveImportErrorsModel" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/ResolveImportErrorsModel" } } }, "required": true }, "responses": { "200": { "description": "Success" } } } }, "/api/v1.0/InverterImport/auto-import": { "post": { "tags": [ "InverterImport" ], "summary": "MinLevel:Unknown", "operationId": "AutoImportFromInverter", "parameters": [ { "name": "monthsInThePast", "in": "query", "schema": { "type": "integer", "format": "int32" } }, { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success" } } } }, "/api/v1.0/InverterMailExport/export": { "post": { "tags": [ "InverterMailExport" ], "summary": "MinLevel:ReadService", "operationId": "ExportInverterMail", "parameters": [ { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success" } } } }, "/api/v1.0/InverterMailExport": { "get": { "tags": [ "InverterMailExport" ], "summary": "MinLevel:Admin", "operationId": "GetExports", "parameters": [ { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ExportReadModel" } } }, "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ExportReadModel" } } }, "text/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ExportReadModel" } } }, "application/xml": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ExportReadModel" } } }, "text/xml": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ExportReadModel" } } } } } } }, "post": { "tags": [ "InverterMailExport" ], "summary": "MinLevel:Admin", "operationId": "AddExport", "parameters": [ { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ExportAddModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ExportAddModel" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/ExportAddModel" } } } }, "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ExportReadModel" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ExportReadModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ExportReadModel" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/ExportReadModel" } }, "text/xml": { "schema": { "$ref": "#/components/schemas/ExportReadModel" } } } } } } }, "/api/v1.0/InverterMailExport/{inverterExportId}": { "put": { "tags": [ "InverterMailExport" ], "summary": "MinLevel:Admin", "operationId": "UpdateExport", "parameters": [ { "name": "inverterExportId", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } }, { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ExportAddModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ExportAddModel" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/ExportAddModel" } } } }, "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ExportReadModel" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ExportReadModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ExportReadModel" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/ExportReadModel" } }, "text/xml": { "schema": { "$ref": "#/components/schemas/ExportReadModel" } } } } } }, "delete": { "tags": [ "InverterMailExport" ], "summary": "MinLevel:Admin", "operationId": "DeleteExport", "parameters": [ { "name": "inverterExportId", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } }, { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success" } } } }, "/api/v1.0/InverterMailExport/{inverterExportId}/test": { "post": { "tags": [ "InverterMailExport" ], "summary": "MinLevel:Admin", "operationId": "TestExport", "parameters": [ { "name": "inverterExportId", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } }, { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ExportTestModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ExportTestModel" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/ExportTestModel" } } } }, "responses": { "200": { "description": "Success" } } } }, "/api/v1.0/LPReportImport/import": { "post": { "tags": [ "LPReportImport" ], "summary": "MinLevel:BaseUser", "operationId": "UploadLPReportFile", "parameters": [ { "name": "lastModifiedDateOfFile", "in": "query", "schema": { "type": "string", "format": "date-time" } }, { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success" } } } }, "/api/v1.0/LPReportImport/{plantId}/import": { "post": { "tags": [ "LPReportImport" ], "summary": "MinLevel:BaseUser", "operationId": "UploadPlantLPReportFile", "parameters": [ { "name": "plantId", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } }, { "name": "lastModifiedDateOfFile", "in": "query", "schema": { "type": "string", "format": "date-time" } }, { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success" } } } }, "/api/v1.0/LPReportImport/auto-import": { "post": { "tags": [ "LPReportImport" ], "summary": "MinLevel:Unknown", "operationId": "AutoImportFromLPReport", "parameters": [ { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success" } } } }, "/api/v1.0/ManualReading/{plantId}/import": { "post": { "tags": [ "ManualReading" ], "summary": "", "operationId": "ImportManualReading", "parameters": [ { "name": "plantId", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } }, { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ManualReadingImportModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ManualReadingImportModel" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/ManualReadingImportModel" } } } }, "responses": { "200": { "description": "Success" } } } }, "/api/v1.0/MonthlyValue/plant/{plantId}": { "get": { "tags": [ "MonthlyValue" ], "summary": "MinLevel:ReadService", "operationId": "GetMonthlyValues", "parameters": [ { "name": "plantId", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } }, { "name": "onlyCurrent", "in": "query", "required": true, "schema": { "type": "boolean" } }, { "name": "powerMeterId", "in": "query", "schema": { "type": "integer", "format": "int64" } }, { "name": "powerMeterIds", "in": "query", "schema": { "type": "array", "items": { "type": "integer", "format": "int64" } } }, { "name": "source", "in": "query", "schema": { "$ref": "#/components/schemas/Source" } }, { "name": "yearFrom", "in": "query", "schema": { "type": "integer", "format": "int32" } }, { "name": "monthFrom", "in": "query", "schema": { "type": "integer", "format": "int32" } }, { "name": "yearTo", "in": "query", "schema": { "type": "integer", "format": "int32" } }, { "name": "monthTo", "in": "query", "schema": { "type": "integer", "format": "int32" } }, { "name": "monthlyValueId", "in": "query", "schema": { "type": "integer", "format": "int64" } }, { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/MonthlyValueReadModel" } } }, "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/MonthlyValueReadModel" } } }, "text/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/MonthlyValueReadModel" } } }, "application/xml": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/MonthlyValueReadModel" } } }, "text/xml": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/MonthlyValueReadModel" } } } } } } } }, "/api/v1.0/MonthlyValue/plant/{plantId}/truth": { "get": { "tags": [ "MonthlyValue" ], "summary": "MinLevel:ReadService", "operationId": "GetTruthTable", "parameters": [ { "name": "plantId", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } }, { "name": "powerMeterId", "in": "query", "schema": { "type": "integer", "format": "int64" } }, { "name": "powerMeterIds", "in": "query", "schema": { "type": "array", "items": { "type": "integer", "format": "int64" } } }, { "name": "yearFrom", "in": "query", "schema": { "type": "integer", "format": "int32" } }, { "name": "monthFrom", "in": "query", "schema": { "type": "integer", "format": "int32" } }, { "name": "yearTo", "in": "query", "schema": { "type": "integer", "format": "int32" } }, { "name": "monthTo", "in": "query", "schema": { "type": "integer", "format": "int32" } }, { "name": "sources", "in": "query", "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Source" } } }, { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/MonthlyValueReadModel" } } }, "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/MonthlyValueReadModel" } } }, "text/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/MonthlyValueReadModel" } } }, "application/xml": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/MonthlyValueReadModel" } } }, "text/xml": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/MonthlyValueReadModel" } } } } } } } }, "/api/v1.0/MonthlyValue/plant/{plantId}/loss": { "get": { "tags": [ "MonthlyValue" ], "summary": "MinLevel:ReadService", "operationId": "GetLoss", "parameters": [ { "name": "plantId", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } }, { "name": "yearFrom", "in": "query", "schema": { "type": "integer", "format": "int32" } }, { "name": "monthFrom", "in": "query", "schema": { "type": "integer", "format": "int32" } }, { "name": "yearTo", "in": "query", "schema": { "type": "integer", "format": "int32" } }, { "name": "monthTo", "in": "query", "schema": { "type": "integer", "format": "int32" } }, { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/MonthlyValueReadModel" } } }, "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/MonthlyValueReadModel" } } }, "text/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/MonthlyValueReadModel" } } }, "application/xml": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/MonthlyValueReadModel" } } }, "text/xml": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/MonthlyValueReadModel" } } } } } } } }, "/api/v1.0/MonthlyValue/plant/{plantId}/delta": { "get": { "tags": [ "MonthlyValue" ], "summary": "MinLevel:ReadService", "operationId": "GetDeltaValues", "parameters": [ { "name": "plantId", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } }, { "name": "onlyMostImportantSource1", "in": "query", "required": true, "schema": { "type": "boolean" } }, { "name": "source1", "in": "query", "schema": { "$ref": "#/components/schemas/Source" } }, { "name": "onlyMostImportantSource2", "in": "query", "required": true, "schema": { "type": "boolean" } }, { "name": "source2", "in": "query", "schema": { "$ref": "#/components/schemas/Source" } }, { "name": "powerMeterIds", "in": "query", "schema": { "type": "array", "items": { "type": "integer", "format": "int64" } } }, { "name": "yearFrom", "in": "query", "schema": { "type": "integer", "format": "int32" } }, { "name": "monthFrom", "in": "query", "schema": { "type": "integer", "format": "int32" } }, { "name": "yearTo", "in": "query", "schema": { "type": "integer", "format": "int32" } }, { "name": "monthTo", "in": "query", "schema": { "type": "integer", "format": "int32" } }, { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/MonthlyValueDeltaModel" } } }, "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/MonthlyValueDeltaModel" } } }, "text/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/MonthlyValueDeltaModel" } } }, "application/xml": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/MonthlyValueDeltaModel" } } }, "text/xml": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/MonthlyValueDeltaModel" } } } } } } } }, "/api/v1.0/MonthlyValue": { "post": { "tags": [ "MonthlyValue" ], "summary": "", "operationId": "UpsertMonthlyValue", "parameters": [ { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/MonthlyValueModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/MonthlyValueModel" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/MonthlyValueModel" } } } }, "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/MonthlyValueReadModel" } }, "application/json": { "schema": { "$ref": "#/components/schemas/MonthlyValueReadModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/MonthlyValueReadModel" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/MonthlyValueReadModel" } }, "text/xml": { "schema": { "$ref": "#/components/schemas/MonthlyValueReadModel" } } } } } } }, "/api/v1.0/MonthlyValue/{monthlyValueId}": { "delete": { "tags": [ "MonthlyValue" ], "summary": "", "operationId": "DeleteMonthlyValue", "parameters": [ { "name": "monthlyValueId", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } }, { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success" } } } }, "/api/v1.0/Plant": { "get": { "tags": [ "Plant" ], "summary": "MinLevel:ReadService", "operationId": "GetPlants", "parameters": [ { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/PlantReadModel" } } }, "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/PlantReadModel" } } }, "text/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/PlantReadModel" } } }, "application/xml": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/PlantReadModel" } } }, "text/xml": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/PlantReadModel" } } } } } } } }, "/api/v1.0/Plant/list": { "get": { "tags": [ "Plant" ], "summary": "MinLevel:ReadService", "operationId": "GetPlantList", "parameters": [ { "name": "fullTextFilter", "in": "query", "schema": { "type": "string" } }, { "name": "errorTypes", "in": "query", "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ErrorType" } } }, { "name": "errorLevels", "in": "query", "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ErrorLevel" } } }, { "name": "isDeactivated", "in": "query", "schema": { "type": "boolean" } }, { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/PlantListModel" } } }, "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/PlantListModel" } } }, "text/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/PlantListModel" } } }, "application/xml": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/PlantListModel" } } }, "text/xml": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/PlantListModel" } } } } } } } }, "/api/v1.0/Plant/{plantId}": { "get": { "tags": [ "Plant" ], "summary": "MinLevel:ReadService", "operationId": "GetPlant", "parameters": [ { "name": "plantId", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } }, { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/PlantReadModel" } }, "application/json": { "schema": { "$ref": "#/components/schemas/PlantReadModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/PlantReadModel" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/PlantReadModel" } }, "text/xml": { "schema": { "$ref": "#/components/schemas/PlantReadModel" } } } } } } }, "/api/v1.0/Plant/{plantId}/details": { "get": { "tags": [ "Plant" ], "summary": "MinLevel:ReadService", "operationId": "GetPlantDetails", "parameters": [ { "name": "plantId", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } }, { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/PlantDetailsModel" } }, "application/json": { "schema": { "$ref": "#/components/schemas/PlantDetailsModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/PlantDetailsModel" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/PlantDetailsModel" } }, "text/xml": { "schema": { "$ref": "#/components/schemas/PlantDetailsModel" } } } } } } }, "/api/v1.0/Plant/{airtableId}/detailsByAirtableId": { "get": { "tags": [ "Plant" ], "summary": "MinLevel:ReadService", "operationId": "GetPlantDetailsByAirtableId", "parameters": [ { "name": "airtableId", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } }, { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/PlantDetailsModel" } }, "application/json": { "schema": { "$ref": "#/components/schemas/PlantDetailsModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/PlantDetailsModel" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/PlantDetailsModel" } }, "text/xml": { "schema": { "$ref": "#/components/schemas/PlantDetailsModel" } } } } } } }, "/api/v1.0/PlantError/{plantId}": { "get": { "tags": [ "PlantError" ], "summary": "MinLevel:ReadService", "operationId": "GetPlantErrors", "parameters": [ { "name": "plantId", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } }, { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/PlantErrorModel" } } }, "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/PlantErrorModel" } } }, "text/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/PlantErrorModel" } } }, "application/xml": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/PlantErrorModel" } } }, "text/xml": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/PlantErrorModel" } } } } } } } }, "/api/v1.0/PlantError/{plantId}/recalc": { "post": { "tags": [ "PlantError" ], "summary": "", "operationId": "RecalcPlantErrors", "parameters": [ { "name": "plantId", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } }, { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/PlantErrorModel" } } }, "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/PlantErrorModel" } } }, "text/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/PlantErrorModel" } } }, "application/xml": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/PlantErrorModel" } } }, "text/xml": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/PlantErrorModel" } } } } } } } }, "/api/v1.0/PlantError/recalc": { "post": { "tags": [ "PlantError" ], "summary": "", "operationId": "RecalcAllPlantErrors", "parameters": [ { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success" } } } }, "/api/v1.0/PowerMeter": { "get": { "tags": [ "PowerMeter" ], "summary": "MinLevel:ReadService", "operationId": "GetPowerMeters", "parameters": [ { "name": "matriculationNumber", "in": "query", "schema": { "type": "string" } }, { "name": "plantId", "in": "query", "schema": { "type": "integer", "format": "int64" } }, { "name": "type", "in": "query", "schema": { "$ref": "#/components/schemas/PowerMeterType" } }, { "name": "powerMeterId", "in": "query", "schema": { "type": "integer", "format": "int64" } }, { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/PowerMeterReadModel" } } }, "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/PowerMeterReadModel" } } }, "text/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/PowerMeterReadModel" } } }, "application/xml": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/PowerMeterReadModel" } } }, "text/xml": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/PowerMeterReadModel" } } } } } } } }, "/api/v1.0/PowerMeter/{powerMeterId}": { "get": { "tags": [ "PowerMeter" ], "summary": "MinLevel:ReadService", "operationId": "GetPowerMeter", "parameters": [ { "name": "powerMeterId", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } }, { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/PowerMeterReadModel" } }, "application/json": { "schema": { "$ref": "#/components/schemas/PowerMeterReadModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/PowerMeterReadModel" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/PowerMeterReadModel" } }, "text/xml": { "schema": { "$ref": "#/components/schemas/PowerMeterReadModel" } } } } } } }, "/api/v1.0/ProductionTarget/plant/{plantId}": { "get": { "tags": [ "ProductionTarget" ], "summary": "MinLevel:ReadService", "operationId": "GetProductionTargets", "parameters": [ { "name": "plantId", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } }, { "name": "year", "in": "query", "required": true, "schema": { "type": "integer", "format": "int32" } }, { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ProductionTargetModel" } } }, "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ProductionTargetModel" } } }, "text/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ProductionTargetModel" } } }, "application/xml": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ProductionTargetModel" } } }, "text/xml": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ProductionTargetModel" } } } } } } } }, "/api/v1.0/QuarterHourlyValue": { "get": { "tags": [ "QuarterHourlyValue" ], "summary": "MinLevel:ReadService", "operationId": "GetQuarterHourlyValues", "parameters": [ { "name": "onlyCurrent", "in": "query", "required": true, "schema": { "type": "boolean" } }, { "name": "powerMeterId", "in": "query", "schema": { "type": "integer", "format": "int64" } }, { "name": "powerMeterIds", "in": "query", "schema": { "type": "array", "items": { "type": "integer", "format": "int64" } } }, { "name": "source", "in": "query", "schema": { "$ref": "#/components/schemas/Source" } }, { "name": "from", "in": "query", "schema": { "type": "string", "format": "date-time" } }, { "name": "to", "in": "query", "schema": { "type": "string", "format": "date-time" } }, { "name": "quarterHourlyValueId", "in": "query", "schema": { "type": "integer", "format": "int64" } }, { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/QuarterHourlyValueReadModel" } } }, "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/QuarterHourlyValueReadModel" } } }, "text/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/QuarterHourlyValueReadModel" } } }, "application/xml": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/QuarterHourlyValueReadModel" } } }, "text/xml": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/QuarterHourlyValueReadModel" } } } } } } }, "post": { "tags": [ "QuarterHourlyValue" ], "summary": "", "operationId": "AddQuarterHourlyValue", "parameters": [ { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/QuarterHourlyValueModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/QuarterHourlyValueModel" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/QuarterHourlyValueModel" } } } }, "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/QuarterHourlyValueReadModel" } }, "application/json": { "schema": { "$ref": "#/components/schemas/QuarterHourlyValueReadModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/QuarterHourlyValueReadModel" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/QuarterHourlyValueReadModel" } }, "text/xml": { "schema": { "$ref": "#/components/schemas/QuarterHourlyValueReadModel" } } } } } } }, "/api/v1.0/QuarterHourlyValue/{quarterHourlyValueId}": { "put": { "tags": [ "QuarterHourlyValue" ], "summary": "", "operationId": "UpdateQuarterHourlyValue", "parameters": [ { "name": "quarterHourlyValueId", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } }, { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/QuarterHourlyValueModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/QuarterHourlyValueModel" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/QuarterHourlyValueModel" } } } }, "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/QuarterHourlyValueReadModel" } }, "application/json": { "schema": { "$ref": "#/components/schemas/QuarterHourlyValueReadModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/QuarterHourlyValueReadModel" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/QuarterHourlyValueReadModel" } }, "text/xml": { "schema": { "$ref": "#/components/schemas/QuarterHourlyValueReadModel" } } } } } }, "delete": { "tags": [ "QuarterHourlyValue" ], "summary": "", "operationId": "DeleteQuarterHourlyValue", "parameters": [ { "name": "quarterHourlyValueId", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } }, { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success" } } } }, "/api/v1.0/RealSalesValue": { "get": { "tags": [ "RealSalesValue" ], "summary": "MinLevel:ReadService", "operationId": "GetCurrentRealSalesValues", "parameters": [ { "name": "plantId", "in": "query", "required": true, "schema": { "type": "integer", "format": "int64" } }, { "name": "year", "in": "query", "schema": { "type": "integer", "format": "int32" } }, { "name": "month", "in": "query", "schema": { "type": "integer", "format": "int32" } }, { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/RealSalesValueModel" } } }, "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/RealSalesValueModel" } } }, "text/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/RealSalesValueModel" } } }, "application/xml": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/RealSalesValueModel" } } }, "text/xml": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/RealSalesValueModel" } } } } } } }, "put": { "tags": [ "RealSalesValue" ], "summary": "", "operationId": "UpsertRealSalesValue", "parameters": [ { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RealSalesValueModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RealSalesValueModel" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/RealSalesValueModel" } } } }, "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RealSalesValueModel" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RealSalesValueModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RealSalesValueModel" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/RealSalesValueModel" } }, "text/xml": { "schema": { "$ref": "#/components/schemas/RealSalesValueModel" } } } } } } }, "/api/v1.0/RealSalesValue/history": { "get": { "tags": [ "RealSalesValue" ], "summary": "MinLevel:ReadService", "operationId": "GetHistoricRealSalesValues", "parameters": [ { "name": "plantId", "in": "query", "required": true, "schema": { "type": "integer", "format": "int64" } }, { "name": "year", "in": "query", "schema": { "type": "integer", "format": "int32" } }, { "name": "month", "in": "query", "schema": { "type": "integer", "format": "int32" } }, { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/RealSalesValueModel" } } }, "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/RealSalesValueModel" } } }, "text/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/RealSalesValueModel" } } }, "application/xml": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/RealSalesValueModel" } } }, "text/xml": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/RealSalesValueModel" } } } } } } } }, "/api/v1.0/Sales/plant/{plantId}": { "get": { "tags": [ "Sales" ], "summary": "MinLevel:ReadService", "operationId": "GetMonthlySales", "parameters": [ { "name": "plantId", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } }, { "name": "year", "in": "query", "required": true, "schema": { "type": "integer", "format": "int32" } }, { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/MonthlySalesModel" } } }, "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/MonthlySalesModel" } } }, "text/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/MonthlySalesModel" } } }, "application/xml": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/MonthlySalesModel" } } }, "text/xml": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/MonthlySalesModel" } } } } } } } }, "/api/v1.0/Settings": { "get": { "tags": [ "Settings" ], "summary": "", "operationId": "GetSettings", "parameters": [ { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/SettingsReadModel" } }, "application/json": { "schema": { "$ref": "#/components/schemas/SettingsReadModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/SettingsReadModel" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/SettingsReadModel" } }, "text/xml": { "schema": { "$ref": "#/components/schemas/SettingsReadModel" } } } } } } }, "/api/v1.0/TraderImport/auto-import": { "post": { "tags": [ "TraderImport" ], "summary": "MinLevel:Unknown", "operationId": "AutoImportFromTrader", "parameters": [ { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success" } } } }, "/api/v1.0/TruthTableExport/plant/{pod}": { "get": { "tags": [ "TruthTableExport" ], "summary": "MinLevel:ReadService", "operationId": "ExportTruthTable", "parameters": [ { "name": "pod", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "yearFrom", "in": "query", "required": true, "schema": { "type": "integer", "format": "int32" } }, { "name": "yearTo", "in": "query", "required": true, "schema": { "type": "integer", "format": "int32" } }, { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/TruthTableExportModel" } }, "application/json": { "schema": { "$ref": "#/components/schemas/TruthTableExportModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/TruthTableExportModel" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/TruthTableExportModel" } }, "text/xml": { "schema": { "$ref": "#/components/schemas/TruthTableExportModel" } } } } } } }, "/api/v1.0/WattdeskImport/import": { "post": { "tags": [ "WattdeskImport" ], "summary": "MinLevel:Member", "operationId": "Import", "parameters": [ { "name": "plantKey", "in": "query", "schema": { "type": "integer", "format": "int64" } }, { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success" } } } } }, "components": { "schemas": { "BooleanDtoField": { "type": "object", "properties": { "Value": { "type": "boolean", "readOnly": true } }, "additionalProperties": false }, "CheckInterval": { "enum": [ "Monthly", "Yearly" ], "type": "string" }, "CheckIntervalDtoField": { "type": "object", "properties": { "Value": { "$ref": "#/components/schemas/CheckInterval" } }, "additionalProperties": false }, "CompanyGroupModel": { "required": [ "Name" ], "type": "object", "properties": { "Name": { "type": "string", "nullable": true, "readOnly": true } }, "additionalProperties": false }, "CompanyGroupModelDtoField": { "type": "object", "properties": { "Value": { "$ref": "#/components/schemas/CompanyGroupModel" } }, "additionalProperties": false }, "CompanyGroupReadModel": { "required": [ "Name" ], "type": "object", "properties": { "Name": { "type": "string", "nullable": true, "readOnly": true }, "CompanyGroupId": { "type": "integer", "format": "int64" } }, "additionalProperties": false }, "CompanyListModel": { "required": [ "Name" ], "type": "object", "properties": { "CompanyId": { "type": "integer", "format": "int64", "readOnly": true }, "Name": { "type": "string", "nullable": true, "readOnly": true }, "Piva": { "type": "string", "nullable": true, "readOnly": true }, "CompanyGroup": { "$ref": "#/components/schemas/CompanyGroupModel" } }, "additionalProperties": false }, "CompanyListModelDtoField": { "type": "object", "properties": { "Value": { "$ref": "#/components/schemas/CompanyListModel" } }, "additionalProperties": false }, "CompanyReadModel": { "required": [ "Name" ], "type": "object", "properties": { "Name": { "type": "string", "nullable": true, "readOnly": true }, "CompanyGroupId": { "type": "integer", "format": "int64", "nullable": true }, "Piva": { "type": "string", "nullable": true, "readOnly": true }, "CompanyId": { "type": "integer", "format": "int64" } }, "additionalProperties": false }, "ConfirmedOverflowModel": { "required": [ "Month", "PowerMeterId", "Year" ], "type": "object", "properties": { "PowerMeterId": { "type": "integer", "format": "int64", "readOnly": true }, "Year": { "type": "integer", "format": "int32", "readOnly": true }, "Month": { "type": "integer", "format": "int32", "readOnly": true } }, "additionalProperties": false }, "ConfirmedOverflowReadModel": { "required": [ "ConfirmedOverflowId", "Month", "PowerMeterId", "Year" ], "type": "object", "properties": { "PowerMeterId": { "type": "integer", "format": "int64", "readOnly": true }, "Year": { "type": "integer", "format": "int32", "readOnly": true }, "Month": { "type": "integer", "format": "int32", "readOnly": true }, "ConfirmedOverflowId": { "type": "integer", "format": "int64" }, "MemberId": { "type": "integer", "format": "int64", "nullable": true }, "UserName": { "type": "string", "nullable": true } }, "additionalProperties": false }, "DateTimeDtoField": { "type": "object", "properties": { "Value": { "type": "string", "format": "date-time", "readOnly": true } }, "additionalProperties": false }, "DateTimeNullableDtoField": { "type": "object", "properties": { "Value": { "type": "string", "format": "date-time", "nullable": true, "readOnly": true } }, "additionalProperties": false }, "DecimalNullableDtoField": { "type": "object", "properties": { "Value": { "type": "number", "format": "double", "nullable": true, "readOnly": true } }, "additionalProperties": false }, "ErrorData_DifferenceGSEAndTruthTooHigh": { "type": "object", "properties": { "RelativeDiffLimit": { "type": "number", "format": "double" }, "RelativeDiffActual": { "type": "number", "format": "double" }, "GseValue": { "type": "number", "format": "double" }, "TrueValue": { "type": "number", "format": "double" } }, "additionalProperties": false }, "ErrorData_MaxDiffProdAndFeederExceeded": { "type": "object", "properties": { "SumProduction": { "type": "number", "format": "double" }, "SumFeeder": { "type": "number", "format": "double" }, "MaxDiffRelative": { "type": "number", "format": "double" } }, "additionalProperties": false }, "ErrorData_MissingValue": { "type": "object", "properties": { "SourcesWithValues": { "type": "array", "items": { "$ref": "#/components/schemas/Source" }, "nullable": true }, "HasData": { "type": "boolean" }, "WeakPreviousSource": { "type": "boolean" } }, "additionalProperties": false }, "ErrorData_NegativePower": { "type": "object", "additionalProperties": false }, "ErrorData_SumProductionLessThanFeeder": { "type": "object", "properties": { "SumProduction": { "type": "number", "format": "double" }, "SumFeeder": { "type": "number", "format": "double" } }, "additionalProperties": false }, "ErrorLevel": { "enum": [ "Warning", "Error" ], "type": "string" }, "ErrorType": { "enum": [ "MissingValue", "SumProductionLessThanFeeder", "DifferenceGSEAndTruthTooHigh", "MaxDiffProdAndFeederExceeded", "NegativePower" ], "type": "string" }, "ErrorTypeDtoField": { "type": "object", "properties": { "Value": { "$ref": "#/components/schemas/ErrorType" } }, "additionalProperties": false }, "ExportAddModel": { "required": [ "Language", "MailReceivers", "Plants" ], "type": "object", "properties": { "Language": { "minLength": 1, "type": "string" }, "MailReceivers": { "type": "array", "items": { "type": "string" } }, "Plants": { "type": "array", "items": { "$ref": "#/components/schemas/ExportPlantAddModel" } } }, "additionalProperties": false }, "ExportPlantAddModel": { "required": [ "PlantId" ], "type": "object", "properties": { "PlantId": { "type": "integer", "format": "int64" } }, "additionalProperties": false }, "ExportReadModel": { "required": [ "InverterExportId", "Language", "MailReceivers", "Plants" ], "type": "object", "properties": { "Language": { "minLength": 1, "type": "string" }, "MailReceivers": { "type": "array", "items": { "type": "string" } }, "Plants": { "type": "array", "items": { "$ref": "#/components/schemas/ExportPlantAddModel" } }, "InverterExportId": { "type": "integer", "format": "int64" } }, "additionalProperties": false }, "ExportTestModel": { "required": [ "MailReceiver" ], "type": "object", "properties": { "MailReceiver": { "minLength": 1, "type": "string" } }, "additionalProperties": false }, "GroupedPlantErrors": { "type": "object", "properties": { "Level": { "$ref": "#/components/schemas/ErrorLevel" }, "Type": { "$ref": "#/components/schemas/ErrorType" }, "Amount": { "type": "integer", "format": "int32" } }, "additionalProperties": false }, "GroupedPlantErrorsListDtoField": { "type": "object", "properties": { "Value": { "type": "array", "items": { "$ref": "#/components/schemas/GroupedPlantErrors" }, "nullable": true, "readOnly": true } }, "additionalProperties": false }, "IgnoredPlantErrorAddModel": { "required": [ "PlantId", "Type" ], "type": "object", "properties": { "PlantId": { "type": "integer", "format": "int64", "readOnly": true }, "Type": { "$ref": "#/components/schemas/ErrorType" }, "Year": { "type": "integer", "format": "int32", "nullable": true, "readOnly": true }, "Month": { "type": "integer", "format": "int32", "nullable": true, "readOnly": true }, "Indicator": { "type": "string", "nullable": true, "readOnly": true } }, "additionalProperties": false }, "IgnoredPlantErrorReadModel": { "required": [ "PlantId", "Type" ], "type": "object", "properties": { "PlantId": { "type": "integer", "format": "int64", "readOnly": true }, "Type": { "$ref": "#/components/schemas/ErrorType" }, "Year": { "type": "integer", "format": "int32", "nullable": true, "readOnly": true }, "Month": { "type": "integer", "format": "int32", "nullable": true, "readOnly": true }, "Indicator": { "type": "string", "nullable": true, "readOnly": true }, "IgnoredPlantErrorId": { "type": "integer", "format": "int64" } }, "additionalProperties": false }, "ImportErrorModel": { "type": "object", "properties": { "ImportErrorId": { "type": "integer", "format": "int64" }, "Source": { "$ref": "#/components/schemas/Source" }, "FileName": { "type": "string", "nullable": true }, "Timestamp": { "type": "string", "format": "date-time" }, "IsResolved": { "type": "boolean" }, "ErrorMessage": { "type": "string", "nullable": true }, "ErrorInfo": { "type": "string", "nullable": true } }, "additionalProperties": false }, "IndicatorModel_MonthlyPowerMeter": { "type": "object", "properties": { "PowerMeterId": { "type": "integer", "format": "int64" }, "Source": { "$ref": "#/components/schemas/Source" } }, "additionalProperties": false }, "Int32DtoField": { "type": "object", "properties": { "Value": { "type": "integer", "format": "int32", "readOnly": true } }, "additionalProperties": false }, "Int32NullableDtoField": { "type": "object", "properties": { "Value": { "type": "integer", "format": "int32", "nullable": true, "readOnly": true } }, "additionalProperties": false }, "Int64DtoField": { "type": "object", "properties": { "Value": { "type": "integer", "format": "int64", "readOnly": true } }, "additionalProperties": false }, "Int64NullableDtoField": { "type": "object", "properties": { "Value": { "type": "integer", "format": "int64", "nullable": true, "readOnly": true } }, "additionalProperties": false }, "ManualReadingImportModel": { "required": [ "ManualReadings" ], "type": "object", "properties": { "ManualReadings": { "type": "array", "items": { "$ref": "#/components/schemas/ManualReadingModel" } }, "AbortOnPlantError": { "type": "boolean", "readOnly": true } }, "additionalProperties": false }, "ManualReadingModel": { "required": [ "PowerMeterId", "Timestamp" ], "type": "object", "properties": { "PowerMeterId": { "type": "integer", "format": "int64", "nullable": true, "readOnly": true }, "Timestamp": { "type": "string", "format": "date-time", "nullable": true, "readOnly": true }, "TimestampReading": { "type": "string", "format": "date-time", "nullable": true, "readOnly": true }, "MeterValue": { "type": "number", "format": "double", "nullable": true, "readOnly": true }, "F1MeterValue": { "type": "number", "format": "double", "nullable": true, "readOnly": true }, "F2MeterValue": { "type": "number", "format": "double", "nullable": true, "readOnly": true }, "F3MeterValue": { "type": "number", "format": "double", "nullable": true, "readOnly": true }, "Note": { "type": "string", "nullable": true, "readOnly": true } }, "additionalProperties": false }, "MonthlySalesModel": { "type": "object", "properties": { "Year": { "type": "integer", "format": "int32" }, "Month": { "type": "integer", "format": "int32" }, "TheoreticalSalesPrice": { "type": "number", "format": "double", "nullable": true }, "RealSalesValue": { "type": "number", "format": "double", "nullable": true }, "Funding": { "type": "number", "format": "double", "nullable": true }, "ProdTargetBasedFunding": { "type": "number", "format": "double", "nullable": true }, "ProdTargetBasedSalesPrice": { "type": "number", "format": "double", "nullable": true }, "TheoreticalSalesPriceCalculation": { "$ref": "#/components/schemas/SalesPriceCalculationModel" } }, "additionalProperties": false }, "MonthlyValueDeltaModel": { "required": [ "Month", "PowerMeterId", "Year" ], "type": "object", "properties": { "MonthlyValueId": { "type": "integer", "format": "int64", "nullable": true }, "PowerMeterId": { "type": "integer", "format": "int64" }, "Year": { "type": "integer", "format": "int32" }, "Month": { "type": "integer", "format": "int32" }, "Power": { "type": "number", "format": "double", "nullable": true }, "PowerDelta": { "type": "number", "format": "double", "nullable": true } }, "additionalProperties": false }, "MonthlyValueModel": { "required": [ "Month", "PowerMeterId", "Source", "Year" ], "type": "object", "properties": { "PowerMeterId": { "type": "integer", "format": "int64" }, "Source": { "$ref": "#/components/schemas/Source" }, "Year": { "type": "integer", "format": "int32" }, "Month": { "type": "integer", "format": "int32" }, "Power": { "type": "number", "format": "double", "nullable": true }, "MeterValue": { "type": "number", "format": "double", "nullable": true }, "Note": { "type": "string", "nullable": true }, "IsWrong": { "type": "boolean", "readOnly": true } }, "additionalProperties": false }, "MonthlyValueReadModel": { "required": [ "Month", "PowerMeterId", "Source", "Year" ], "type": "object", "properties": { "PowerMeterId": { "type": "integer", "format": "int64" }, "Source": { "$ref": "#/components/schemas/Source" }, "Year": { "type": "integer", "format": "int32" }, "Month": { "type": "integer", "format": "int32" }, "Power": { "type": "number", "format": "double", "nullable": true }, "MeterValue": { "type": "number", "format": "double", "nullable": true }, "Note": { "type": "string", "nullable": true }, "IsWrong": { "type": "boolean", "readOnly": true }, "MonthlyValueId": { "type": "integer", "format": "int64", "nullable": true }, "MemberId": { "type": "integer", "format": "int64", "nullable": true }, "UserName": { "type": "string", "nullable": true }, "CreationTime": { "type": "string", "format": "date-time" }, "ValidUntil": { "type": "string", "format": "date-time", "nullable": true }, "ImportId": { "type": "integer", "format": "int64", "nullable": true } }, "additionalProperties": false }, "PlantDetailsModel": { "required": [ "Name" ], "type": "object", "properties": { "PlantId": { "type": "integer", "format": "int64" }, "Name": { "minLength": 1, "type": "string" }, "Zip": { "type": "string", "nullable": true }, "City": { "type": "string", "nullable": true }, "Address": { "type": "string", "nullable": true }, "Province": { "type": "string", "nullable": true }, "Pods": { "type": "array", "items": { "type": "string" }, "nullable": true }, "Responsible": { "type": "string", "nullable": true }, "StartDate": { "type": "string", "format": "date-time" }, "Company": { "$ref": "#/components/schemas/CompanyListModel" }, "PowerMeters": { "type": "array", "items": { "$ref": "#/components/schemas/PowerMeterReadModel" }, "nullable": true }, "Kwp": { "type": "number", "format": "double", "nullable": true }, "Tension": { "type": "string", "nullable": true }, "Cession": { "type": "string", "nullable": true }, "IsDeactivated": { "type": "boolean" }, "Note": { "type": "string", "nullable": true }, "ExternalContactName": { "type": "string", "nullable": true }, "ExternalContactEmail": { "type": "string", "nullable": true }, "CheckInterval": { "$ref": "#/components/schemas/CheckInterval" } }, "additionalProperties": false }, "PlantErrorModel": { "type": "object", "properties": { "PlantErrorId": { "type": "integer", "format": "int64" }, "PlantId": { "type": "integer", "format": "int64" }, "Type": { "$ref": "#/components/schemas/ErrorType" }, "Level": { "$ref": "#/components/schemas/ErrorLevel" }, "CreationTime": { "type": "string", "format": "date-time" }, "Indicator": { "type": "string", "nullable": true }, "Data": { "type": "string", "nullable": true }, "DefaultMessage": { "type": "string", "nullable": true }, "Year": { "type": "integer", "format": "int32" }, "Month": { "type": "integer", "format": "int32" }, "Ignored": { "type": "boolean" }, "IgnoredByIgnoredPlantErrorId": { "type": "integer", "format": "int64", "nullable": true } }, "additionalProperties": false }, "PlantListModel": { "required": [ "Name" ], "type": "object", "properties": { "PlantId": { "type": "integer", "format": "int64", "readOnly": true }, "Name": { "type": "string", "nullable": true, "readOnly": true }, "Zip": { "type": "string", "nullable": true, "readOnly": true }, "City": { "type": "string", "nullable": true, "readOnly": true }, "Address": { "type": "string", "nullable": true, "readOnly": true }, "Province": { "type": "string", "nullable": true, "readOnly": true }, "Pods": { "type": "array", "items": { "type": "string" }, "nullable": true, "readOnly": true }, "Responsible": { "type": "string", "nullable": true, "readOnly": true }, "Company": { "$ref": "#/components/schemas/CompanyListModel" }, "PlantErrors": { "type": "array", "items": { "$ref": "#/components/schemas/GroupedPlantErrors" }, "nullable": true, "readOnly": true }, "IsDeactivated": { "type": "boolean", "readOnly": true }, "Note": { "type": "string", "nullable": true, "readOnly": true } }, "additionalProperties": false }, "PlantReadModel": { "required": [ "Name", "PlantId" ], "type": "object", "properties": { "Name": { "type": "string", "nullable": true, "readOnly": true }, "CompanyId": { "type": "integer", "format": "int64", "nullable": true, "readOnly": true }, "Zip": { "type": "string", "nullable": true, "readOnly": true }, "City": { "type": "string", "nullable": true, "readOnly": true }, "Address": { "type": "string", "nullable": true, "readOnly": true }, "Province": { "type": "string", "nullable": true, "readOnly": true }, "Pods": { "type": "array", "items": { "type": "string" }, "nullable": true, "readOnly": true }, "Responsible": { "type": "string", "nullable": true, "readOnly": true }, "StartDate": { "type": "string", "format": "date-time", "readOnly": true }, "Kwp": { "type": "number", "format": "double", "nullable": true, "readOnly": true }, "Tension": { "type": "string", "nullable": true, "readOnly": true }, "Cession": { "type": "string", "nullable": true, "readOnly": true }, "IsDeactivated": { "type": "boolean", "readOnly": true }, "Note": { "type": "string", "nullable": true, "readOnly": true }, "ExternalContactName": { "type": "string", "nullable": true, "readOnly": true }, "ExternalContactEmail": { "type": "string", "nullable": true, "readOnly": true }, "CheckInterval": { "$ref": "#/components/schemas/CheckInterval" }, "PlantId": { "type": "integer", "format": "int64" } }, "additionalProperties": false }, "PowerMeterReadModel": { "required": [ "PlantId", "PowerMeterId" ], "type": "object", "properties": { "PlantId": { "type": "integer", "format": "int64", "readOnly": true }, "Name": { "type": "string", "nullable": true, "readOnly": true }, "MatriculationNumber": { "type": "string", "nullable": true, "readOnly": true }, "KFactor": { "type": "number", "format": "double", "nullable": true, "readOnly": true }, "IsManActivated": { "type": "boolean", "readOnly": true }, "IsLpActivated": { "type": "boolean", "readOnly": true }, "IsMonapiActivated": { "type": "boolean", "readOnly": true }, "IsEnelActivated": { "type": "boolean", "readOnly": true }, "IsEdynaActivated": { "type": "boolean", "readOnly": true }, "IsGseActivated": { "type": "boolean", "readOnly": true }, "IsInverterActivated": { "type": "boolean", "readOnly": true }, "IsTraderActivated": { "type": "boolean", "readOnly": true }, "PreDecimals": { "type": "integer", "format": "int32", "readOnly": true }, "DecimalPlaces": { "type": "integer", "format": "int32", "readOnly": true }, "Type": { "$ref": "#/components/schemas/PowerMeterType" }, "InvertRegisterOfProductionOrFeeding": { "type": "boolean", "readOnly": true }, "StartDate": { "type": "string", "format": "date-time", "nullable": true, "readOnly": true }, "EndDate": { "type": "string", "format": "date-time", "nullable": true, "readOnly": true }, "StartMeterValue": { "type": "number", "format": "double", "nullable": true, "readOnly": true }, "EndMeterValue": { "type": "number", "format": "double", "nullable": true, "readOnly": true }, "PowerMeterId": { "type": "integer", "format": "int64" } }, "additionalProperties": false }, "PowerMeterType": { "enum": [ "Production", "Feeder", "ProductionSum", "Drain", "Loss" ], "type": "string" }, "PowerMeterTypeDtoField": { "type": "object", "properties": { "Value": { "$ref": "#/components/schemas/PowerMeterType" } }, "additionalProperties": false }, "ProductionTargetModel": { "type": "object", "properties": { "Year": { "type": "integer", "format": "int32" }, "Month": { "type": "integer", "format": "int32" }, "Power": { "type": "number", "format": "double" }, "OriginalYear": { "type": "integer", "format": "int32" }, "OriginalPower": { "type": "number", "format": "double" }, "DegradationPerYear": { "type": "number", "format": "double" }, "RealToTargetPowerDiff": { "type": "number", "format": "double", "nullable": true } }, "additionalProperties": false }, "QuarterHourlyValueModel": { "required": [ "PowerMeterId", "Source", "Timestamp" ], "type": "object", "properties": { "PowerMeterId": { "type": "integer", "format": "int64" }, "Source": { "$ref": "#/components/schemas/Source" }, "Timestamp": { "type": "string", "format": "date-time" }, "MeterValue": { "type": "number", "format": "double", "nullable": true }, "Note": { "type": "string", "nullable": true } }, "additionalProperties": false }, "QuarterHourlyValueReadModel": { "required": [ "PowerMeterId", "Source", "Timestamp" ], "type": "object", "properties": { "PowerMeterId": { "type": "integer", "format": "int64" }, "Source": { "$ref": "#/components/schemas/Source" }, "Timestamp": { "type": "string", "format": "date-time" }, "MeterValue": { "type": "number", "format": "double", "nullable": true }, "Note": { "type": "string", "nullable": true }, "QuarterHourlyValueId": { "type": "integer", "format": "int64" }, "MemberId": { "type": "integer", "format": "int64", "nullable": true }, "CreationTime": { "type": "string", "format": "date-time" }, "ValidUntil": { "type": "string", "format": "date-time", "nullable": true } }, "additionalProperties": false }, "RealSalesValueModel": { "required": [ "Amount", "Month", "PlantId", "Year" ], "type": "object", "properties": { "PlantId": { "type": "integer", "format": "int64", "readOnly": true }, "Year": { "type": "integer", "format": "int32", "readOnly": true }, "Month": { "type": "integer", "format": "int32", "readOnly": true }, "Amount": { "type": "number", "format": "double", "nullable": true, "readOnly": true } }, "additionalProperties": false }, "ResolveImportErrorModel": { "required": [ "ImportErrorId", "Resolved" ], "type": "object", "properties": { "ImportErrorId": { "type": "integer", "format": "int64", "readOnly": true }, "Resolved": { "type": "boolean", "readOnly": true } }, "additionalProperties": false }, "ResolveImportErrorsModel": { "required": [ "ImportErrors" ], "type": "object", "properties": { "ImportErrors": { "type": "array", "items": { "$ref": "#/components/schemas/ResolveImportErrorModel" } } }, "additionalProperties": false }, "SalesPriceCalculationModel": { "type": "object", "properties": { "Tradername": { "type": "string", "nullable": true }, "IsLordo": { "type": "boolean" }, "FixedPrice": { "type": "number", "format": "double", "nullable": true }, "FallbackPrice": { "type": "number", "format": "double", "nullable": true }, "OffsetZonePrice": { "type": "number", "format": "double", "nullable": true }, "SalesPriceSource": { "$ref": "#/components/schemas/SalesPriceSource" }, "LossPercentage": { "type": "number", "format": "double", "nullable": true }, "From": { "type": "string", "format": "date-time", "nullable": true }, "To": { "type": "string", "format": "date-time", "nullable": true } }, "additionalProperties": false }, "SalesPriceSource": { "enum": [ "FixedPrice", "FallbackPrice" ], "type": "string" }, "SettingsReadModel": { "type": "object", "properties": { "FilesBasePath": { "type": "string", "nullable": true } }, "additionalProperties": false }, "Source": { "enum": [ "PM_EndOfLife", "Man", "Lp", "Edyna", "Enel", "Trader", "SimulatedByProdSum", "Gse", "Inverter", "Monapi", "PM_StartOfLife" ], "type": "string" }, "StringDtoField": { "type": "object", "properties": { "Value": { "type": "string", "nullable": true, "readOnly": true } }, "additionalProperties": false }, "StringListDtoField": { "type": "object", "properties": { "Value": { "type": "array", "items": { "type": "string" }, "nullable": true, "readOnly": true } }, "additionalProperties": false }, "TruthTableExportModel": { "type": "object", "properties": { "ProdSum": { "type": "array", "items": { "$ref": "#/components/schemas/MonthlyValueReadModel" }, "nullable": true }, "Feeder": { "type": "array", "items": { "$ref": "#/components/schemas/MonthlyValueReadModel" }, "nullable": true }, "ProductionTarget": { "type": "array", "items": { "$ref": "#/components/schemas/ProductionTargetModel" }, "nullable": true }, "Sales": { "type": "array", "items": { "$ref": "#/components/schemas/MonthlySalesModel" }, "nullable": true }, "PlantErrors": { "type": "array", "items": { "$ref": "#/components/schemas/PlantErrorModel" }, "nullable": true } }, "additionalProperties": false }, "UInt32DtoField": { "type": "object", "properties": { "Value": { "type": "integer", "format": "int32", "readOnly": true } }, "additionalProperties": false }, "UserRightsModel": { "type": "object", "properties": { "id": { "type": "string", "format": "uuid" }, "email": { "type": "string", "nullable": true }, "accessRights": { "type": "array", "items": { "type": "integer", "format": "int32" }, "nullable": true } }, "additionalProperties": false } }, "securitySchemes": { "Bearer": { "type": "apiKey", "description": "JWT Authorization header using the Bearer scheme. Example: \"Authorization: Bearer {token}\"", "name": "Authorization", "in": "header" }, "Device-Token": { "type": "apiKey", "description": "Device-Token", "name": "Device-Token", "in": "header" } } }, "security": [ { "Bearer": [], "Device-Token": [] } ] }