MIDAS API

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 ParametersPossible ValuesDescription
startValid date and time
(Format: YYYYMMDDHHMM)
Start time
endValid date and time
(Format: YYYYMMDDHHMM)
End time
Optional ParametersPossible ValuesDescription
userUser's full name | SYSTEMLimit 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
filteractivity codeLimit 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 ReturnedDescription
timeDate/Time activity occurred
userUser who generated activity
actionCode of action performed. See Appendix A for a list of activity codes
data1Returns additional data specific to action. See Appendix A for more information
data2Returns additional data specific to action. See Appendix A for more information
data3Returns additional data specific to action. See Appendix A for more information
data4Returns additional data specific to action. See Appendix A for more information