POST modules/create

registers the new device

Request Information

URI Parameters

None.

Body Parameters

the different parameters of the flipr

Flipr.Business.Views.BenchmarkResultOfFlipr.Business.Views.DeviceDefinition[]
NameDescriptionTypeAdditional information
token

string

None.

version

integer

None.

CryptoKey

string

None.

Data

Collection of Flipr.Business.Views.DeviceDefinition

None.

Request Formats

application/json, text/json

Sample:
{
  "token": "sample string 1",
  "version": 2,
  "CryptoKey": "sample string 3",
  "Data": [
    {
      "device": "sample string 1",
      "payload": "sample string 2",
      "isValid": true,
      "pac": "sample string 4",
      "activationKey": "sample string 5"
    },
    {
      "device": "sample string 1",
      "payload": "sample string 2",
      "isValid": true,
      "pac": "sample string 4",
      "activationKey": "sample string 5"
    }
  ]
}

text/html

Sample:
{"token":"sample string 1","version":2,"CryptoKey":"sample string 3","Data":[{"device":"sample string 1","payload":"sample string 2","isValid":true,"pac":"sample string 4","activationKey":"sample string 5"},{"device":"sample string 1","payload":"sample string 2","isValid":true,"pac":"sample string 4","activationKey":"sample string 5"}]}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Return if the operation has been released successfully.

Flipr.Business.Views.RegistrationResult
NameDescriptionTypeAdditional information
Total

integer

None.

Success

integer

None.

Fails

Collection of string

None.

Response Formats

application/json, text/json

Sample:
{
  "Total": 1,
  "Success": 2,
  "Fails": [
    "sample string 1",
    "sample string 2"
  ]
}

text/html

Sample:
{"Total":1,"Success":2,"Fails":["sample string 1","sample string 2"]}