String (Unique user key)String (Keys for reading/writing)Integer (Numeric values / registers)DateOnly (Format: YYYY-MM-DD)Integer (Number of days history)String (JSON) (Data for/from device)| Method | Function | URL Example |
|---|---|---|
| GET |
Read Device List Retrieves the user's device list. |
https://iot.plc-x.com/api/data/rdl?uk=USER-KEY |
| GET | Read Device Data by Date Returns device data based on the start date and the specified number of days. |
https://plc-x.com |
| GET | Read Cloud Data Returns cloud data for the respective device. The response contains both "FOR device" and "FROM device" fields. |
https://iot.plc-x.com/api/data/rc?uk=USERKEY&rk=READ-KEY |
| GET |
Write Device Data
Writes data for a single device. Up to 8 fields (f1...f8) are supported. The write status will be returned in the response. |
https://iot.plc-x.com/api/data/wd?uk=USER_KEY&wk=WRITE_KEY&f1=0 |
| GET | Write Cloud Data FOR Device You application os server stores JSON data in this field for your desitation device to fetch |
https://iot.plc-x.com/api/data/cfo?uk=USER-KEY&wk=WRITE-KEY&json=DATA-FOR-DEVICE |
| GET | Write Data FROM Device The device stores JSON data in this field for your application or server to fetch |
https://iot.plc-x.com/api/data/cfr?uky=USER-KEY&wk=WRITE-KEY&json=DATA-FROM-DEVICE |