Definition of CIMON REST API
CIMON REST API |
UltimateAccess Web server provides REST API that lets anyone easily request the data in CIMON Historian Database. The verified end user may utilize the 4 types of data shared via REST API.
1. Page Recorder |
Get recorded data list
URL : http://(IP):(PORT)/pageRec/page_rec_time
Method : 'POST'
Headers : ‘Content-Type’: ‘application/json’
Request | Response |
{
"pageName":"Pagename"
}
| {
"data": [
{
"start_time": (Start time),
"end_time": (End time),
"min_sec": (Minute/Second)
},
…
]
}
|
2. Data Log |
Get data log
URL : http://(IP):(PORT)/dataLog/get_log_rawdata
Method : 'POST'
Headers : ‘Content-Type’: ‘application/json’
Request | Response |
{
"tagArr":
[
"TAG1",
"TAG2",
"TAG3"
],
"startTime":"yyyy/MM/dd hh:mm:ss",
"endTime":"yyyy/MM/dd hh:mm:ss"
}
|
|
3. Alarm History |
Get alarm history
URL : http://(IP):(PORT)/historyAlarm/get_history_alarm
Method : 'POST'
Headers : ‘Content-Type’: ‘application/json’
NOTE : Enter asc (ascending) or desc (descending) to the parameter order to request data.
Request | Response |
|
|
4. Network Status |
Get network status
URL : http://(IP):(PORT)/networkStatus/get_network_status
Method : 'POST'
Headers : ‘Content-Type’: ‘application/json’
Request | Response |
|
|