MIDAS API
Available in API 2.0+

mod_resource

Modifies an existing resource.
Required ParametersPossible ValuesDescription
resourceResource IDThe numerical ID of the existing resource to modify
Required Parameters
(at least 1 required)
Possible ValuesDescription
new_nameStringThe new name for the existing resource
new_typeequipment | consumable | staffingThe new type (category) of the resource
new_qtyNumberThe new available quantity of the resource. Passing this parameter with a blank value will reset the available quantity to "Unlimited"
new_chargeNumberThe new charge (without currency symbol - i.e. 10.00) for the resource. This will be a per-hour charge where the resource type is "staffing", otherwise this is a per-booking charge
new_public0 | 1Sets whether the resource is publicly requestable (can appear on the Public Booking Request screen)
new_venuesVenue IDsA comma-separated list of Venue ID's the resource is available to. Passing this parameter with a blank value will reset the resource to be available to all venues
Omitting any of the above parameters will leave its current value unchanged. Passing any of the above parameters with a "blank" value will clear/delete the current value of the corresponding field.
Example Response
{
	"resource_modified":"67"
}
Variables ReturnedDescription
resource_modifiedThe unique resource ID corresponding the modified resource