143 WISE-4000 User Manual
Appendix B REST for WISE-4000 Series
B.2.5 Data Logger
B.2.5.1 /log_message
Description Retrieves the log data in system memory.
URL Structure http://10.0.0.1/log_message
HTTP Method
GET: According to the setting of filtering, server returns the all/partial of logged
data.
GET
Request:
GET /log_message
[Example]:
Request: GET /log_message for WISE-4060/LAN module
Content-type: application/json
Response: 200 OK
{
"LogMsg": [
{
"PE":128,
"TIM":"2014-11-11T15:48:32+08:00",
"UID":"ADAM-4060/LAN_00D0C9FE1601",
"MAC":"00-D0-C9-FE-16-01",
"Record" :
[
[0,3,3,1],
[0,2,4,150],
[0,5,5,250]
]
},
{
"PE":128,
"TIM":"2014-11-11T15:49:44+08:00",
"UID":"ADAM-4060/LAN_00D0C9FE1601",
"MAC":"00-D0-C9-FE-16-01",
"Record" :
[
[0,3,3,0],
[0,2,4,140],
[0,5,5,240]
]
},
{
"PE":128,
"TIM":"2014-11-11T15:51:02+08:00",
"UID":"ADAM-4060/LAN_00D0C9FE1601",
"MAC":"00-D0-C9-FE-16-01",
"Record" :
[
[0,3,3,0],
[0,2,4,130],
[0,5,5,230]
]
}
]
}