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_resource
Available in API 2.07+
Returns resource information
Required Parameters | Possible Values | Description |
resource | Resource name | Resource name |
Example Response ↓ Show |
[ { "resource":"Laptop", "category":"E", "qty":"3", "charge":"120.00", "tax":"20.00", "public":"1", "limited_to":"Room 1,Room 2" } ] |
Variables Returned | Description |
resource | Resource name |
category | The category the resource item falls under. Possible values are: E = Equipment, C = Consumable, S = Staffing |
qty | The total quantity of the resource added to MIDAS |
charge | The charge for a single quantity of the resource item |
tax | The percentage tax rate for the resource item |
public | Whether the resource is available for public booking/requesting |
limited_to | If the resource has been restricted to only be available to certain venues, the "limited_to" value contains a comma separated list of these venues |