OpenIoE
  • Open IoE - 3.0.0
  • Open IoE App
    • Introduction
    • Getting Started
    • Features
      • IoT Devices
      • Plots
      • Gauges
      • Controls
    • Examples
      • Temperature-Humidity Monitoring & LED Control
  • API References
    • Overview
    • Read API
    • Write API
    • Additional APIs
    • Integration
  • Python Library
    • Introduction
    • Getting Started
    • List of Functions
    • Examples
      • Read Function
      • Write Function
      • Create Function
  • Matlab
    • Matlab Client
Powered by GitBook
On this page
  • Write Value to IoT Device
  • Write JSON to IoT Device
  • Write XML to IoT Device
  1. API References

Write API

Write Value to IoT Device

GET http://app.openioe.in/api/updatedevicevalue

Format: http://app.openioe.in/api/updatedevicevalue/<APIKey>/<DeviceID>/<DevicePIN>/<Data>

Path Parameters

Name
Type
Description

<APIKey>*

String

e.g.,: pnHEmHgjFl0PT247Eae9

<DeviceID>*

Integer

e.g.,: 25

<DevicePin>*

Integer

e.g.,: 957

<Data>*

String

e.g.,: 99.15

Successfully updated value from write API

Write JSON to IoT Device

POST http://app.openioe.in/api/updatedevicejson

Format: http://app.openioe.in/api/updatedevicejson/<APIKey>/<DeviceID>/<DevicePIN>

Path Parameters

Name
Type
Description

<APIKey>*

String

e.g.,: pnHEmHgjFl0PT247Eae9

<DeviceID>*

Integer

e.g.,: 25

<DevicePin>*

Integer

e.g.,: 957

Request Body

Name
Type
Description

<Data>*

JSON

e.g.,: {"name": "India"}

Successfully updated JSON from write API

Write XML to IoT Device

POST http://app.openioe.in/api/updatedevicexml

Format: http://app.openioe.in/api/updatedevicexml/<APIKey>/<DeviceID>/<DevicePIN>

Path Parameters

Name
Type
Description

<APIKey>*

String

e.g.,: pnHEmHgjFl0PT247Eae9

<DeviceID>*

Integer

e.g.,: 25

<DevicePin>*

Integer

e.g.,: 957

Request Body

Name
Type
Description

<Data>*

XML

e.g.,: <name> India</name>}

Successfully updated XML from write AP

PreviousRead APINextAdditional APIs

Last updated 1 year ago