...
In this example we're looking for an event with the name "Login", between 1 Feb 2016, and 31 Mar 2016 (inclusive), for all users in the group "Inspector".
Response:
The response we get is an objectarray:
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
Array ( [0] => Array ( [_id] => 56e5f063219b38e07abac241 [name] => Login [tags] => Array ( [username] => johnsmith [group] => Inspector ) [date] => 2016-03-13T22:57:39.774Z ) [1] => Array ( [_id] => 56ebd3e80a9b38e073ba1428 [name] => Login [tags] => Array ( [username] => johnsmith [group] => Inspector ) [date] => 2016-03-18T01:03:36.217Z ) ) |
Each item in the array is an array containing the information about that particular event.