GET modules/AllDevices?ownerId={ownerId}&type={type}
Ajout Jules 02/01/2023 Get the settings informations for each devices associated with the user
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
ownerId |
the id of the user to get the serials of all his devices |
integer |
Default value is 0 |
type |
the specific module type that we want to get. Ex type = 3 -> returns only Gateways. By default returns AnalysR AND ControlR |
integer |
Default value is 0 |
Body Parameters
None.
Response Information
Resource Description
a list of settings information foreach modules associated with the user
Collection of Flipr.Web.Api.Controllers.JsonWrappers.DeviceSettingsInformationsName | Description | Type | Additional information |
---|---|---|---|
Serial |
Gets or sets the module serial |
string |
None. |
ModuleType |
Gets or sets the module type |
integer |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Serial": "sample string 1", "ModuleType": 1 }, { "Serial": "sample string 1", "ModuleType": 1 } ]
text/html
Sample:
[{"Serial":"sample string 1","ModuleType":1},{"Serial":"sample string 1","ModuleType":1}]