AlphaX API Reference Documentation
  • API Introduction
  • General Architecture
  • Authentication
  • Rate Limits
  • HTTP
    • HTTP Headers
    • HTTP Parameters
    • HTTP Compression
    • HTTP Error and Status Codes
    • SSL Requests
    • Sending Data
      • Uplink Data Format V1
      • Uplink Data Format V2
    • Retrieve Data
      • Conduit V4
      • Conduit V6
      • Conduit V7
        • Using Conduit V7
        • Aggregation Features (Optional)
        • Common Issues & Troubleshooting
        • Usage Examples
  • MQTT
    • MQTT Authentication
    • MQTT Broker Address
    • Publishing Data
      • MQTT Publish Format V1
      • MQTT Publish Format V2
Powered by GitBook
On this page

Was this helpful?

  1. HTTP
  2. Retrieve Data

Conduit V6

Conduit V6 provides a full set of device data for each data point requested. Best used to register devices and update devices in other systems.

PreviousConduit V4NextConduit V7

Last updated 1 month ago

Was this helpful?

SECURITY NOTE: Conduit V6 uses GET method so request data forms part of the URL. This means your security token could potentially be stored in browser history or in web server logs.

Parameters

.

HTTP Method

GET Request

Base URL

https://api.alphax.cloud/conduitv6

Default Usage:

https://api.alphax.cloud/conduitv6?id=21xxx42xx37x&ch=1&token=xxxxxxxxxxxxxxxxxxxxxx

Returns last one hour data for Channel: 1 of Device: 21xxx42xx37x

Get Data by Date Range

https://api.alphax.cloud/conduitv6?token=xxxxxxxxxxxxxxxxxxxxxx&fcdt=1539792000&tcdt=1539840604
{
    "val_date":1608171093,
    "dev_netid":"842D8Yxxx754",
    "dev_chid":1,
    "val_raw":14,
    "val_type":"Count",
    "dev_tag":"PAX03",
    "val_description":"Count",
    "dev_site":"City",
    "val_cal":0,
    "val_offset":2,
    "dev_type":"device",
    "dev_label":"Active",
    "dev_powersource":"Battery",
    "dev_network":"LTE CatM1",
    "loc_lat":-38.146664,
    "loc_lng":145.116588,
    "dev_category":"Device",
    "dev_supplier":"Minnovation",
    "dev_model":null,
    "dev_manufacturer":"Minnovation",
    "val_calibrated":16
}

Returns all data values from date 1539792000 to 1539840604 for all devices the user has site access to.

Get Last Hour Data for All Devices

https://api.alphax.cloud/conduitv6?token=xxxxxxxxxxxxxxxxxxxxxx

Returns last one hour data values for each device the user has site access to.

See section for HTTP parameters