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. |
UserId | integer |
None. |
|
PlaceName |
Gets or sets the name of the module's place |
string |
None. |
PlaceId | integer |
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. |
|
FirstUserAssociation | date |
None. |
|
LastUserAssociation | date |
None. |
Response Formats
application/json, text/json
Sample:
{ "Serial": "sample string 1", "UserName": "sample string 2", "UserId": 3, "PlaceName": "sample string 4", "PlaceId": 5, "Model": "sample string 6", "LastMeasureDateTime": "2024-10-04T12:28:12.0281334+00:00", "TensionBattery": 7.1, "PercentageBattery": 8.1, "Version": 9, "SoftwareVersion": 10, "Subsciption": "2024-10-04T12:28:12.0281334+00:00", "ValidSubsciption": true, "FirstUserAssociation": "2024-10-04T12:28:12.0281334+00:00", "LastUserAssociation": "2024-10-04T12:28:12.0281334+00:00" }
text/html
Sample:
{"Serial":"sample string 1","UserName":"sample string 2","UserId":3,"PlaceName":"sample string 4","PlaceId":5,"Model":"sample string 6","LastMeasureDateTime":"2024-10-04T12:28:12.0281334+00:00","TensionBattery":7.1,"PercentageBattery":8.1,"Version":9,"SoftwareVersion":10,"Subsciption":"2024-10-04T12:28:12.0281334+00:00","ValidSubsciption":true,"FirstUserAssociation":"2024-10-04T12:28:12.0281334+00:00","LastUserAssociation":"2024-10-04T12:28:12.0281334+00:00"}