GET modules/{moduleSerial}/AnalysR/settings?bat={bat}
Ajout Jules 02/01/2023 Return setting's informations of the given module
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
moduleSerial |
the module serial |
string |
Required |
bat |
set manually the analysR batterie to test the CalculBatterie méthode |
decimal number |
Default value is 0 |
Body Parameters
None.
Response Information
Resource Description
the modules
Flipr.Web.Api.Controllers.JsonWrappers.AnalysRSettingInformationsName | Description | Type | Additional information |
---|---|---|---|
Serial |
Gets or sets the module serial |
string |
None. |
UserName |
Gets or sets the name of the user's module |
string |
None. |
PlaceName |
Gets or sets the name of the module's place |
string |
None. |
Model |
Gets or sets the model of the module (Start/Max/..) |
string |
None. |
LastMeasureDateTime |
Gets or sets the datetime of the last measure |
date |
None. |
TensionBattery |
Gets or sets the battery voltage of the last measure |
decimal number |
None. |
PercentageBattery |
Gets or sets the remaining battery percentage |
decimal number |
None. |
Version |
Gets or sets the firmware version of the module |
integer |
None. |
SoftwareVersion | integer |
None. |
|
Subsciption | date |
None. |
|
ValidSubsciption | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "Serial": "sample string 1", "UserName": "sample string 2", "PlaceName": "sample string 3", "Model": "sample string 4", "LastMeasureDateTime": "2024-05-02T11:49:46.2148253+00:00", "TensionBattery": 5.1, "PercentageBattery": 6.1, "Version": 7, "SoftwareVersion": 8, "Subsciption": "2024-05-02T11:49:46.2148253+00:00", "ValidSubsciption": true }
text/html
Sample:
{"Serial":"sample string 1","UserName":"sample string 2","PlaceName":"sample string 3","Model":"sample string 4","LastMeasureDateTime":"2024-05-02T11:49:46.2148253+00:00","TensionBattery":5.1,"PercentageBattery":6.1,"Version":7,"SoftwareVersion":8,"Subsciption":"2024-05-02T11:49:46.2148253+00:00","ValidSubsciption":true}