Getting started

Definitions

DefinitionDescription
LoginYour deconta-connect Account Name
ClientYour deconta-connect Client ID
TokenYour deconta-connect API Token
ArticleYour Device Article Number
SerialYour Device Serial Number

API Base URL

Each API endpoint builds on top of the base URL https://api.deconta-connect.com/

Base URL
https://api.deconta-connect.com/ ...
Example URL
https://api.deconta-connect.com/device/latest ...

API Login Name

Your API login is also your login for the deconta-connect platform. To obtain an API login, register at https://www.deconta-connect.com

Base URL
https://api.deconta-connect.com/ ...
Example URL
https://api.deconta-connect.com/device/latest/measurement ...
Example URL with Login
https://api.deconta-connect.com/device/latest/measurement
    ? login = api.demo@deconta-connect.com
    ...

API Client ID

You can find your Client ID in the API menu on the https://www.deconta-connect.com platform

Base URL
https://api.deconta-connect.com/ ...
Example URL
https://api.deconta-connect.com/device/latest/measurement ...
Example URL with Client ID
https://api.deconta-connect.com/device/latest/measurement
    ? login  = api.demo@deconta-connect.com
    ? client = 1234567890
    ...

API Key

You can find your API Key on your Profile on the https://www.deconta-connect.com platform

Base URL
https://api.deconta-connect.com/ ...
Example URL
https://api.deconta-connect.com/device/latest/measurement ...
Example URL with API Key
https://api.deconta-connect.com/device/latest/measurement
    ? login  = api.demo@deconta-connect.com
    ? client = 1234567890
    ? token  = 12345678-1234-1234-1234-987654321001
    ...

API Reponse

We constantly try to use clear identifiers to present all data as comprehensibly as possible. This ultimately causes a higher volume of data, but the identifier is self-explanatory for you. All data is returned in the standard JSON format, so that it can be easily processed in any programming language. Each API response contains a success and a date identifier. The success identifier indicates the successful execution of the API call. The date identifier always shows the date and time when the data packet was generated on the device. The date identifier is always formatted UTC (±0), so you can easily convert the date to your time zone.
Example Response: API Endpoint "... /device/latest/measurement"
{
  "success": true,
  "date": "2021-04-09 08:33:24",
  "data": {
    "negativePressure": "0",
    "filterPressure": "0",
    "volumeFlow": "0",
    "power": "0",
    "current": "0",
    "filterLoad": "0",
    "powerControl": "0",
    "negativePressureControlMinDay": "0",
    "negativePressureControlMinNight": "0",
    "negativePressureControlMax": "0",
    "volumeFlowControl": "0"
  }
}

API Endpoints

The currently available API endpoints:

Latest Measurement endpoint Returns the latest Measurement document received by the deconta-connect cloud

Device Control endpoint Transmits a control command to your device

Latest Error Message endpoint Returns the latest Error document received by the deconta-connect cloud

Potential Errors

Whenever an API call fails, an explicit error is returned. The error always contains the error code and an error description. All data is returned in the standard JSON format, so that it can be easily processed in any programming language.
Example Error Response
{
  "success": false,
  "error": {
    "code": 405,
    "info": "You have reached your request limit. (1/min)"
  }
}

Error codes

Error CodeError Description
101No login was specified, or invalid email address was specified
102No client was specified, or invalid client was specified
103No API key was specified, or invalid API key was specified
201Client validation failed
301No device article was specified, or invalid device article was specified
302No device serial was specified, or invalid device serial was specified
303Device validation failed
304The specified device can not be found
305The control value exceeds the limits of the device
404The requested resource does not exist
405Your request limit has been reached (10/min)
501The specified device is not linked to your user account

Contact

  • HQ

    deconta GmbH

    Im Geer 20

    46419 Isselburg - Germany

    +49 (0) 28 74 91 56 0

    info@deconta.com

  • deconta s.a.r.l.

    15, rue des Couturièrs

    67240 BISCHWILLER - France

    +33 (0) 3 88 07 17 37

    info@deconta.fr

  • deconta Gerätetechnik AG

    Alte Aarburgerstrasse 46

    4852 Rothrist - Switzerland

    +41 (0) 62 752 46 00

    info@deconta.ch

  • deconta s.r.l. a s.u.

    Via Rizzotti 5

    37064 Povegliano Veronese (VR) - Italy

    +39 045 63 50 750

    info@deconta.it

  • deconta SL

    C/ Enric Prat de la Riba núm 2

    08830 ST BOI DE LLOBREGAT (BCN) - Spain

    +34 93 63 00 39 0

    info@deconta.es

  • deconta Pty Ltd

    Unit 3, 22-30 North View Drive

    Sunshine West, VIC 3020 - Australia

    +61 (0) 3 93 124565

    info@deconta.com.au

  • deconta UK Ltd

    Unit 3 - 4 Edtech Business Park

    Locomotion Way

    Camperdown Industrial Estate Killingworth

    Tyne & Wear NE12 5UP - England

    +44 (0) 191 268 9809

    info@deconta.co.uk