Support Center

API v3 | Documentation

Last Updated: Feb 23, 2017 11:56AM CET

Introduction

An app is defined by a set of views that can be embedded into DEXCell Energy Manager using an Iframe. Apps are configured in DEXCell Developer Portal (access should be requested) inside "Account Management" in DEXCell Energy Manager. For each App, and idclient and a secret are provided.
 

Using the API v3


To start using the DEXMA API, click here: DEXCell API v3
 

Creating an Application

To create an Application just login your developer or superadmin account into DEXCell Energy Manager and go to "Market Apps". There is a list of all your applications. You can create, modify and publish applications.

To create an applications just click on "New Market App" and fill the form:
Name: A name for your application
Description: A description for your application.
Image: you can upload a 200px x 200px image that will be shown in the Market.
Price: select a price. 0 for free.
Contact: Your email address.
Software by: The name of your company.
Visibility: Public apps will be available to install for all DEXCell Energy Manager customers. Private will be available only for your customers.
Terms of service: A link to your terms of service.
Install URL: The url that will perform the install of the application (see developers.dexcell.com)
Views: You can define as many views as you want. For every view an icon (optional), a name and a url (the url that will be embedded inside the iframe) need to be defined. You need also to define where the view will appear: Location Dashboards, Zone Dashboards, Analysis, Configuration.
Permissions: The app needs to define each kind of information wants to access from the customer account.
 

Calls examples

 

1. Obtain a list of all my locations

url: https://api.dexcell.com/v3/locations

2. Obtain the specific information of one account

url: https://api.dexcell.com/v3/locations/XXX (where XXX is one of the IDs obtained in the previous call)


 

3. Obtain electrical consumption data

url: http://api.dexcell.com/v3/readings?device_id=XXXXX&operation=DELTA&parameter_key=EACTIVE&resolution=D&from=2015-05-08T00:00:00&to=2015-05-09T23:59:59​

How I create the call?

http://api.dexcell.com/v3/readings + “?” + all the parameters joint by “&”
- device_id: 3473 (id of the device)
- Operation: DELTA (delta readings) 
- Parameter_key: EACTIVE (key of the Active Energy parameter)
- Resolution: D (daily). Others: FM, TM, QH, HH, H, D, M
- From: 2016-05-08T00:00:00  (from date with the format YYYY-MM-DDT00:00:00)
- To: 2016-05-10T23:59:59 (to date with the format YYYY-MM-DDT00:00:00)
 

4. Obtain electrical cost for an specific device

url: http://api.dexcell.com/v3/cost/electrical/consumption?device_id=XXXX&from=2016-04-01T00:00:00&to=2015-12-31T23:59:59&resolution=M



How I create the call?

http://api.dexcell.com/v3/cost/electrical/consumption + “?” + all the parameters joint by “&”
- device_id: 3473 (id of the device)
- Resolution: M (monthly). Others: FM, TM, QH, HH, H, D, M
- From: 2016-05-08T00:00:00  (from date with the format YYYY-MM-DDT00:00:00)
- To: 2016-05-10T23:59:59 (to date with the format YYYY-MM-DDT00:00:00)

Contact Us

  • Post a Public Question
  • Email Us
  • Tel : +34 931 810 195
    Hours: 9am - 6pm CEST, Mon to Fri
    support@dexmatech.com

    Check Public holidays here

    Support
soporte@dexmatech.com
http://assets0.desk.com/
false
dexma
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
false
Invalid characters found
/customer/en/portal/articles/autocomplete