Table of Contents
- API Usage Guide
- API Command Reference
- add_booking
- add_client
- add_invoice
- add_resource
- add_venue_group
- approve_request
- authenticate_user
- del_booking
- del_bookings
- del_client
- del_invoice
- del_resource
- del_venue_group
- 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
- mod_venue_group
- 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: Release Notes
| v2.61 | |
| 11th November 2025 | · Improved: "get_" can now accept a comma separated list of activity codes in the 'filter' parameter |
| v2.60 | |
| 24th June 2025 | · Improved: "del_" call can now accept either a venue group name or ID· Improved: " mod_" call can now accept either a venue group name or ID |
| v2.59 | |
| 23rd April 2025 | · Fixed: Fixed: Sanitizing client and org names when adding new clients |
| v2.58 | |
| 12th September 2024 | · Fixed: Quotation marks in custom field values prevented new bookings from being added |
| v2.57 | |
| 8th August 2024 | · New: "add_" call· New: " del_" call· New: " mod_" call |
| v2.56 | |
| 26th March 2024 | · New: "get_" call· Improved: Code optimization · Fixed: Does Not Contain and Begins/Ends with advanced filtering may fail when case sensitivity is enforced |
| v2.55 | |
| 22nd June 2023 | · Improved: Short caching of some responses |
| v2.54 | |
| 4th January 2023 | · Change: Returned "max_" parameter from "get_" call replaced with "max_" and "max_" parameters· Fixed: " get_" call returned invalid JSON |
| v2.53 | |
| 8th December 2022 | · Improved: "get_" call now returns custom client fields· Improved: Error handling in " util_" when no logging table exists in database· Update: Compatibility for MIDAS v4.32 |
| v2.52 | |
| 18th May 2022 | · Fixed: MySQL compatibility |
| v2.51 | |
| 30th March 2022 | · New: "mod_" call |
| v2.50 | |
| 14th February 2022 | · Update: Compatibility with MIDAS v4.30 |
| v2.49 | |
| 17th December 2021 | · Update: Compatibility with MIDAS v4.29 · Improved: Perl taint mode compatibility |
| v2.48 | |
| 25th August 2021 | · New: API usage monitoring · New: " util_" call· New: API usage log retention setting · Improved: API logging |
| v2.47 | |
| 18th August 2021 | · Improved: "attendees", "invoice", and "notes" can now all be used with the "filter_" parameter of the "get_" call· Improved: API logging · Fixed: " filter_" parameter of "get_" not recognizing all custom fields· Fixed: " filter_" parameter of "get_" couldn't be empty if "filter_" parameter was passed |
| v2.46 | |
| 24th July 2021 | · Fixed: "get_" call may fail when two or more parameters are passes, and "match" parameter is set to "exact"· Fixed: " mod_" call may fail when setting a new organization name |
| v2.45 | |
| 8th July 2021 | · New: "get_" call· New: " get_" call· New: Optional " style" parameter added to "email_" call· New: Optional " receipt" parameter added to "email_" call· New: API can now (optionally) return different http status codes depending upon result · New: "Force HTTP Status 200 for all responses" option (default) · Fixed: " email_" call with "invoice" parameter set, not correctly sending emails· Fixed: Watch notifications not being sent if API not running under a specific user account |
| v2.44 | |
| 29th June 2021 | · Fixed: Sever error when calling "gen_" if itemized invoice notes disabled |
| v2.43 | |
| 25th June 2021 | · Fixed: "gen_" call resets invoice counter· Fixed: " booking" parameter of "gen_" call not being recognized· Fixed: Unable to generate invoices via gen_ call if no invoicing terms defined |
| v2.42 | |
| 22nd June 2021 | · Fixed: Unable to initially apply an API key |
| v2.41 | |
| 7th April 2021 | · New: Ability to cancel and generate a new API key · Change: The return variable " requestable" has been renamed to "public" in the responses of "get_" and "get_" calls· Improved: " get_" response now includes details of the user's browser· Improved: " add_" and "mod_" calls now allow assigning resources to custom categories· Fixed: " add_" call returned "Unable to add resource"· Fixed: " mod_" call returned "Unable to modify resource" in some instances· Fixed: " get_" call not correctly returning public flag· Fixed: Server error when calling " get_" |
| v2.40 | |
| 25th March 2021 | · Fixed: Watch notifications may not correctly trigger in some instances |
| v2.39 | |
| 17th March 2021 | · Fixed: MariaDB compatibility |
| v2.38 | |
| 23rd February 2021 | · Fixed: "get_ |
| v2.37 | |
| 4th July 2020 | · Update: Compatibility for MIDAS v4.25 · Improved: " tax_", "credit", "internal_", "paid", "refunded", "term" and "type" parameters added to "add_" call· Improved: " type" parameter added to "get_" call· Improved: " credit", "internal_", and "refunded" parameters added to "mod_" call· Improved: " add_" call now accept optional "tax" parameter to set item's tax rate· Improved: " get_" call now returns "tax" parameter· Improved: " get_" call now returns "tax" parameter· Improved: " add_" call now accepts optional "type" parameter to allow creation of deposit/cancellation invoices as well as regular invoices· Change: " discount" and "tax" parameters removed from "add_" call· Change: " discount" parameter removed from "get_" call· Change: " tax_" and "tax_" parameters are now returned per-item following a "get_" call· Fixed: Not possible to mod_ in some instances (i.e. if internal notes added to unsent invoice)· Fixed: " charge" parameter not being correctly saved when calling "add_" |
| v2.36 | |
| 22nd October 2019 | · Update: Compatibility for MIDAS v4.23 · Fixed: filter_ parameters of "get_" call may return "filter field not found" in some instances |
| v2.34 | |
| 13th May 2019 | · Update: Compatibility for MIDAS v4.22 |
| v2.33 | |
| 8th May 2019 | · Fixed: Unable to save settings in some instances · Fixed: After saving settings, Save Settings button may not display anything |
| v2.32 | |
| 10th April 2019 | · Fixed: "del_" call didn't remove deleted invoice reference from existing bookings |
| v2.31 | |
| 2nd March 2019 | · Fixed: "closed_" parameter of "get_" call may return invalid JSON in the event no "closed between" times set for selected venue. |
| v2.30 | |
| 29th January 2019 | · · New: Optional "unsent" parameter added to "get_" call to limit returned invoices to those which are unsent· Update: Compatibility for MIDAS v4.21 |
| v2.29 | |
| 18th December 2018 | · Fixed: Support for Perl 5.26+ |
| v2.28 | |
| 15th November 2018 | · · New: "runas" parameter - similar to existing "logas" parameter, but enforces specified user's permissions when making API calls. (If both "logas" and "runas" are supplied, "runas" will override "logas")· Improved: " authenticate_" call now accepts optional "include_" parameter to allow authenticating even if user account is locked/suspended· Improved: " authenticate_" call now accepts optional "bypass_" parameter to allow bypassing of failed login count checking/incrementing |
| v2.27 | |
| 27th September 2018 | · Update: Icon compatibility for MIDAS v4.20 · Improved: " get_" call can now accept "modified_" and "modified_" parameters to restrict results to those bookings modified before/since a given date and time· Improved: " get_" call can now filter by custom field (new "filter_", "filter_", "filter_", and "filter_" parameters) |
| v2.26 | |
| 16th June 2018 | · Improved: Error response distinguishes between missing and invalid API key · Experimental: Ability to explicitly specify base directory when calling via command line (via "path" parameter) |
| v2.25 | |
| 25th April 2018 | · Updated: MIDAS v4.19 compatibility · Fixed: new_/new_ parameters of mod_ call always defaulted to epoch times, even if epoch flag wasn't explicitly set· Fixed: Encoding issue with history concatenations |
| v2.24 | |
| 23rd March 2018 | · New: "get_" call· Optimization: Code cleanup |
| v2.23 | |
| 30th November 2017 | · Updated: MIDAS v4.17 compatibility · Fixed: Rounding on some systems |
| v2.22 | |
| 28th September 2017 | · Fixed: Path issues when called via command line |
| v2.21 | |
| 20th September 2017 | · Fixed: Simultaneous multiple add/modify booking queries on slow servers may not correctly detect conflicts · Fixed: Encoding issues in booking history · Fixed: API logging may not correctly log timestamps for some API calls |
| v2.20 | |
| 28th August 2017 | · Fixed: "get_" returned category in place of qty |
| v2.19 | |
| 12th August 2017 | · New: Command line support · New: Optional JSONP support · Updated: MIDAS v4.16 compatibility |
| v2.18 | |
| 15th April 2017 | · Change: "get_" call now sorts venues in the order they're currently arranged in within MIDAS (rather than in the order they were added to MIDAS)· Updated: MIDAS v4.15 compatibility · Improved: API now returns 401 Unauthorized http status code when invalid API key specified · Improved: API logging now also includes more readable timestamps · Improved: API logging now indicates http request method · Improved: API logging now indicates size of JSON data response · Fixed: Tabs not correctly escaped in JSON responses · Fixed: Timestamps may not correctly reflect timezone setting · Fixed: " del_" and "del_" API calls made without the "force" parameter set may allow bookings to be deleted multiple times· Fixed: " del_" and "del_" API calls made without the "force" parameter may not correctly update the booking's history record |
| v2.17 | |
| 9th March 2017 | · Fixed: "get_" call may return "unknown venue" error |
| v2.16 | |
| 8th March 2017 | · Fixed: "del_" and "del_" calls may not correct log to Recent Activity |
| v2.15 | |
| 2nd November 2016 | · Update for MIDAS v4.14 compatibility · Fixed: " get_" wouldn't check dates in the past |
| v2.14 | |
| 25th July 2016 | · Added: "get_" call to retrieve all venue IDs/names· Improved: " get_" call can now also accept a venue ID (or comma separated list of venue ID's) instead of a venue names for the "venue" parameter· Improved: " get_" call now also returns internal venue ID in "venue_· Improved: " get_" call now also returns internal venue ID in "id" parameter· Improved: " get_" call now also accept a venue ID instead of a venue names for the "venue" parameter· Improved: Handling of database connection errors |
| v2.13 | |
| 12th July 2016 | · Added: Support for client credit & invoice discounts · Improved: Validation of API Key |
| v2.12 | |
| 24th February 2016 | · Improved: Character set for responses now implicitly set to UTF-8 |
| v2.11 | |
| 10th February 2016 | · Added: "authenticate_" call· Added: Support for actioning API calls under individual user accounts |
| v2.10 | |
| 28th January 2016 | · Update for MIDAS v4.11 compatibility · Added: Support for passing API key via an X-API-KEY HTTP header · Improved: " get_" call now returns "max_· Improved: The API will now automatically reject non-GET/POST http methods |
| v2.09 | |
| 18th August 2015 | · Update for MIDAS v4.10 compatibility |
| v2.08 | |
| 13th July 2015 | · Improved: "get_" call can now be restricted to an individual client· Change: " get_" call now returns "id" in place of "client_ |
| v2.07 | |
| 22nd May 2015 | · Added: "get_" call· Improved: " get_" call now returns blocks and alternatives· Improved: Logging when calls fail/error produced |
| v2.06 | |
| 28th February 2015 | · Fixed: Some JSON responses don't correctly validate |
| v2.05 | |
| 10th February 2015 | · Fixed: Some settings not being correctly loaded if API run in isolation (without a concurrent login) |
| v2.04 | |
| 9th February 2015 | · Fixed: New line characters not being correctly escaped in some API responses |
| v2.03 | |
| 1st February 2015 | · Fixed: Quotation marks not being correctly escaped in some API responses |
| v2.02 | |
| 19th January 2015 | · Fixed: If multiple databases are in use, it may not be possible to access the Manage Addons screen from additional databases |
| v2.01 | |
| 2nd January 2015 | · Fixed: Multi-database support |
| v2.00 | |
| 1st September 2014 | The API now allows bi-directional communication with MIDAS - meaning you can now add/set/change data as well as reading it. The following new API calls have been implemented: |
| v1.03 | |
| 20th March 2014 | · Added: "member_get_" call· Change: Format of "rates" information returned by " get_" call · Update for MIDAS v4.06· Fixed: "closed_ get_" call may return 1/1/1970 |
| v1.02 | |
| 18th February 2014 | · Added: Support for multiple databases |
| v1.01 | |
| 7th October 2013 | · Added: "get_" call |
| v1.00 | |
| 1st June 2013 | · Initial release of the MIDAS API Access Addon (for MIDAS v4.03+) |
MIDAS API: Release Notes