GET modules/{serial}/survey/statsPerDays/{days}?l={l}

Return the module's stats over the given X days, limited to the last 365 days. SUBSCRIBTION REQUIRED

Request Information

URI Parameters

NameDescriptionTypeAdditional information
serial

the serial number

string

Required

days

the number of desired days

integer

Required

l

the lang we want to use over the one defined in the user profile, defined with the ISO code, over 2 chars

string

None.

Body Parameters

None.

Response Information

Resource Description

the survey

Collection of Flipr.Business.Views.StatsReport
NameDescriptionTypeAdditional information
Temperature

Flipr.Business.Views.Stats

None.

PH

Flipr.Business.Views.Stats

None.

Desinfectant

Flipr.Business.Views.Stats

None.

OxydoRecutionPotential

Flipr.Business.Views.Stats

None.

Conductivity

Flipr.Business.Views.Stats

None.

Date

date

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Temperature": {
      "Label": "sample string 1",
      "MaxDeviation": 1.1,
      "MinDeviation": 1.1,
      "AvgDeviation": 1.1,
      "MedDeviation": 1.1,
      "MaxValue": 1.1,
      "MinValue": 1.1,
      "AvgValue": 1.1,
      "MedValue": 1.1
    },
    "PH": {
      "Label": "sample string 1",
      "MaxDeviation": 1.1,
      "MinDeviation": 1.1,
      "AvgDeviation": 1.1,
      "MedDeviation": 1.1,
      "MaxValue": 1.1,
      "MinValue": 1.1,
      "AvgValue": 1.1,
      "MedValue": 1.1
    },
    "Desinfectant": {
      "Label": "sample string 1",
      "MaxDeviation": 1.1,
      "MinDeviation": 1.1,
      "AvgDeviation": 1.1,
      "MedDeviation": 1.1,
      "MaxValue": 1.1,
      "MinValue": 1.1,
      "AvgValue": 1.1,
      "MedValue": 1.1
    },
    "OxydoRecutionPotential": {
      "Label": "sample string 1",
      "MaxDeviation": 1.1,
      "MinDeviation": 1.1,
      "AvgDeviation": 1.1,
      "MedDeviation": 1.1,
      "MaxValue": 1.1,
      "MinValue": 1.1,
      "AvgValue": 1.1,
      "MedValue": 1.1
    },
    "Conductivity": {
      "Label": "sample string 1",
      "MaxDeviation": 1.1,
      "MinDeviation": 1.1,
      "AvgDeviation": 1.1,
      "MedDeviation": 1.1,
      "MaxValue": 1.1,
      "MinValue": 1.1,
      "AvgValue": 1.1,
      "MedValue": 1.1
    },
    "Date": "2019-08-20T19:29:49.4205688+00:00"
  },
  {
    "Temperature": {
      "Label": "sample string 1",
      "MaxDeviation": 1.1,
      "MinDeviation": 1.1,
      "AvgDeviation": 1.1,
      "MedDeviation": 1.1,
      "MaxValue": 1.1,
      "MinValue": 1.1,
      "AvgValue": 1.1,
      "MedValue": 1.1
    },
    "PH": {
      "Label": "sample string 1",
      "MaxDeviation": 1.1,
      "MinDeviation": 1.1,
      "AvgDeviation": 1.1,
      "MedDeviation": 1.1,
      "MaxValue": 1.1,
      "MinValue": 1.1,
      "AvgValue": 1.1,
      "MedValue": 1.1
    },
    "Desinfectant": {
      "Label": "sample string 1",
      "MaxDeviation": 1.1,
      "MinDeviation": 1.1,
      "AvgDeviation": 1.1,
      "MedDeviation": 1.1,
      "MaxValue": 1.1,
      "MinValue": 1.1,
      "AvgValue": 1.1,
      "MedValue": 1.1
    },
    "OxydoRecutionPotential": {
      "Label": "sample string 1",
      "MaxDeviation": 1.1,
      "MinDeviation": 1.1,
      "AvgDeviation": 1.1,
      "MedDeviation": 1.1,
      "MaxValue": 1.1,
      "MinValue": 1.1,
      "AvgValue": 1.1,
      "MedValue": 1.1
    },
    "Conductivity": {
      "Label": "sample string 1",
      "MaxDeviation": 1.1,
      "MinDeviation": 1.1,
      "AvgDeviation": 1.1,
      "MedDeviation": 1.1,
      "MaxValue": 1.1,
      "MinValue": 1.1,
      "AvgValue": 1.1,
      "MedValue": 1.1
    },
    "Date": "2019-08-20T19:29:49.4205688+00:00"
  }
]

text/html

Sample:
[{"Temperature":{"Label":"sample string 1","MaxDeviation":1.1,"MinDeviation":1.1,"AvgDeviation":1.1,"MedDeviation":1.1,"MaxValue":1.1,"MinValue":1.1,"AvgValue":1.1,"MedValue":1.1},"PH":{"Label":"sample string 1","MaxDeviation":1.1,"MinDeviation":1.1,"AvgDeviation":1.1,"MedDeviation":1.1,"MaxValue":1.1,"MinValue":1.1,"AvgValue":1.1,"MedValue":1.1},"Desinfectant":{"Label":"sample string 1","MaxDeviation":1.1,"MinDeviation":1.1,"AvgDeviation":1.1,"MedDeviation":1.1,"MaxValue":1.1,"MinValue":1.1,"AvgValue":1.1,"MedValue":1.1},"OxydoRecutionPotential":{"Label":"sample string 1","MaxDeviation":1.1,"MinDeviation":1.1,"AvgDeviation":1.1,"MedDeviation":1.1,"MaxValue":1.1,"MinValue":1.1,"AvgValue":1.1,"MedValue":1.1},"Conductivity":{"Label":"sample string 1","MaxDeviation":1.1,"MinDeviation":1.1,"AvgDeviation":1.1,"MedDeviation":1.1,"MaxValue":1.1,"MinValue":1.1,"AvgValue":1.1,"MedValue":1.1},"Date":"2019-08-20T19:29:49.4205688+00:00"},{"Temperature":{"Label":"sample string 1","MaxDeviation":1.1,"MinDeviation":1.1,"AvgDeviation":1.1,"MedDeviation":1.1,"MaxValue":1.1,"MinValue":1.1,"AvgValue":1.1,"MedValue":1.1},"PH":{"Label":"sample string 1","MaxDeviation":1.1,"MinDeviation":1.1,"AvgDeviation":1.1,"MedDeviation":1.1,"MaxValue":1.1,"MinValue":1.1,"AvgValue":1.1,"MedValue":1.1},"Desinfectant":{"Label":"sample string 1","MaxDeviation":1.1,"MinDeviation":1.1,"AvgDeviation":1.1,"MedDeviation":1.1,"MaxValue":1.1,"MinValue":1.1,"AvgValue":1.1,"MedValue":1.1},"OxydoRecutionPotential":{"Label":"sample string 1","MaxDeviation":1.1,"MinDeviation":1.1,"AvgDeviation":1.1,"MedDeviation":1.1,"MaxValue":1.1,"MinValue":1.1,"AvgValue":1.1,"MedValue":1.1},"Conductivity":{"Label":"sample string 1","MaxDeviation":1.1,"MinDeviation":1.1,"AvgDeviation":1.1,"MedDeviation":1.1,"MaxValue":1.1,"MinValue":1.1,"AvgValue":1.1,"MedValue":1.1},"Date":"2019-08-20T19:29:49.4205688+00:00"}]