{ "openapi": "3.0.1", "info": { "title": "Aldes.Core.WebAPI", "description": "Aldes Connect APIs available for user management, product management and data consultation.", "contact": { "name": "Econocom", "url": "https://www.econocom.com/", "email": "" }, "version": "5.0" }, "paths": { "/aldesoc/v5/users": { "post": { "tags": [ "Account" ], "summary": "Creates a new user with an email address and a password.\r\nMoreover, it creates the user profile including the linked\r\nproduct (optional) and the answers to the survey (optional).", "requestBody": { "description": "Encrypted CreateUserModel", "content": { "text/plain": { "schema": { "type": "string" } }, "raw/text": { "schema": { "type": "string" } }, "application/octet-stream": { "schema": { "type": "string" } }, "application/json-patch+json": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } }, "application/*+json": { "schema": { "type": "string" } } } }, "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } } } }, "201": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/PostCreateUserBodyParametersModel" } }, "application/json": { "schema": { "$ref": "#/components/schemas/PostCreateUserBodyParametersModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/PostCreateUserBodyParametersModel" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Forbidden", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "503": { "description": "Server Error" } } } }, "/aldesoc/v5/users/{userId}/products/sowee": { "delete": { "tags": [ "Sowee" ], "summary": "Fully deletes the specified sowee product for the current user.\r\nIt deletes this sowee product from any associated products (masters and slaves) if existing", "parameters": [ { "name": "userId", "in": "path", "description": "The user identifier.", "required": true, "schema": { "type": "string", "default": null } } ], "responses": { "200": { "description": "Success" }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Server Error" } } } }, "/aldesoc/v5/users/{userId}/products/sowee/commands/{method}/{command}/{dateDebut}/{dateFin}": { "post": { "tags": [ "Sowee" ], "summary": "Posts the user command.", "parameters": [ { "name": "userId", "in": "path", "description": "The userid.", "required": true, "schema": { "type": "string", "default": null } }, { "name": "method", "in": "path", "description": "Type of the command.", "required": true, "schema": { "type": "string", "default": null } }, { "name": "command", "in": "path", "description": "The command.", "required": true, "schema": { "type": "string", "default": null } }, { "name": "dateDebut", "in": "path", "description": "The date debut.", "required": true, "schema": { "type": "string", "default": null } }, { "name": "dateFin", "in": "path", "description": "The date fin.", "required": true, "schema": { "type": "string", "default": null } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/FacadeCommandModel" } } }, "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/FacadeCommandModel" } } }, "text/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/FacadeCommandModel" } } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Server Error" } } } }, "/aldesoc/v5/users/{userId}/products/sowee/iaqs/last": { "get": { "tags": [ "Sowee" ], "summary": "Gets the last iaq measure for the sowee product.", "parameters": [ { "name": "userId", "in": "path", "description": "The userid.", "required": true, "schema": { "type": "string", "default": null } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/IndoorAirQuality" } }, "application/json": { "schema": { "$ref": "#/components/schemas/IndoorAirQuality" } }, "text/json": { "schema": { "$ref": "#/components/schemas/IndoorAirQuality" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Server Error" } } } }, "/aldesoc/v5/users/{userId}/products/sowee/measures": { "post": { "tags": [ "Sowee" ], "summary": "Posts the associated measures to the sowee server.\r\nThis way, the sowee server is aware of new data associated to the sowee device", "parameters": [ { "name": "userId", "in": "path", "description": "The userid.", "required": true, "schema": { "type": "string", "default": null } } ], "requestBody": { "description": "The measures.", "content": { "text/plain": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Measure" } } }, "raw/text": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Measure" } } }, "application/octet-stream": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Measure" } } }, "application/json-patch+json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Measure" } } }, "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Measure" } } }, "text/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Measure" } } }, "application/*+json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Measure" } } } } }, "responses": { "201": { "description": "Success", "content": { "text/plain": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Measure" } } }, "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Measure" } } }, "text/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Measure" } } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Server Error" } } } }, "/aldesoc/v5/users/{userId}/products/sowee/register": { "post": { "tags": [ "Sowee" ], "summary": "Posts the sowee authorization code to the sowee server.\r\nThis code is used and enables the aldes cloud to retrieve (and store in database) an authorization token.", "parameters": [ { "name": "userId", "in": "path", "description": "The userid.", "required": true, "schema": { "type": "string", "default": null } } ], "requestBody": { "description": "The authorization code.", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/AuthorizationModel" } }, "raw/text": { "schema": { "$ref": "#/components/schemas/AuthorizationModel" } }, "application/octet-stream": { "schema": { "$ref": "#/components/schemas/AuthorizationModel" } }, "application/json-patch+json": { "schema": { "$ref": "#/components/schemas/AuthorizationModel" } }, "application/json": { "schema": { "$ref": "#/components/schemas/AuthorizationModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/AuthorizationModel" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/AuthorizationModel" } } } }, "responses": { "201": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ProductModel" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ProductModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ProductModel" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Server Error" } } } }, "/aldesoc/v5/users/me": { "get": { "tags": [ "Account" ], "summary": "Returns all user information, including linked products and personal data.", "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ProfileModel" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ProfileModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ProfileModel" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Forbidden", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "503": { "description": "Server Error" } }, "security": [ { "oauth2": [ null ] } ] }, "put": { "tags": [ "Account" ], "summary": "Updates user information, linked products, survey answers and personal data.", "requestBody": { "description": "", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ProfileModel" } }, "raw/text": { "schema": { "$ref": "#/components/schemas/ProfileModel" } }, "application/octet-stream": { "schema": { "$ref": "#/components/schemas/ProfileModel" } }, "application/json-patch+json": { "schema": { "$ref": "#/components/schemas/ProfileModel" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ProfileModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ProfileModel" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/ProfileModel" } } } }, "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ProfileModel" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ProfileModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ProfileModel" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Forbidden", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "503": { "description": "Server Error" } }, "security": [ { "oauth2": [ null ] } ] }, "delete": { "tags": [ "Account" ], "summary": "Deletes the user that executes the request\r\nIf forceAnonymization is set to true, then all user data is anonymized\r\nOtherwise data is kept unanonymized.", "requestBody": { "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/DeleteUserModel" } }, "raw/text": { "schema": { "$ref": "#/components/schemas/DeleteUserModel" } }, "application/octet-stream": { "schema": { "$ref": "#/components/schemas/DeleteUserModel" } }, "application/json-patch+json": { "schema": { "$ref": "#/components/schemas/DeleteUserModel" } }, "application/json": { "schema": { "$ref": "#/components/schemas/DeleteUserModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/DeleteUserModel" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/DeleteUserModel" } } } }, "responses": { "200": { "description": "Success" }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Forbidden", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "503": { "description": "Server Error" } }, "security": [ { "oauth2": [ null ] } ] } }, "/aldesoc/v5/users/me/gpdr-validate": { "patch": { "tags": [ "Account" ], "summary": "Validate GPDR version", "requestBody": { "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/GpdrModel" } }, "raw/text": { "schema": { "$ref": "#/components/schemas/GpdrModel" } }, "application/octet-stream": { "schema": { "$ref": "#/components/schemas/GpdrModel" } }, "application/json-patch+json": { "schema": { "$ref": "#/components/schemas/GpdrModel" } }, "application/json": { "schema": { "$ref": "#/components/schemas/GpdrModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/GpdrModel" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/GpdrModel" } } } }, "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/HashKeyModel" } }, "application/json": { "schema": { "$ref": "#/components/schemas/HashKeyModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/HashKeyModel" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Forbidden", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "503": { "description": "Server Error" }, "500": { "description": "Server Error" } }, "security": [ { "oauth2": [ null ] } ] } }, "/aldesoc/v5/users/me/hashKey": { "get": { "tags": [ "Account" ], "summary": "Create and send to the user a new HashKey for registering products.", "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/HashKeyModel" } }, "application/json": { "schema": { "$ref": "#/components/schemas/HashKeyModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/HashKeyModel" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Forbidden", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "503": { "description": "Server Error" }, "500": { "description": "Server Error" } }, "security": [ { "oauth2": [ null ] } ] } }, "/aldesoc/v5/users/me/notification/preferences": { "get": { "tags": [ "Notification" ], "summary": "Returns a list of the device notification preferences", "responses": { "200": { "description": "Success" } }, "security": [ { "oauth2": [ null ] } ] }, "put": { "tags": [ "Notification" ], "summary": "Sets of the device notification preferences", "requestBody": { "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/UserProductPreferences" } }, "raw/text": { "schema": { "$ref": "#/components/schemas/UserProductPreferences" } }, "application/octet-stream": { "schema": { "$ref": "#/components/schemas/UserProductPreferences" } }, "application/json-patch+json": { "schema": { "$ref": "#/components/schemas/UserProductPreferences" } }, "application/json": { "schema": { "$ref": "#/components/schemas/UserProductPreferences" } }, "text/json": { "schema": { "$ref": "#/components/schemas/UserProductPreferences" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/UserProductPreferences" } } } }, "responses": { "200": { "description": "Success" } }, "security": [ { "oauth2": [ null ] } ] } }, "/aldesoc/v5/users/me/notification/register": { "put": { "tags": [ "Notification" ], "summary": "Updates the registration with the given DeviceRegistration object\r\nThis step requires authentication, as the registration is linked to the connected user id\r\nMobile app should handle 410 Status, indicating that the given id has expired, and ask for a new one", "parameters": [ { "name": "registrationId", "in": "query", "description": "The id should be the response of the HttpPost method on /register route", "schema": { "type": "string" } } ], "requestBody": { "description": "The device update object.", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/DeviceRegistrationModel" } }, "raw/text": { "schema": { "$ref": "#/components/schemas/DeviceRegistrationModel" } }, "application/octet-stream": { "schema": { "$ref": "#/components/schemas/DeviceRegistrationModel" } }, "application/json-patch+json": { "schema": { "$ref": "#/components/schemas/DeviceRegistrationModel" } }, "application/json": { "schema": { "$ref": "#/components/schemas/DeviceRegistrationModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/DeviceRegistrationModel" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/DeviceRegistrationModel" } } } }, "responses": { "200": { "description": "Success" }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "410": { "description": "Client Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Server Error" } }, "security": [ { "oauth2": [ null ] } ] }, "post": { "tags": [ "Notification" ], "summary": "Registers the specified handle.\r\nThe handle is the Firebase Cloud Messaging token retrieved by the mobile app\r\nThis is the first step of the registration process.\r\nReturns a new registration id no registration id is linked to given handle, otherwise returns existing id", "parameters": [ { "name": "handle", "in": "query", "description": "The handle.", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } } }, "security": [ { "oauth2": [ null ] } ] }, "delete": { "tags": [ "Notification" ], "summary": "Unregisters from the notification hub\r\nThe identifier is the response of HttpPost call on /register endpoint", "parameters": [ { "name": "id", "in": "query", "description": "The id should be the response of the HttpPost method on /register route", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success" }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "410": { "description": "Client Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Server Error" } }, "security": [ { "oauth2": [ null ] } ] } }, "/aldesoc/v5/users/me/products": { "post": { "tags": [ "Product" ], "summary": "Creates a new product for the current user.", "requestBody": { "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ProductModel" } }, "raw/text": { "schema": { "$ref": "#/components/schemas/ProductModel" } }, "application/octet-stream": { "schema": { "$ref": "#/components/schemas/ProductModel" } }, "application/json-patch+json": { "schema": { "$ref": "#/components/schemas/ProductModel" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ProductModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ProductModel" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/ProductModel" } } } }, "responses": { "201": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ProductModel" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ProductModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ProductModel" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Server Error" } }, "security": [ { "oauth2": [ null ] } ] }, "put": { "tags": [ "Product" ], "summary": "Updates product information with the given parameters.", "requestBody": { "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ProductModel" } }, "raw/text": { "schema": { "$ref": "#/components/schemas/ProductModel" } }, "application/octet-stream": { "schema": { "$ref": "#/components/schemas/ProductModel" } }, "application/json-patch+json": { "schema": { "$ref": "#/components/schemas/ProductModel" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ProductModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ProductModel" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/ProductModel" } } } }, "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ProductModel" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ProductModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ProductModel" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Forbidden", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "503": { "description": "Server Error" } }, "security": [ { "oauth2": [ null ] } ] }, "get": { "tags": [ "Product" ], "summary": "Returns all product information tor the current user.", "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ProductInfoFullModel" } } }, "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ProductInfoFullModel" } } }, "text/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ProductInfoFullModel" } } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "503": { "description": "Server Error" } }, "security": [ { "oauth2": [ null ] } ] } }, "/aldesoc/v5/users/me/products/{deviceId}": { "delete": { "tags": [ "Product" ], "summary": "Removes the product from the database", "parameters": [ { "name": "deviceId", "in": "path", "description": "The device identifier", "required": true, "schema": { "type": "string", "default": null } } ], "requestBody": { "description": "The model", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/DeleteProductModel" } }, "raw/text": { "schema": { "$ref": "#/components/schemas/DeleteProductModel" } }, "application/octet-stream": { "schema": { "$ref": "#/components/schemas/DeleteProductModel" } }, "application/json-patch+json": { "schema": { "$ref": "#/components/schemas/DeleteProductModel" } }, "application/json": { "schema": { "$ref": "#/components/schemas/DeleteProductModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/DeleteProductModel" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/DeleteProductModel" } } } }, "responses": { "200": { "description": "Success" }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "503": { "description": "Server Error" } }, "security": [ { "oauth2": [ null ] } ] }, "get": { "tags": [ "Product" ], "summary": "Retrieve the product by its identifier (mac address or id)", "description": "Get product infos, indicators, thermostats and plannings.", "parameters": [ { "name": "deviceId", "in": "path", "description": "The product mac address.", "required": true, "schema": { "type": "string", "default": null } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ProductInfoModel" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ProductInfoModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ProductInfoModel" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "503": { "description": "Server Error" } }, "security": [ { "oauth2": [ null ] } ] } }, "/aldesoc/v5/users/me/products/{deviceId}/commands": { "post": { "tags": [ "Product" ], "summary": "Sends the command to the device", "parameters": [ { "name": "deviceId", "in": "path", "description": "The device identifier.", "required": true, "schema": { "type": "string", "default": null } } ], "requestBody": { "description": "The RPC request.", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/JsonRpcRequest" } }, "raw/text": { "schema": { "$ref": "#/components/schemas/JsonRpcRequest" } }, "application/octet-stream": { "schema": { "$ref": "#/components/schemas/JsonRpcRequest" } }, "application/json-patch+json": { "schema": { "$ref": "#/components/schemas/JsonRpcRequest" } }, "application/json": { "schema": { "$ref": "#/components/schemas/JsonRpcRequest" } }, "text/json": { "schema": { "$ref": "#/components/schemas/JsonRpcRequest" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/JsonRpcRequest" } } } }, "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/FacadeCommandModel" } }, "application/json": { "schema": { "$ref": "#/components/schemas/FacadeCommandModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/FacadeCommandModel" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Server Error" } }, "security": [ { "oauth2": [ null ] } ] } }, "/aldesoc/v5/users/me/products/{DeviceId}/statistics/{startDateUtcStr}/{endDateUtcStr}/{granularity}": { "get": { "tags": [ "Product" ], "summary": "Returns the statistics for the given product identifier (macAddress or OQai id)", "parameters": [ { "name": "deviceId", "in": "path", "description": "The product mac address or OQai Id.", "required": true, "schema": { "type": "string", "default": null } }, { "name": "startDateUtcStr", "in": "path", "description": "The start date UTC string.", "required": true, "schema": { "type": "string", "default": null } }, { "name": "endDateUtcStr", "in": "path", "description": "The end date UTC string.", "required": true, "schema": { "type": "string", "default": null } }, { "name": "granularity", "in": "path", "description": "The granularity.", "required": true, "schema": { "type": "string", "default": null } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ProductStatisticsModel" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ProductStatisticsModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ProductStatisticsModel" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "503": { "description": "Server Error" } }, "security": [ { "oauth2": [ null ] } ] } }, "/aldesoc/v5/users/me/products/{oqaiID}/settings": { "get": { "tags": [ "OQai" ], "summary": "Returns the current oqai settings saved in database.\r\nThese settings can be used by the walter device or the mobile app for example.", "parameters": [ { "name": "oqaiID", "in": "path", "description": "The oqai identifier.", "required": true, "schema": { "type": "string", "default": null } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/OQaiSettingsModel" } }, "application/json": { "schema": { "$ref": "#/components/schemas/OQaiSettingsModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/OQaiSettingsModel" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Server Error" } }, "security": [ { "oauth2": [ null ] } ] }, "post": { "tags": [ "OQai" ], "summary": "Updates the oqai settings. \r\nThese settings are saved in database and used by the user interface and the walter device", "parameters": [ { "name": "oqaiID", "in": "path", "description": "The oqai identifier.", "required": true, "schema": { "type": "string", "default": null } } ], "requestBody": { "description": "The model.", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/OQaiSettingsModel" } }, "raw/text": { "schema": { "$ref": "#/components/schemas/OQaiSettingsModel" } }, "application/octet-stream": { "schema": { "$ref": "#/components/schemas/OQaiSettingsModel" } }, "application/json-patch+json": { "schema": { "$ref": "#/components/schemas/OQaiSettingsModel" } }, "application/json": { "schema": { "$ref": "#/components/schemas/OQaiSettingsModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/OQaiSettingsModel" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/OQaiSettingsModel" } } } }, "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/OQaiSettingsModel" } }, "application/json": { "schema": { "$ref": "#/components/schemas/OQaiSettingsModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/OQaiSettingsModel" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Server Error" } }, "security": [ { "oauth2": [ null ] } ] } }, "/aldesoc/v5/users/me/products/{productMacAddress}/cloudcontrollers": { "post": { "tags": [ "ProductLink" ], "summary": "Add this slave product to all possibles masters products linked to the current user.", "parameters": [ { "name": "productMacAddress", "in": "path", "description": "The slave product mac address.", "required": true, "schema": { "type": "string", "default": null } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ProductModel" } } }, "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ProductModel" } } }, "text/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ProductModel" } } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Server Error" } } }, "delete": { "tags": [ "ProductLink" ], "summary": "Remove this slave product from all possibles masters products linked to the current user.", "parameters": [ { "name": "productMacAddress", "in": "path", "description": "The slave product mac address.", "required": true, "schema": { "type": "string", "default": null } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ProductModel" } } }, "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ProductModel" } } }, "text/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ProductModel" } } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Server Error" } } } }, "/aldesoc/v5/users/me/products/{productMacAddress}/filters": { "patch": { "tags": [ "Filter" ], "summary": "Resets the current wear filter value of the given product and set the filter type installed.\r\nFilter type can be null.", "parameters": [ { "name": "productMacAddress", "in": "path", "description": "The product mac address.", "required": true, "schema": { "type": "string", "default": null } } ], "requestBody": { "description": "The filter type installed by the user.", "content": { "text/plain": { "schema": { "type": "integer", "format": "int32" } }, "raw/text": { "schema": { "type": "integer", "format": "int32" } }, "application/octet-stream": { "schema": { "type": "integer", "format": "int32" } }, "application/json-patch+json": { "schema": { "type": "integer", "format": "int32" } }, "application/json": { "schema": { "type": "integer", "format": "int32" } }, "text/json": { "schema": { "type": "integer", "format": "int32" } }, "application/*+json": { "schema": { "type": "integer", "format": "int32" } } } }, "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ProductModel" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ProductModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ProductModel" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Server Error" } }, "security": [ { "oauth2": [ null ] } ] } }, "/aldesoc/v5/users/me/products/{productMacAddress}/filters/types": { "get": { "tags": [ "Filter" ], "summary": "Returns all possible filter types for a given product.", "parameters": [ { "name": "productMacAddress", "in": "path", "description": "The product mac address.", "required": true, "schema": { "type": "string", "default": null } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/FilterType" } } }, "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/FilterType" } } }, "text/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/FilterType" } } } } } }, "security": [ { "oauth2": [ null ] } ] } }, "/aldesoc/v5/users/me/products/{productMacAddress}/filters/types/adequate": { "post": { "tags": [ "Filter" ], "summary": "Returns a list of adequate filter types according to the survey completed by the user (changeFilterResponseModel).", "parameters": [ { "name": "productMacAddress", "in": "path", "description": "The product mac address.", "required": true, "schema": { "type": "string", "default": null } } ], "requestBody": { "description": "The survey result completed by the user.", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ChangeFilterResponseModel" } }, "raw/text": { "schema": { "$ref": "#/components/schemas/ChangeFilterResponseModel" } }, "application/octet-stream": { "schema": { "$ref": "#/components/schemas/ChangeFilterResponseModel" } }, "application/json-patch+json": { "schema": { "$ref": "#/components/schemas/ChangeFilterResponseModel" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ChangeFilterResponseModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ChangeFilterResponseModel" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/ChangeFilterResponseModel" } } } }, "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/FilterType" } } }, "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/FilterType" } } }, "text/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/FilterType" } } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Server Error" } }, "security": [ { "oauth2": [ null ] } ] } }, "/aldesoc/v5/users/me/products/{productMacAddress}/links/{slaveProductId}": { "post": { "tags": [ "ProductLink" ], "summary": "Links a slave to a master product", "parameters": [ { "name": "productMacAddress", "in": "path", "description": "The master product mac address.", "required": true, "schema": { "type": "string", "default": null } }, { "name": "slaveProductId", "in": "path", "description": "The slave product identifier.", "required": true, "schema": { "type": "string", "default": null } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/LinkedProductsModel" } }, "application/json": { "schema": { "$ref": "#/components/schemas/LinkedProductsModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/LinkedProductsModel" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Server Error" } } }, "delete": { "tags": [ "ProductLink" ], "summary": "Unlink a slave from a master product.", "parameters": [ { "name": "productMacAddress", "in": "path", "description": "The master product mac address.", "required": true, "schema": { "type": "string", "default": null } }, { "name": "slaveProductId", "in": "path", "description": "The slave product identifier.", "required": true, "schema": { "type": "string", "default": null } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/LinkedProductsModel" } }, "application/json": { "schema": { "$ref": "#/components/schemas/LinkedProductsModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/LinkedProductsModel" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Server Error" } } } }, "/aldesoc/v5/users/me/products/{ProductMacAddress}/resetFilter": { "patch": { "tags": [ "Product" ], "summary": "Resets the current filter value of the given product", "parameters": [ { "name": "productMacAddress", "in": "path", "description": "The product mac address.", "required": true, "schema": { "type": "string", "default": null } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ProductModel" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ProductModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ProductModel" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Server Error" } }, "security": [ { "oauth2": [ null ] } ] } }, "/aldesoc/v5/users/me/products/{ProductMacAddress}/updateThermostats": { "patch": { "tags": [ "Product" ], "summary": "Updates the thermostats for the given product.\r\nAny previously existing", "parameters": [ { "name": "productMacAddress", "in": "path", "description": "The product mac address.", "required": true, "schema": { "type": "string", "default": null } } ], "requestBody": { "description": "The thermostats.", "content": { "text/plain": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ThermostatModel" } } }, "raw/text": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ThermostatModel" } } }, "application/octet-stream": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ThermostatModel" } } }, "application/json-patch+json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ThermostatModel" } } }, "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ThermostatModel" } } }, "text/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ThermostatModel" } } }, "application/*+json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ThermostatModel" } } } } }, "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ProductModel" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ProductModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ProductModel" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Server Error" } }, "security": [ { "oauth2": [ null ] } ] } }, "/aldesoc/v5/users/me/products/{productReference}/statistics/{startDateUtcStr}/{endDateUtcStr}/{granularity}": { "get": { "tags": [ "Product" ], "summary": "Retrieve the stats for the given product reference", "parameters": [ { "name": "productReference", "in": "path", "description": "The product reference.", "required": true, "schema": { "type": "string", "default": null } }, { "name": "startDateUtcStr", "in": "path", "description": "The start date UTC string.", "required": true, "schema": { "type": "string", "default": null } }, { "name": "endDateUtcStr", "in": "path", "description": "The end date UTC string.", "required": true, "schema": { "type": "string", "default": null } }, { "name": "granularity", "in": "path", "description": "The granularity.", "required": true, "schema": { "type": "string", "default": null } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ProductStatisticsModel" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ProductStatisticsModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ProductStatisticsModel" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "503": { "description": "Server Error" } }, "security": [ { "oauth2": [ null ] } ] } }, "/aldesoc/v5/users/me/products/tflow/{productMacAddress}/resetPriceKwh": { "patch": { "tags": [ "TFlow" ], "summary": "Resets the price (KWH) for a given TFlow product.\r\nThis method accepts only TFlow products.\r\nThe product mac address needs to be correctly formatted.", "parameters": [ { "name": "productMacAddress", "in": "path", "description": "The product mac address.", "required": true, "schema": { "type": "string", "default": null } } ], "requestBody": { "description": "The price.", "content": { "text/plain": { "schema": { "type": "string" } }, "raw/text": { "schema": { "type": "string" } }, "application/octet-stream": { "schema": { "type": "string" } }, "application/json-patch+json": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } }, "application/*+json": { "schema": { "type": "string" } } } }, "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ProductModel" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ProductModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ProductModel" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Server Error" } } } }, "/aldesoc/v5/users/password-reset": { "post": { "tags": [ "Account" ], "summary": "Missing password.", "requestBody": { "description": "", "content": { "text/plain": { "schema": { "type": "string" } }, "raw/text": { "schema": { "type": "string" } }, "application/octet-stream": { "schema": { "type": "string" } }, "application/json-patch+json": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } }, "application/*+json": { "schema": { "type": "string" } } } }, "responses": { "200": { "description": "Success" }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "503": { "description": "Server Error" } } }, "patch": { "tags": [ "Account" ], "summary": "Reset password.", "requestBody": { "content": { "text/plain": { "schema": { "type": "string" } }, "raw/text": { "schema": { "type": "string" } }, "application/octet-stream": { "schema": { "type": "string" } }, "application/json-patch+json": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } }, "application/*+json": { "schema": { "type": "string" } } } }, "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Forbidden", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "503": { "description": "Server Error" } }, "security": [ { "oauth2": [ null ] } ] } } }, "components": { "schemas": { "AIR_IndicatorModel": { "type": "object", "allOf": [ { "$ref": "#/definitions/IndicatorModel" }, { "type": "object", "properties": { "AIR_OUTSIDE_TPT": { "type": "number", "format": "double", "nullable": true }, "AIR_REJECT_TPT": { "type": "number", "format": "double", "nullable": true }, "AIR_TII_EST": { "type": "integer", "format": "int64", "nullable": true }, "AIR_EXTF_SPD": { "type": "integer", "format": "int64", "nullable": true }, "AIR_EXTF_TSN": { "type": "integer", "format": "int64", "nullable": true }, "AIR_VI_SPD": { "type": "integer", "format": "int64", "nullable": true }, "AIR_VV_TSN": { "type": "integer", "format": "int64", "nullable": true }, "AIR_FF_CPT": { "type": "integer", "format": "int64", "nullable": true }, "AIR_FFE_FLW": { "type": "integer", "format": "int64", "nullable": true }, "AIR_EXTF_FLW": { "type": "integer", "format": "int64", "nullable": true }, "AIR_DEP_IND": { "type": "integer", "format": "int64", "nullable": true }, "AIR_EXT_TPT": { "type": "number", "format": "double", "nullable": true }, "AIR_CVE_CSN": { "type": "integer", "format": "int64", "nullable": true }, "AIR_VI_CSN": { "type": "integer", "format": "int64", "nullable": true }, "AIR_TTE_CSN": { "type": "integer", "format": "int64", "nullable": true }, "AIR_DTB_IND": { "type": "integer", "format": "int64", "nullable": true }, "AIR_ECHANGE_PWR": { "type": "integer", "format": "int64", "nullable": true }, "AIR_SET_SPD": { "type": "integer", "format": "int64", "nullable": true }, "AIR_EXCH_ENG": { "type": "integer", "format": "int64", "nullable": true }, "AIR_CO2_VMC": { "$ref": "#/components/schemas/IndicatorTendanceModel" }, "AIR_TEMP_CAPT": { "type": "number", "format": "double", "nullable": true }, "AIR_HYGR_CAPT": { "type": "number", "format": "double", "nullable": true }, "AIR_CO2_CAPT": { "type": "number", "format": "double", "nullable": true }, "AIR_COV1_CAPT": { "type": "number", "format": "double", "nullable": true }, "AIR_COV2_CAPT": { "type": "number", "format": "double", "nullable": true }, "AIR_PM2_5_CAPT": { "type": "number", "format": "double", "nullable": true }, "AIR_PM10_CAPT": { "type": "number", "format": "double", "nullable": true }, "AIR_CURRENT_MODE": { "type": "string", "nullable": true }, "AIR_START_MODE": { "type": "string", "nullable": true }, "AIR_END_MODE": { "type": "string", "nullable": true }, "Qai": { "$ref": "#/components/schemas/IndicatorQaiModel" }, "QaiIndex": { "$ref": "#/components/schemas/QualityIndexesModel" }, "Co2": { "$ref": "#/components/schemas/QualityIndexesModel" }, "H2o": { "$ref": "#/components/schemas/QualityIndexesModel" }, "SENSOR0_10_1_NAME": { "type": "string", "nullable": true }, "SENSOR0_10_2_NAME": { "type": "string", "nullable": true }, "Sensor0101MinMax": { "type": "array", "items": { "type": "number", "format": "double" }, "nullable": true }, "Sensor0102MinMax": { "type": "array", "items": { "type": "number", "format": "double" }, "nullable": true }, "H2O_VMC": { "$ref": "#/components/schemas/IndicatorTendanceModel" }, "H2O_EMBEDDED": { "$ref": "#/components/schemas/IndicatorTendanceModel" }, "SENSOR0_10_1": { "$ref": "#/components/schemas/IndicatorTendanceModel" }, "SENSOR0_10_2": { "$ref": "#/components/schemas/IndicatorTendanceModel" }, "CurrentModeOverride": { "type": "boolean" }, "indicatorType": { "type": "string", "nullable": true } } } ], "additionalProperties": false, "discriminator": { "propertyName": "$type" }, "x-ms-discriminator-value": { "name": "Aldes.Core.Models.AIR_IndicatorModel, Aldes.Core.Models" } }, "AirStatisticModel": { "type": "object", "allOf": [ { "$ref": "#/definitions/StatisticModel" }, { "type": "object", "properties": { "co2_vmc": { "type": "number", "format": "double", "nullable": true }, "qaiIndex": { "type": "integer", "format": "int32", "nullable": true }, "polluantDominant": { "type": "string", "nullable": true }, "h2o_vmc": { "type": "number", "format": "double", "nullable": true }, "h2o_embedded": { "type": "number", "format": "double", "nullable": true }, "sensor0_10_1": { "type": "number", "format": "double", "nullable": true }, "sensor0_10_2": { "type": "number", "format": "double", "nullable": true }, "type": { "type": "string", "nullable": true }, "date": { "type": "string", "nullable": true } } } ], "additionalProperties": false, "discriminator": { "propertyName": "$type" }, "x-ms-discriminator-value": { "name": "Aldes.Core.Models.AirStatisticModel, Aldes.Core.Models" } }, "AQUA_AIR_IndicatorModel": { "type": "object", "allOf": [ { "$ref": "#/definitions/IndicatorModel" }, { "type": "object", "properties": { "fmist": { "type": "number", "format": "double", "nullable": true }, "fmast": { "type": "number", "format": "double", "nullable": true }, "cmast": { "type": "number", "format": "double", "nullable": true }, "cmist": { "type": "number", "format": "double", "nullable": true }, "date_debut_vac": { "type": "string", "nullable": true }, "date_fin_vac": { "type": "string", "nullable": true }, "hors_gel": { "type": "boolean", "nullable": true }, "qte_eau_chaude": { "type": "integer", "format": "int64", "nullable": true }, "tmp_principal": { "type": "number", "format": "double", "nullable": true }, "current_air_mode": { "type": "string", "nullable": true }, "current_water_mode": { "type": "string", "nullable": true }, "thermostats": { "type": "array", "items": { "$ref": "#/components/schemas/ThermostatModel" }, "nullable": true }, "settings": { "$ref": "#/components/schemas/SettingsModel" }, "indicatorType": { "type": "string", "nullable": true } } } ], "additionalProperties": false, "discriminator": { "propertyName": "$type" }, "x-ms-discriminator-value": { "name": "Aldes.Core.Models.AQUA_AIR_IndicatorModel, Aldes.Core.Models" } }, "AquaAirStatisticModel": { "type": "object", "allOf": [ { "$ref": "#/definitions/StatisticModel" }, { "type": "object", "properties": { "ecs": { "$ref": "#/components/schemas/ConsumptionCostModel" }, "chauffage": { "$ref": "#/components/schemas/ConsumptionCostModel" }, "clim": { "$ref": "#/components/schemas/ConsumptionCostModel" }, "type": { "type": "string", "nullable": true }, "date": { "type": "string", "nullable": true } } } ], "additionalProperties": false, "discriminator": { "propertyName": "$type" }, "x-ms-discriminator-value": { "name": "Aldes.Core.Models.AquaAirStatisticModel, Aldes.Core.Models" } }, "AuthorizationModel": { "type": "object", "properties": { "code": { "type": "string", "nullable": true } }, "additionalProperties": false }, "ChangeFilterAnswer": { "type": "object", "properties": { "ChangeFilterQuestionId": { "type": "integer", "format": "int32" }, "Answer": { "type": "integer", "format": "int32" } }, "additionalProperties": false }, "ChangeFilterResponseModel": { "type": "object", "properties": { "Answers": { "type": "array", "items": { "$ref": "#/components/schemas/ChangeFilterAnswer" }, "nullable": true } }, "additionalProperties": false }, "CommandModel": { "type": "object", "properties": { "command": { "type": "string", "nullable": true } }, "additionalProperties": false }, "ConsumptionCostModel": { "type": "object", "properties": { "consumption": { "type": "number", "format": "double", "nullable": true }, "cost": { "type": "number", "format": "double", "nullable": true } }, "additionalProperties": false }, "DeleteProductModel": { "type": "object", "properties": { "forceAnonymisation": { "type": "boolean" } }, "additionalProperties": false }, "DeleteUserModel": { "type": "object", "properties": { "ForceAnonymization": { "type": "boolean" } }, "additionalProperties": false }, "DeviceRegistrationModel": { "type": "object", "properties": { "mobilePlatform": { "$ref": "#/components/schemas/MobilePlatform" }, "handle": { "type": "string", "nullable": true } }, "additionalProperties": false }, "EASY_HOME_IndicatorModel": { "type": "object", "allOf": [ { "$ref": "#/definitions/IndicatorModel" }, { "type": "object", "properties": { "ConVe": { "type": "string", "nullable": true }, "In0_10V": { "type": "number", "format": "double", "nullable": true }, "TimCu": { "type": "integer", "format": "int32", "nullable": true }, "TmpCu": { "type": "integer", "format": "int32", "nullable": true }, "HrCu": { "type": "number", "format": "double", "nullable": true }, "HrCuCo": { "type": "number", "format": "double", "nullable": true }, "TmpBa1": { "type": "integer", "format": "int32", "nullable": true }, "HrBa1": { "type": "number", "format": "double", "nullable": true }, "HrBa1Co": { "type": "number", "format": "double", "nullable": true }, "TmpBa2": { "type": "number", "format": "double", "nullable": true }, "HrBa2": { "type": "number", "format": "double", "nullable": true }, "HrBa2Co": { "type": "number", "format": "double", "nullable": true }, "CO2": { "type": "number", "format": "double", "nullable": true }, "Pcap": { "$ref": "#/components/schemas/PresenceCapteur" }, "VarHR": { "type": "integer", "format": "int32", "nullable": true }, "PwmQai": { "type": "number", "format": "double", "nullable": true }, "Qai": { "$ref": "#/components/schemas/IndicatorQaiModel" }, "EASYHOME_CURRENT_MODE": { "type": "string", "nullable": true }, "indicatorType": { "type": "string", "nullable": true } } } ], "additionalProperties": false, "discriminator": { "propertyName": "$type" }, "x-ms-discriminator-value": { "name": "Aldes.Core.Models.EASY_HOME_IndicatorModel, Aldes.Core.Models" } }, "EasyHomeIntermediateStatisticModel": { "type": "object", "allOf": [ { "$ref": "#/definitions/StatisticModel" }, { "type": "object", "properties": { "In0_10V": { "type": "number", "format": "double", "nullable": true }, "TimCu": { "type": "integer", "format": "int32", "nullable": true }, "TmpCu": { "type": "integer", "format": "int32", "nullable": true }, "HrCu": { "type": "number", "format": "double", "nullable": true }, "HrCuCo": { "type": "number", "format": "double", "nullable": true }, "TmpBa1": { "type": "integer", "format": "int32", "nullable": true }, "HrBa1": { "type": "number", "format": "double", "nullable": true }, "HrBa1Co": { "type": "number", "format": "double", "nullable": true }, "TmpBa2": { "type": "number", "format": "double", "nullable": true }, "HrBa2": { "type": "number", "format": "double", "nullable": true }, "HrBa2Co": { "type": "number", "format": "double", "nullable": true }, "CO2": { "type": "number", "format": "double", "nullable": true }, "VarHR": { "type": "integer", "format": "int32", "nullable": true }, "PwmQai": { "type": "number", "format": "double", "nullable": true }, "type": { "type": "string", "nullable": true }, "date": { "type": "string", "nullable": true } } } ], "additionalProperties": false, "discriminator": { "propertyName": "$type" }, "x-ms-discriminator-value": { "name": "Aldes.Core.Models.EasyHomeIntermediateStatisticModel, Aldes.Core.Models" } }, "EasyHomeStatisticModel": { "type": "object", "allOf": [ { "$ref": "#/definitions/StatisticModel" }, { "type": "object", "properties": { "qaiIndice": { "type": "integer", "format": "int32", "nullable": true }, "polluantDominant": { "type": "string", "nullable": true }, "type": { "type": "string", "nullable": true }, "date": { "type": "string", "nullable": true } } } ], "additionalProperties": false, "discriminator": { "propertyName": "$type" }, "x-ms-discriminator-value": { "name": "Aldes.Core.Models.EasyHomeStatisticModel, Aldes.Core.Models" } }, "FacadeCommandModel": { "type": "object", "properties": { "SourceId": { "type": "string", "nullable": true }, "SourceType": { "type": "string", "nullable": true }, "DestinationId": { "type": "string", "nullable": true }, "DestinationType": { "type": "string", "nullable": true }, "Method": { "type": "string", "nullable": true }, "Command": { "type": "array", "items": { "type": "string" }, "nullable": true }, "UtcStartDate": { "type": "string", "format": "date-time" }, "Status": { "type": "string", "nullable": true } }, "additionalProperties": false }, "FilterType": { "required": [ "filterTypeId" ], "type": "object", "properties": { "filterTypeId": { "type": "integer", "format": "int32" }, "filterTypeReference": { "type": "string", "nullable": true }, "filterTypeName": { "type": "string", "nullable": true }, "lifetime": { "type": "integer", "format": "int32" }, "FilterTypeDesc": { "type": "array", "items": { "$ref": "#/components/schemas/FilterTypeDesc" }, "nullable": true } }, "additionalProperties": false }, "FilterTypeDesc": { "required": [ "filterTypeDescId", "filterTypeId", "langCode" ], "type": "object", "properties": { "filterTypeDescId": { "type": "integer", "format": "int32" }, "filterTypeId": { "type": "integer", "format": "int32" }, "langCode": { "type": "string" }, "description": { "type": "string", "nullable": true }, "shopUrl": { "type": "string", "nullable": true } }, "additionalProperties": false }, "GpdrModel": { "type": "object", "properties": { "GpdrVersion": { "type": "string", "nullable": true }, "GpdrValidatedOn": { "type": "string", "format": "date-time", "nullable": true } }, "additionalProperties": false }, "HashKeyModel": { "type": "object", "properties": { "HashKey": { "type": "string", "nullable": true }, "HashKeyTime": { "type": "string", "format": "date-time" } }, "additionalProperties": false }, "IMicroIndicatorModel": { "type": "object", "properties": { "date": { "type": "string", "nullable": true }, "type": { "$ref": "#/components/schemas/IndicatorType" } }, "additionalProperties": false }, "IndicatorModel": { "required": [ "$type" ], "type": "object", "properties": { "indicatorType": { "type": "string", "nullable": true }, "$type": { "type": "string", "default": "Aldes.Core.Models.IndicatorModel" } }, "additionalProperties": false, "discriminator": { "propertyName": "$type" } }, "IndicatorQaiModel": { "type": "object", "properties": { "actualValue": { "type": "integer", "format": "int32", "nullable": true }, "previousValue": { "type": "integer", "format": "int32", "nullable": true }, "polluantDominant": { "type": "string", "nullable": true } }, "additionalProperties": false }, "IndicatorTendanceModel": { "type": "object", "properties": { "actualValue": { "type": "number", "format": "double", "nullable": true }, "previousValue": { "type": "number", "format": "double", "nullable": true } }, "additionalProperties": false }, "IndicatorType": { "enum": [ 0, 1, 2, 3, 4, 5 ], "type": "integer", "format": "int32" }, "IndoorAirQuality": { "type": "object", "properties": { "Value": { "type": "integer", "format": "int32", "nullable": true }, "UtcDateTime": { "type": "string", "format": "date-time" } }, "additionalProperties": false }, "JsonRpcRequest": { "type": "object", "properties": { "params": { "type": "array", "items": { "type": "string" }, "description": "Gets or sets the parameters.", "nullable": true }, "jsonrpc": { "type": "string", "description": "Gets or sets the jsonrpc.", "nullable": true }, "method": { "type": "string", "description": "Gets or sets the method.", "nullable": true }, "id": { "type": "integer", "description": "Gets or sets the identifier.", "format": "int32" } }, "additionalProperties": false, "description": "" }, "LinkedProductsModel": { "type": "object", "properties": { "Master": { "$ref": "#/components/schemas/ProductModel" }, "Slaves": { "type": "array", "items": { "$ref": "#/components/schemas/ProductModel" }, "nullable": true } }, "additionalProperties": false }, "Measure": { "type": "object", "properties": { "Code": { "type": "string", "nullable": true }, "Value": { "type": "number", "format": "float" }, "UtcDateTime": { "type": "string", "format": "date-time" } }, "additionalProperties": false }, "MobilePlatform": { "enum": [ 0, 1, 2, 3 ], "type": "integer", "format": "int32" }, "OQAI_IndicatorModel": { "type": "object", "allOf": [ { "$ref": "#/definitions/IndicatorModel" }, { "type": "object", "properties": { "qaiData": { "$ref": "#/components/schemas/OQaiDataModel" }, "qaiIndex": { "$ref": "#/components/schemas/QualityIndexesModel" }, "co2": { "$ref": "#/components/schemas/QualityIndexesModel" }, "h2o": { "$ref": "#/components/schemas/QualityIndexesModel" }, "cov": { "$ref": "#/components/schemas/QualityIndexesModel" }, "pm25": { "$ref": "#/components/schemas/QualityIndexesModel" }, "indicatorType": { "type": "string", "nullable": true } } } ], "additionalProperties": false, "discriminator": { "propertyName": "$type" }, "x-ms-discriminator-value": { "name": "Aldes.Core.Models.OQAI_IndicatorModel, Aldes.Core.Models" } }, "OQaiDataModel": { "type": "object", "properties": { "id": { "type": "string", "nullable": true }, "temperature": { "maximum": 60, "minimum": -10, "type": "number", "format": "double", "nullable": true }, "swVersion": { "type": "string", "nullable": true }, "serialNumber": { "type": "string", "nullable": true }, "error": { "type": "string", "nullable": true }, "alertMode": { "type": "boolean", "nullable": true }, "settings": { "$ref": "#/components/schemas/OQaiSettingsModel" } }, "additionalProperties": false }, "OQaiSettingsModel": { "required": [ "qaiData" ], "type": "object", "properties": { "qaiData": { "type": "integer", "format": "int32" }, "isAutomaticEnable": { "type": "boolean", "nullable": true }, "automaticTime": { "type": "integer", "format": "int32", "nullable": true }, "automaticFromDate": { "type": "string", "format": "date-time", "nullable": true }, "automaticToDate": { "type": "string", "format": "date-time", "nullable": true }, "alertMode": { "type": "boolean", "nullable": true }, "displayType": { "type": "integer", "format": "int32", "nullable": true }, "favoriteDisplay": { "type": "integer", "format": "int32", "nullable": true }, "luminosity": { "type": "integer", "format": "int32", "nullable": true }, "cloudFrequency": { "type": "integer", "format": "int32", "nullable": true }, "language": { "type": "string", "nullable": true } }, "additionalProperties": false }, "OQaiStatisticModel": { "type": "object", "allOf": [ { "$ref": "#/definitions/StatisticModel" }, { "type": "object", "properties": { "qaiIndex": { "type": "integer", "format": "int32", "nullable": true }, "polluantDominant": { "type": "string", "nullable": true }, "pm25": { "type": "number", "format": "double", "nullable": true }, "cov": { "type": "number", "format": "double", "nullable": true }, "co2": { "type": "number", "format": "double", "nullable": true }, "h2o": { "type": "number", "format": "double", "nullable": true }, "type": { "type": "string", "nullable": true }, "date": { "type": "string", "nullable": true } } } ], "additionalProperties": false, "discriminator": { "propertyName": "$type" }, "x-ms-discriminator-value": { "name": "Aldes.Core.Models.OQaiStatisticModel, Aldes.Core.Models" } }, "PostCreateUserBodyParametersModel": { "required": [ "profile" ], "type": "object", "properties": { "profile": { "$ref": "#/components/schemas/ProfileModel" } }, "additionalProperties": false }, "PresenceCapteur": { "enum": [ 0, 1, 3, 4 ], "type": "integer", "description": "0 = Kitchen, 1 = Bath1, 3 = Bath2, 4 = Co2B", "format": "int32" }, "ProblemDetails": { "type": "object", "properties": { "Type": { "type": "string", "nullable": true }, "Title": { "type": "string", "nullable": true }, "Status": { "type": "integer", "format": "int32", "nullable": true }, "Detail": { "type": "string", "nullable": true }, "Instance": { "type": "string", "nullable": true } }, "additionalProperties": {} }, "ProductInfoFullModel": { "type": "object", "properties": { "slaves": { "type": "array", "items": { "type": "string" }, "nullable": true }, "masters": { "type": "array", "items": { "type": "string" }, "nullable": true }, "indicators": { "type": "array", "items": { "$ref": "#/components/schemas/IMicroIndicatorModel" }, "nullable": true }, "indicator": { "$ref": "#/components/schemas/IndicatorModel" }, "thermostats": { "type": "array", "items": { "$ref": "#/components/schemas/ThermostatModel" }, "nullable": true }, "week_planning": { "type": "array", "items": { "$ref": "#/components/schemas/CommandModel" }, "nullable": true }, "week_planning2": { "type": "array", "items": { "$ref": "#/components/schemas/CommandModel" }, "nullable": true }, "week_planning3": { "type": "array", "items": { "$ref": "#/components/schemas/CommandModel" }, "nullable": true }, "week_planning4": { "type": "array", "items": { "$ref": "#/components/schemas/CommandModel" }, "nullable": true }, "modem": { "type": "string", "nullable": true }, "reference": { "type": "string", "nullable": true }, "serial_number": { "type": "string", "nullable": true }, "type": { "type": "string", "nullable": true }, "name": { "type": "string", "nullable": true }, "address": { "type": "string", "nullable": true }, "postalCode": { "type": "string", "nullable": true }, "city": { "type": "string", "nullable": true }, "country": { "type": "string", "nullable": true }, "usureFiltre": { "type": "integer", "format": "int64", "nullable": true }, "dateLastFilterUpdate": { "type": "string", "format": "date-time", "nullable": true }, "hasFilter": { "type": "boolean", "nullable": true }, "gpsLatitude": { "type": "number", "format": "double", "nullable": true }, "gpsLongitude": { "type": "number", "format": "double", "nullable": true }, "outdoorAirQualityAvg": { "type": "number", "format": "double", "nullable": true }, "isConnected": { "type": "boolean" } }, "additionalProperties": false }, "ProductInfoModel": { "type": "object", "properties": { "indicator": { "$ref": "#/components/schemas/IndicatorModel" }, "thermostats": { "type": "array", "items": { "$ref": "#/components/schemas/ThermostatModel" }, "nullable": true }, "week_planning": { "type": "array", "items": { "$ref": "#/components/schemas/CommandModel" }, "nullable": true }, "week_planning2": { "type": "array", "items": { "$ref": "#/components/schemas/CommandModel" }, "nullable": true }, "week_planning3": { "type": "array", "items": { "$ref": "#/components/schemas/CommandModel" }, "nullable": true }, "week_planning4": { "type": "array", "items": { "$ref": "#/components/schemas/CommandModel" }, "nullable": true }, "modem": { "type": "string", "nullable": true }, "reference": { "type": "string", "nullable": true }, "serial_number": { "type": "string", "nullable": true }, "type": { "type": "string", "nullable": true }, "name": { "type": "string", "nullable": true }, "address": { "type": "string", "nullable": true }, "postalCode": { "type": "string", "nullable": true }, "city": { "type": "string", "nullable": true }, "country": { "type": "string", "nullable": true }, "usureFiltre": { "type": "integer", "format": "int64", "nullable": true }, "dateLastFilterUpdate": { "type": "string", "format": "date-time", "nullable": true }, "hasFilter": { "type": "boolean", "nullable": true }, "gpsLatitude": { "type": "number", "format": "double", "nullable": true }, "gpsLongitude": { "type": "number", "format": "double", "nullable": true }, "outdoorAirQualityAvg": { "type": "number", "format": "double", "nullable": true }, "isConnected": { "type": "boolean" } }, "additionalProperties": false }, "ProductModel": { "type": "object", "properties": { "modem": { "type": "string", "nullable": true }, "reference": { "type": "string", "nullable": true }, "serial_number": { "type": "string", "nullable": true }, "type": { "type": "string", "nullable": true }, "name": { "type": "string", "nullable": true }, "address": { "type": "string", "nullable": true }, "postalCode": { "type": "string", "nullable": true }, "city": { "type": "string", "nullable": true }, "country": { "type": "string", "nullable": true }, "usureFiltre": { "type": "integer", "format": "int64", "nullable": true }, "dateLastFilterUpdate": { "type": "string", "format": "date-time", "nullable": true }, "hasFilter": { "type": "boolean", "nullable": true }, "gpsLatitude": { "type": "number", "format": "double", "nullable": true }, "gpsLongitude": { "type": "number", "format": "double", "nullable": true }, "outdoorAirQualityAvg": { "type": "number", "format": "double", "nullable": true }, "isConnected": { "type": "boolean" } }, "additionalProperties": false }, "ProductStatisticsModel": { "type": "object", "properties": { "qaiIndex": { "$ref": "#/components/schemas/QualityIndexesModel" }, "co2": { "$ref": "#/components/schemas/QualityIndexesModel" }, "h2o": { "$ref": "#/components/schemas/QualityIndexesModel" }, "cov": { "$ref": "#/components/schemas/QualityIndexesModel" }, "pm25": { "$ref": "#/components/schemas/QualityIndexesModel" }, "statArray": { "type": "array", "items": { "$ref": "#/components/schemas/StatisticModel" }, "nullable": true }, "modem": { "type": "string", "nullable": true }, "reference": { "type": "string", "nullable": true }, "serial_number": { "type": "string", "nullable": true }, "type": { "type": "string", "nullable": true }, "name": { "type": "string", "nullable": true }, "address": { "type": "string", "nullable": true }, "postalCode": { "type": "string", "nullable": true }, "city": { "type": "string", "nullable": true }, "country": { "type": "string", "nullable": true }, "usureFiltre": { "type": "integer", "format": "int64", "nullable": true }, "dateLastFilterUpdate": { "type": "string", "format": "date-time", "nullable": true }, "hasFilter": { "type": "boolean", "nullable": true }, "gpsLatitude": { "type": "number", "format": "double", "nullable": true }, "gpsLongitude": { "type": "number", "format": "double", "nullable": true }, "outdoorAirQualityAvg": { "type": "number", "format": "double", "nullable": true }, "isConnected": { "type": "boolean" } }, "additionalProperties": false }, "ProfileModel": { "type": "object", "properties": { "EMAIL": { "type": "string", "nullable": true }, "PASSWORD": { "type": "string", "nullable": true }, "NAME": { "type": "string", "nullable": true }, "FIRSTNAME": { "type": "string", "nullable": true }, "ADDRESS": { "type": "string", "nullable": true }, "ZIPCODE": { "type": "string", "nullable": true }, "CITY": { "type": "string", "nullable": true }, "COUNTRY": { "type": "string", "nullable": true }, "PERSONAL_DATA": { "type": "boolean", "nullable": true }, "RECEIVE_INFORMATION": { "type": "boolean", "nullable": true }, "FAMILY_NB_ADULT": { "type": "integer", "format": "int32", "nullable": true }, "FAMILY_NB_CHILD": { "type": "integer", "format": "int32", "nullable": true }, "LIVING_QUESTION": { "type": "string", "nullable": true }, "DWELLING_QUESTION": { "type": "string", "nullable": true }, "AREA_QUESTION": { "type": "string", "nullable": true }, "ALLERGIES_QUESTION": { "type": "string", "nullable": true }, "HEADACHES_QUESTION": { "type": "string", "nullable": true }, "IMPACT_QUESTION": { "type": "string", "nullable": true }, "IMPROVING_QUESTION": { "type": "string", "nullable": true }, "SYSTEM_QUESTION": { "type": "string", "nullable": true }, "EQUIPMENT_QUESTION": { "type": "string", "nullable": true }, "INTEREST_QUESTION": { "type": "string", "nullable": true }, "CONCERN_QUESTION": { "type": "string", "nullable": true }, "WHY_QUESTION": { "type": "string", "nullable": true }, "USER_PROFILE": { "type": "string", "nullable": true }, "HashKey": { "type": "string", "nullable": true }, "HashKeyTime": { "type": "string", "format": "date-time", "nullable": true }, "GpdrVersion": { "type": "string", "nullable": true }, "GpdrValidatedOn": { "type": "string", "format": "date-time", "nullable": true }, "ApplicationType": { "type": "string", "nullable": true }, "products": { "type": "array", "items": { "$ref": "#/components/schemas/ProductModel" }, "nullable": true } }, "additionalProperties": false }, "QualityIndexesModel": { "type": "object", "properties": { "currentValue": { "type": "number", "format": "double", "nullable": true }, "l1": { "type": "array", "items": { "type": "number", "format": "double" }, "nullable": true }, "l2": { "type": "array", "items": { "type": "number", "format": "double" }, "nullable": true }, "l3": { "type": "array", "items": { "type": "number", "format": "double" }, "nullable": true }, "max": { "type": "array", "items": { "type": "number", "format": "double" }, "nullable": true } }, "additionalProperties": false }, "SettingsModel": { "type": "object", "properties": { "dateTime": { "type": "string", "nullable": true }, "people": { "type": "integer", "format": "int64", "nullable": true }, "currency": { "type": "integer", "format": "int64", "nullable": true }, "antilegio": { "type": "integer", "format": "int64", "nullable": true }, "kwh_creuse": { "type": "number", "format": "double", "nullable": true }, "kwh_pleine": { "type": "number", "format": "double", "nullable": true } }, "additionalProperties": false }, "SoweeIndicatorModel": { "type": "object", "allOf": [ { "$ref": "#/definitions/IndicatorModel" }, { "type": "object", "properties": { "qaiIndex": { "$ref": "#/components/schemas/QualityIndexesModel" }, "co2": { "$ref": "#/components/schemas/QualityIndexesModel" }, "voc": { "$ref": "#/components/schemas/QualityIndexesModel" }, "indicatorType": { "type": "string", "nullable": true } } } ], "additionalProperties": false, "discriminator": { "propertyName": "$type" }, "x-ms-discriminator-value": { "name": "Aldes.Core.Models.SoweeIndicatorModel, Aldes.Core.Models" } }, "SoweeStatisticModel": { "type": "object", "allOf": [ { "$ref": "#/definitions/StatisticModel" }, { "type": "object", "properties": { "qaiIndex": { "type": "integer", "format": "int32", "nullable": true }, "polluantDominant": { "type": "string", "nullable": true }, "cov": { "type": "number", "format": "double", "nullable": true }, "co2": { "type": "number", "format": "double", "nullable": true }, "type": { "type": "string", "nullable": true }, "date": { "type": "string", "nullable": true } } } ], "additionalProperties": false, "discriminator": { "propertyName": "$type" }, "x-ms-discriminator-value": { "name": "Aldes.Core.Models.SoweeStatisticModel, Aldes.Core.Models" } }, "StatisticModel": { "required": [ "$type" ], "type": "object", "properties": { "type": { "type": "string", "nullable": true }, "date": { "type": "string", "nullable": true }, "$type": { "type": "string", "default": "Aldes.Core.Models.StatisticModel" } }, "additionalProperties": false, "discriminator": { "propertyName": "$type" } }, "ThermostatModel": { "type": "object", "properties": { "ThermostatId": { "type": "integer", "format": "int32" }, "Name": { "type": "string", "nullable": true }, "Type": { "type": "string", "nullable": true }, "Order": { "type": "integer", "format": "int32" }, "IconId": { "type": "integer", "format": "int32" }, "Number": { "type": "integer", "format": "int32" }, "TemperatureSet": { "type": "integer", "format": "int32" }, "CurrentTemperature": { "type": "number", "format": "double", "nullable": true } }, "additionalProperties": false }, "UserProductPreferences": { "type": "object", "properties": { "deviceId": { "type": "string", "nullable": true }, "receiveFilterAlert": { "type": "boolean" }, "receiveDysfunctionAlert": { "type": "boolean" }, "receiveFilterAlertSurvey": { "type": "boolean" } }, "additionalProperties": false }, "WATER_IndicatorModel": { "type": "object", "allOf": [ { "$ref": "#/definitions/IndicatorModel" }, { "type": "object", "properties": { "WATER_AHIST_TSN": { "type": "integer", "format": "int64", "nullable": true }, "WATER_CLAMP_OUTPUT": { "type": "boolean", "nullable": true }, "WATER_CODE_ERROR": { "type": "boolean", "nullable": true }, "WATER_CONSO_TOT_VENTI": { "$ref": "#/components/schemas/IndicatorTendanceModel" }, "WATER_CONSO_TOT_PAC": { "$ref": "#/components/schemas/IndicatorTendanceModel" }, "WATER_CONSO_TOT_ELEC": { "$ref": "#/components/schemas/IndicatorTendanceModel" }, "WATER_CTN_B_BAL": { "type": "number", "format": "double", "nullable": true }, "WATER_CTN_EVAP": { "type": "number", "format": "double", "nullable": true }, "WATER_CTN_H_BAL": { "type": "number", "format": "double", "nullable": true }, "WATER_CTN_HP_HISTO": { "type": "number", "format": "double", "nullable": true }, "WATER_CTN_OPTION": { "type": "number", "format": "double", "nullable": true }, "WATER_CTN_VMC": { "type": "number", "format": "double", "nullable": true }, "WATER_DATE_PROCH_H_C": { "type": "integer", "format": "int64", "nullable": true }, "WATER_DEB_CONS_V": { "type": "integer", "format": "int64", "nullable": true }, "WATER_DROPT_TPT": { "type": "integer", "format": "int64", "nullable": true }, "WATER_DUR_TOT_MODE_DERI": { "type": "integer", "format": "int64", "nullable": true }, "WATER_DUREE_PROCH_H_C": { "type": "integer", "format": "int64", "nullable": true }, "WATER_IN_STATE": { "type": "boolean", "nullable": true }, "WATER_LEVEL_PWR": { "type": "integer", "format": "int64", "nullable": true }, "WATER_MODREF_HISTO": { "type": "integer", "format": "int64", "nullable": true }, "WATER_NB_H_C_VUE_24H": { "type": "integer", "format": "int64", "nullable": true }, "WATER_NB_RESTART": { "type": "integer", "format": "int64", "nullable": true }, "WATER_NUM_ERR": { "type": "integer", "format": "int64", "nullable": true }, "WATER_P_MES": { "type": "integer", "format": "int64", "nullable": true }, "WATER_PUISS_CONS_COMP": { "type": "integer", "format": "int64", "nullable": true }, "WATER_RES_ELEC": { "type": "boolean", "nullable": true }, "WATER_S_HIG_AIR_TPT": { "type": "boolean", "nullable": true }, "WATER_S_LOW_AIR_TPT": { "type": "boolean", "nullable": true }, "WATER_SCREEN_ERROR": { "type": "boolean", "nullable": true }, "WATER_SHOWR_STATE": { "type": "integer", "format": "int64", "nullable": true }, "WATER_STAT_COMP": { "type": "integer", "format": "int64", "nullable": true }, "WATER_TARIF_EN_COURS": { "type": "integer", "format": "int64", "nullable": true }, "WATER_TEMP_B_BAL_PREC_REG": { "type": "number", "format": "double", "nullable": true }, "WATER_TEMP_CIBLE_DER": { "type": "number", "format": "double", "nullable": true }, "WATER_TEMP_CIBLE_REG": { "type": "number", "format": "double", "nullable": true }, "WATER_TEMP_PIED_DERIV": { "type": "number", "format": "double", "nullable": true }, "WATER_TEST_CUR": { "type": "boolean", "nullable": true }, "WATER_TIM_MODE_DERI": { "type": "integer", "format": "int64", "nullable": true }, "WATER_TIMEOUT_COMP": { "type": "boolean", "nullable": true }, "WATER_USR_MOD": { "type": "integer", "format": "int64", "nullable": true }, "WATER_USR_SETPT_TPT": { "type": "number", "format": "double", "nullable": true }, "WATER_VIT_CONS_LUE_COMP": { "type": "integer", "format": "int64", "nullable": true }, "WATER_VIT_REEL_COMP": { "type": "integer", "format": "int64", "nullable": true }, "WATER_VIT_REEL_V": { "type": "integer", "format": "int64", "nullable": true }, "WATER_FF_CPT": { "type": "integer", "format": "int64", "nullable": true }, "WATER_CURRENT_MODE": { "type": "string", "nullable": true }, "WATER_START_MODE": { "type": "string", "nullable": true }, "WATER_END_MODE": { "type": "string", "nullable": true }, "PriceKwh": { "type": "number", "format": "double", "nullable": true }, "indicatorType": { "type": "string", "nullable": true } } } ], "additionalProperties": false, "discriminator": { "propertyName": "$type" }, "x-ms-discriminator-value": { "name": "Aldes.Core.Models.WATER_IndicatorModel, Aldes.Core.Models" } }, "WaterStatisticModel": { "type": "object", "allOf": [ { "$ref": "#/definitions/StatisticModel" }, { "type": "object", "properties": { "conso_tot_venti": { "type": "number", "format": "double" }, "conso_tot_PAC": { "type": "number", "format": "double" }, "conso_tot_elec": { "type": "number", "format": "double" }, "type": { "type": "string", "nullable": true }, "date": { "type": "string", "nullable": true } } } ], "additionalProperties": false, "discriminator": { "propertyName": "$type" }, "x-ms-discriminator-value": { "name": "Aldes.Core.Models.WaterStatisticModel, Aldes.Core.Models" } } }, "securitySchemes": { "oauth2": { "type": "oauth2", "flows": { "password": { "tokenUrl": "/oauth2/token", "scopes": {} } } } } } }