Skip to main content

Submit Data to Anedya

POST 

/v1/submitData

Devices can submit the data to this endpoint. You need to specify the authentication mode you want to use to access APIs by setting Auth-mode header.

MQTT Topic

$anedya/device/{deviceid}/submitdata/json

Request

Body

    data object[]required
  • Array [
  • variable string

    Variable identifier specified during variable creation

    value object

    Depending on the type of variable, value can be a number or a JSON object. For example, for float variables it will be number.

    oneOf
    lat number

    Possible values: >= -90 and <= 90

    Lattitude in Decimal Degrees

    long number

    Possible values: >= -180 and <= 180

    Longitude in decimal degrees

    timestamp integer

    0 passed as timestamp value will be replaced by current timestamp during processing

  • ]

Responses

OK

Schema
    success boolean
    error string
    errcode integer
Loading...