Send multiple IOT meter readings using API

Send multiple IOT meter readings using API

Home New Forums Community Send multiple IOT meter readings using API

Viewing 1 reply thread
  • Author
    Posts
    • #1215
      Suman
      Participant

      I am able to successfully send IoT data from a sensor to Taqtile platform. But there is no provision to send multiple sensor data using the same single API. This is the API I am using to snide data from an IoT Edge computer that is running Node Red.

      {

      “query”: “mutation($data: MeasurementInput!){addMeasurement(data: $data)}”,

      “variables”: {

      “data”: {

      “meterId”: “21”,

      “assetId”: “12”,

      “value”: 95,

      “source” : “Manual”

      }

      }

      }

      The meterId above is only for Temperature, I would like to send pressure and battery percentage as well that have separate meterIds. How do I send them in the same query since data is an object and does not take an array as a parameter? For context I am using a temperature/pressure sensor that send temperature, pressure and battery percentage in each reading. I do not want to make 3 API calls for 1 reading.

       

      Thanks,

      Suman Ray.

    • #1217
      Maureen
      Participant

      Hi Suman,

      Today, you are correct in that you’d need to make separate API calls. It could be possible for us to accommodate sending multiple sensor data through the API with some adjustments. We can add it to the dev queue for evaluation. If there’s an urgency behind this ask, please talk to your Account Manager.

      Thank you,

      Maureen

       

Viewing 1 reply thread
  • You must be logged in to reply to this topic.
× < class='eael-toc-title'>Table of Contents