Details of the Slot Drop

The Slot represents time in a staff or resources calendar within the platform. This is not necessarily the same as a customer booking and could represent several things, such as

  • A Slot could represent a blocked time for which the staff member is busy
  • A Slot could have been read in from an external calendar such as Exchange to block staff time out
  • A Slot could represent an occurrence of an event, as such, could have many clients booked into it
  • A Slot could represent part of a complex booking with multiple staff and resources allocated to a single customer booking
  • A slot could be a single booking for a service for a single client!
FieldUsage / DescriptionAdditional Information
id{{slot.id}}
appointment status{{slot.appointment_status}}Rendering different wording based on slot.status:

Slot::BOOKING_RESERVED → Reserved

Anything else → empty string
created_at{{slot.created_at}}
company_id{{slot.company_id}}Example: 37020
date{{slot.date}}Example: "Thu 22nd Feb 2018"
Returns the date of the booking.

This tag adjusts based on the method of the appointment:

If a in-person appointment is booked the location time zone is used.

If a video/phone appointment is booked the selected time zone is used
datetime{{slot.datetime}}Returns the date_time string of the booking

This tag adjusts based on the method of the appointment:

Example: "2018-02-22T00:00:00+00:00"

If a in-person appointment is booked the location time zone is used.

If a video/phone appointment is booked the selected time zone is used
duration{{slot.duration}}
duration_span{{slot.duration_span}}
end date time{{slot.end_datetime}}Example:
"2018-02-22T00:05:00+00:00"

Returns the end_date_time string of the booking.

This tag adjusts based on the method of the appointment:

If a in-person appointment is booked the location time zone is used.

If a video/phone appointment is booked the selected time zone is used
full_describe{{slot.full_describe}}
num_spaces{{slot.num_spaces}}
origin{{slot.origin}}
parent_company_id{{slot.parent_company_id}}
person_id{{slot.person_id}}
post_time{{slot.post_time}}
pre_time{{slot.pre_time}}
resource_id{{slot.resource_id}}
status{{slot.status}}
spaces_booked{{slot.spaces_booked}}
spaces_reserved{{slot.spaces_reserved}}
spaces_blocked{{slot.spaces_blocked}}
spaces{{slot.spaces}}Returns an array of spaces.

Example:
[SpaceDrop, SpaceDrop]
spaces_wait{{slot.spaces_wait}}
session_id{{slot.session_id}}
service_id{{slot.service_id}}
updated_at{{slot.updated_at}}
UTC end datetime{{slot.utc_end_date_time}}Returns the End Date Time string of the booking in UTC format.

Example:
"2018-02-22T00:05:00+00:00"
UTC datetime{{slot.utc_date_time}}Returns the Date Time string of the booking in UTC format.

Example:
"2018-02-22T00:00:00+00:00"
address {{slot.address.property}}
app {{booking.app.property}}Link to a Custom Object belonging to an app
booking {{slot.booking.property}}
bookings {{% for booking in slot.bookings %}Loop around all of the active bookings in the slot
company {{slot.company.property}}Access the company object
i.e. {{slot.company.name}}
event_chain {{slot.event_chain.property}}
member{{slot.member}}Access the member object
i.e. {{slot.member.name}}
person {{slot.person.property}}Access the primary person object
i.e. {{slot.person.name}}
resource {{slot.resource.property}}Access the primary resource object

i.e. {{slot.resource.name}}
staff{{slot.staffproperty}}Alias for {{slot.person}}****
session{{slot.session}}
Access the session object
i.e. {{slot.session.name}}
service {{slot.service.property}}Access the service object

i.e. {{slot.service.name}}