EventSlot

Extends Object. EventSlot objects are returned from an Event.slots() method.

Properties
availablePlaces

Type Number

The number of available participant places available to book.

bookedPlaces

Type Number

The number of participants/places already booked for the EventSlot.

day

Type String

The start day property, unlike its name suggests, contains the year, month and day of the EventSlot in the format "Y-m-d" e.g. 2016-01-22. This property is generally useful for collating year-month-day event slots together. For example if your event has multiple time slots on the same day.

ends

Type Date

The end date of the EventSlot including time.

hasPlaces

Type Boolean

True if the the number of availablePlaces is greater than 0.

id

Type Number

The system ID for the EventSlot object.

maxPlaces

Type Number

The maximum number of participants/places allocated for the EventSlot.

month

Type String

The start month property, unlike its name suggests, contains the year and month of the EventSlot in the format "Y-m" e.g. 2016-01. This property is generally useful for collating year-month event slots together.

starts

Type Date

The start date of the EventSlot including time.

year

Type Number

The year for the start date of the EventSlot.