ethLogShared
Back to API doc top page.
Click here for a complete list of operations.
GetDoorStatsByUUID
For specified tag UUID, retrieves # of times opened and average open duration of each hour.
Used for building the motion event graph. Since open duration must exist, only retrieves open/closed events from sensors tags that are set to door/gate mode. For data of all types of motion event, use GetEventRawDataByUUID.POST /ethLogShared.asmx/GetDoorStatsByUUID HTTP/1.1
Host: wirelesstags.net
Content-Type: application/json; charset=utf-8
Content-Length: length
{
"id":string
}
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Content-Length: length
{
d:[
{
"date":string
nOpened:[
int,
int,
...
],
avgOpenedDuration:[
int,
int,
...
]
},
{
"date":string
nOpened:[
int,
int,
...
],
avgOpenedDuration:[
int,
int,
...
]
},
...
]
}