PUT modules/{serial}/Thresholds

Updates the custom thresholds. FREE

Request Information

URI Parameters

NameDescriptionTypeAdditional information
serial

the module's serial

string

Required

Body Parameters

the thresholds

Flipr.Web.Api.Controllers.ModuleController+ThresholdsWapper
NameDescriptionTypeAdditional information
PhMin

Gets or sets the PH's lower threshold

Flipr.Web.Api.Controllers.ModuleController+ThresholdValue

None.

PhMax

Gets or sets the PH's lower threshold

Flipr.Web.Api.Controllers.ModuleController+ThresholdValue

None.

Redox

Gets or sets the redox' lower threshold

Flipr.Web.Api.Controllers.ModuleController+ThresholdValue

None.

TemperatureMax

Gets or sets the temprature's higther threshold

Flipr.Web.Api.Controllers.ModuleController+ThresholdValue

None.

Temperature

Gets or sets the temprature's lower threshold

Flipr.Web.Api.Controllers.ModuleController+ThresholdValue

None.

Request Formats

application/json, text/json

Sample:
{
  "PhMin": {
    "IsDefaultValue": true,
    "Value": 1.1
  },
  "PhMax": {
    "IsDefaultValue": true,
    "Value": 1.1
  },
  "Redox": {
    "IsDefaultValue": true,
    "Value": 1.1
  },
  "TemperatureMax": {
    "IsDefaultValue": true,
    "Value": 1.1
  },
  "Temperature": {
    "IsDefaultValue": true,
    "Value": 1.1
  }
}

text/html

Sample:
{"PhMin":{"IsDefaultValue":true,"Value":1.1},"PhMax":{"IsDefaultValue":true,"Value":1.1},"Redox":{"IsDefaultValue":true,"Value":1.1},"TemperatureMax":{"IsDefaultValue":true,"Value":1.1},"Temperature":{"IsDefaultValue":true,"Value":1.1}}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

the resulting thresholds

Flipr.Web.Api.Controllers.ModuleController+ThresholdsWapper
NameDescriptionTypeAdditional information
PhMin

Gets or sets the PH's lower threshold

Flipr.Web.Api.Controllers.ModuleController+ThresholdValue

None.

PhMax

Gets or sets the PH's lower threshold

Flipr.Web.Api.Controllers.ModuleController+ThresholdValue

None.

Redox

Gets or sets the redox' lower threshold

Flipr.Web.Api.Controllers.ModuleController+ThresholdValue

None.

TemperatureMax

Gets or sets the temprature's higther threshold

Flipr.Web.Api.Controllers.ModuleController+ThresholdValue

None.

Temperature

Gets or sets the temprature's lower threshold

Flipr.Web.Api.Controllers.ModuleController+ThresholdValue

None.

Response Formats

application/json, text/json

Sample:
{
  "PhMin": {
    "IsDefaultValue": true,
    "Value": 1.1
  },
  "PhMax": {
    "IsDefaultValue": true,
    "Value": 1.1
  },
  "Redox": {
    "IsDefaultValue": true,
    "Value": 1.1
  },
  "TemperatureMax": {
    "IsDefaultValue": true,
    "Value": 1.1
  },
  "Temperature": {
    "IsDefaultValue": true,
    "Value": 1.1
  }
}

text/html

Sample:
{"PhMin":{"IsDefaultValue":true,"Value":1.1},"PhMax":{"IsDefaultValue":true,"Value":1.1},"Redox":{"IsDefaultValue":true,"Value":1.1},"TemperatureMax":{"IsDefaultValue":true,"Value":1.1},"Temperature":{"IsDefaultValue":true,"Value":1.1}}