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

NameTypeDescription

<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

NameTypeDescription

<APIKey>*

String

e.g.,: pnHEmHgjFl0PT247Eae9

<DeviceID>*

Integer

e.g.,: 25

<DevicePin>*

Integer

e.g.,: 957

Request Body

NameTypeDescription

<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

NameTypeDescription

<APIKey>*

String

e.g.,: pnHEmHgjFl0PT247Eae9

<DeviceID>*

Integer

e.g.,: 25

<DevicePin>*

Integer

e.g.,: 957

Request Body

NameTypeDescription

<Data>*

XML

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

Successfully updated XML from write AP

Last updated