MIDAS API Addon MIDAS API: get_booking_types

Available in API 2.45+
Returns all currently defined booking types and their corresponding internal IDs
Required Parameters
This API command has no additional required parameters
Example Response
↓ Show
[
	{
	"id":"1",
	"name":"Community"
	},
	{
	"id":"2",
	"name":"Internal"
	},
	{
	"id":"3",
	"name":"Maintenance"
	}
]
Variables ReturnedDescription
idThe internal ID of the booking type
nameThe name of the booking type