Available in API 2.0+
Adds a new resource to the system.
| Required Parameters | Possible Values | Description |
| resource | String | The name of the new resource |
| Optional Parameters | Possible Values | Description |
| type | equipment | consumable | staffing | <custom category> | The type (category) of resource to be added. If this parameter is omitted, the resource type will default to "equipment" |
| qty | Number | The available quantity of the new resource. If this parameter is omitted an "Unlimited" available quantity will be assumed |
| charge | Decimal | The charge (without currency symbol - i.e. 10.00) for the resource. This will be a per-hour charge where the "type parameter is set to "staffing", otherwise this is a per-booking charge |
| tax | Percentage | The tax rate to be charged against the item to be added. If omitted, the global default tax rate will be used |
| public | 0 | 1 | Sets whether the resource is publicly requestable/bookable (can appear on the Public Booking/Request screen). If this parameter is omitted, the resource won't be publicly requestable/bookable |
| venues | Venue IDs | A comma-separated list of Venue ID's the resource will be available to. If this parameter is omitted, the resource will be available to all venues |
| Example Response |
{
"resource_added":"67"
} |
| Variables Returned | Description |
| resource_added | A unique resource ID corresponding the newly added resource |