Table of Contents
- API Usage Guide
- API Command Reference
- add_booking
- add_client
- add_invoice
- add_resource
- approve_request
- authenticate_user
- del_booking
- del_bookings
- del_client
- del_invoice
- del_resource
- email_client
- gen_invoice
- get_activity
- get_availability
- get_booking
- get_booking_type
- get_booking_types
- get_bookings
- get_client
- get_consumable_levels
- get_invoice
- get_invoices
- get_messages
- get_reminders
- get_resource
- get_resource_availability
- get_setting
- get_template
- get_user
- get_users_logged_in
- get_venue
- get_venue_groups
- get_venues
- get_venues_in_group
- get_venues_in_use
- get_watches
- mod_booking
- mod_client
- mod_invoice
- mod_resource
- mod_venue
- notify_user
- reject_request
- restore_booking
- set_setting
- set_template
- util_api_usage
- util_from_epoch
- util_to_epoch
- Appendix A - Activity Codes
- Appendix B - Setting Names
- Appendix C - Error Handling
- Code Samples
- Troubleshooting
- Release Notes
← Hide Table of Contents
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 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 |