Event

Extends Page. Represents a course or bookable event within the booking system.

Properties
endDate

Type Date or Null

The date on which the event ends, or null if no end date was specified.

endTime

Type String or Null

The time on the endDate at which the event ends, or null if no end date was specified.

eventId

Type Number

The system ID for the event.

startDate

Type Date or Null

The date on which the event starts, or null if no start date was specified.

startTime

Type String or Null

The time at which the event starts on the startDate, or null if no start date was specified.



Methods
host()

Returns Contact or Null

The host of the event, this is generally a person or organisation.

slots()

Returns Array

An Array with each element within the array containing an EventSlot for the event. This may be an itinerary over one or more days, or time slots on the same day.

venue()

Returns Contact or Null

The location where the event will take place.