Device
Add or get Device
| API | Description |
|---|---|
| POST addDevice |
Add/Update devices and canals |
| POST getDevice/{deviceID} |
Get device information |
| POST getDeviceList |
Get list of device information |
| POST getDeviceByListOfDeviceID |
Get list of device information |
| POST getDeviceByDeviceType/{deviceType} |
Get list of device information |
| POST getDeviceByCanalType/{canalType} |
Get list of device information |
| POST getDeviceBySiteID/{siteID} |
Get list of device information |
| POST getDeviceByListOfCanalID |
Get list of device information |
| POST getDeviceByArray |
Get list of device information |
| POST getDeviceByCircle |
Get list of device information |
| POST getDeviceBySpatialID/{spatialID} |
Get list of device information |
Data
Add or get Data
| API | Description |
|---|---|
| POST addData |
Add datas to a canal |
| POST getData/{deviceID}/{canalID} |
Get the last data from a canal |
| POST getDataByPeriod/{deviceID}/{canalID}/{dateStart}/{dateEnd} |
Get datas from a canal during a period |
| POST getDataByDeviceType/{deviceType} |
Get the last data from a type of device |
| POST getDataByDeviceTypeByPeriod/{deviceType}/{dateStart}/{dateEnd} |
Get datas from a type of device during a period |
| POST getDataByCanalType/{canalType} |
Get the last data from a type of canal |
| POST getDataByCanalTypeByPeriod/{canalType}/{dateStart}/{dateEnd} |
Get datas from a type of canal during a period |
Alert
Add or get Alert
| API | Description |
|---|---|
| POST addAlert |
Add alert |
| POST getAlert/{messageID} |
Get alert |
| POST getAlertBySenderByPeriod/{senderID}/{dateStart}/{dateEnd} |
Get alerts during a period |