POST modules/activate

Add a Flipr module to the current authenticated user. FREE WITH LIMITATIONS

Request Information

URI Parameters

None.

Body Parameters

the activation data

Flipr.Web.Api.Controllers.JsonWrappers.Activation
NameDescriptionTypeAdditional information
serial

Gets or sets the serial number

string

None.

activationKey

Gets or sets the activation key

string

None.

Request Formats

application/json, text/json

Sample:
{
  "serial": "sample string 1",
  "activationKey": "sample string 2"
}

text/html

Sample:
{"serial":"sample string 1","activationKey":"sample string 2"}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

402 if there is allready someone listening to the module, on basic versions with no subscribtion

Flipr.Data.SQL.Modules.Module
NameDescriptionTypeAdditional information
ActivationKey

Gets or sets the activation key

string

None.

IsSuspended

Gets or sets a value indicating whether or not the module is suspended

boolean

None.

Status

Gets the module's status. Used for the 4life subscription option

Flipr.Data.SQL.Modules.History

None.

BatteryPlugDate

Gets or sets the date at which the current battery has been pluged.

date

None.

Comments

Gets or sets the comments

string

None.

Associations

Gets or sets the list of owners

Collection of Flipr.Data.SQL.Modules.UserModules

None.

NoAlertUnil

Gets or sets the date until which the user doesn't want to see any notification / defect

date

None.

MonitoredPools

Gets or sets the monitored pools list

Collection of Flipr.Data.SQL.Pool.ModulePool

None.

Serial

Gets or sets the serial

string

Required

String length: inclusive between 0 and 8

PAC

Gets or sets the Sigfox's 'PAC' value

string

None.

ResetsCounter

Gets or sets the number of resets

integer

None.

SigfoxStatus

Gets or sets the sigfox status

Flipr.Data.SQL.Modules.SigfoxStatus

None.

OffsetOrp

Gets or sets the orp offset

decimal number

None.

OffsetTemperature

Gets or sets the temperature offset

decimal number

None.

OffsetPh

Gets or sets the ph offset

decimal number

None.

OffsetConductivite

Gets or sets the conductivity offset

integer

None.

IsForSpa

Gets or sets the spa flag

boolean

None.

Version

Gets or sets the model's version

integer

None.

LastMeasureDateTime

Gets or sets the datetime of the last measure

date

None.

CommercialType

Gets or sets the commercial type

Flipr.Data.SQL.Modules.Commercial

None.

SubscribtionValidUntil

Gets or sets the subscription validity's end date as seconds since unix epoch

date

None.

IsSubscriptionValid

Gets a value indicating whether or not the subscribtion is still valid

boolean

None.

Response Formats

application/json

Sample:

Sample not available.

text/json

Sample:

Sample not available.

text/html

Sample:

Sample not available.