Send Measurement Data

<< Click to Display Table of Contents >>

Navigation:  Help > Troubleshooting > Previous Manuals > E-SM-RMS-WEB > Application Programming Interface (API) > Integrate a JSON Device into RMS >

Send Measurement Data

URL: POST /rmsService/wService3.DeviceService.svc/UpdateDataJson

 

{

"DeviceId":<id>,

"Name":"<name>",

"Serial":<serial>,

"Token":<token>,

"Values":[{

"Index":1,

"Typ":1,

"Unit":"%rh",

"Value":35.6

},

{"Index":2,

"Typ":2,

"Unit":"°C",

"Value":23.5

}]

}

 

 

Device ID

The device ID will be provided by the RMS server after pairing the device

Name

Description of the device

Serial number

Serial number of the device (must be a number)

Token

Security token, will be provided by the RMS server after pairing the device

Values

Array containing the measurement values (max 8 measure values are supported)

Index

Measure point index 0..7

Type

Measure point Type

0 = unknown/analog input

1 = Humidity

2 = Temperature

32 = CO2

48 = Pressure

49 = Differential pressure

62 = Logic input (0/1)

63 = Logic output (0/1)

Unit

Display unit (only applicable for type 0)

Value

Measure value (will be saved in float format)

 

Important:

Do not send data more often than our RMS account minimal interval. Data sent to fast after the last transmission will be ignored.