get_activity
Returns all MIDAS user activity between two dates/times. The optional "user" parameter can be used to limit the activity returned to a specific user, and the optional "filter" parameter can be used to limit the results to a specific activity.
Required Parameters | Possible Values | Description |
start | Valid date and time (Format: YYYYMMDDHHMM) | Start time |
end | Valid date and time (Format: YYYYMMDDHHMM) | End time |
Optional Parameters | Possible Values | Description |
user | User's full name | SYSTEM | Limit the returned activity to a specific user identified by <User's Full Name> or the keyword "SYSTEM". "SYSTEM" will return activity not assigned to a specific user (for example database backups, new booking requests received, etc). If this parameter is omitted, activity for all users (including "SYSTEM") will be returned |
filter | activity code | Limit the returned activity to a specific action. See Appendix A for a list of activity codes |
Example Response ↓ Show |
[
{
"time":" 5/4/2013 @ 07:53",
"user":"SYSTEM",
"action":"BKUP"
},
{
"time":" 5/4/2013 @ 07:26",
"user":"Joe Bloggs",
"action":"ADD",
"data1":"12/5/2013 @ 22:00"
}
] |
Variables Returned | Description |
time | Date/Time activity occurred |
user | User who generated activity |
action | Code of action performed. See Appendix A for a list of activity codes |
data1 | Returns additional data specific to action. See Appendix A for more information |
data2 | Returns additional data specific to action. See Appendix A for more information |
data3 | Returns additional data specific to action. See Appendix A for more information |
data4 | Returns additional data specific to action. See Appendix A for more information |