JRNI Developer Documentation

The JRNI Developer Hub

Welcome to the JRNI developer hub.

EventChain

Details of an EventChain Drop

An EventChain is a single, or sequence of client bookable events. Events can be 3 different types:

  • A single one off occurrence - which connects to a single Slot
  • A recurring event which takes place multiple times, and can continue with no end date - (and hence had multiple slots) and each one is bookable separately
  • A Recurring event which takes place over a fixed range of dates, as a class, in which a client much book all occurrences as a single block for a single price

Field

Usage / Description

id

{{event_chain.id}}
Example: 69855

updated_at

{{event_chain.updated_at}}
Example: 2020-10-22 13:44:40

created_at

{{event_chain.created_at}}
Example: 2020-10-22 13:44:40

name

{{event_chain.name}}
Example: Event Chain

description

{{event_chain.description}}
Example: A description

duration

{{event_chain.duration}}
Example: 34

group

{{event_chain.group}}
Example: Name of service

time

{{event_chain.time}}
Example: 2020-10-28 13:44:40

waitlength

{{event_chain.waitlength}}
Example: 60

long_description

{{event_chain.long_description}}
Example: Detailed description

capacity_view

{{event_chain.capacity_view}}
Example: 3

start_date

{{event_chain.start_date}}
Example: 2020-10-25

end_date

{{event_chain.end_date}}
Example: 2020-10-28

spaces

{{event_chain.spaces}}
Example: 1

person_name

{{event_chain.person_name}}
Example: Dr. Carol Smilie

resource_name

{{event_chain.resource_name}}
Example: Surgery Room 1

price

{{event_chain.price}}
Example: 2000

max_num_bookings

{{event_chain.max_num_bookings}}
Example: 1

max_advance_time

{{event_chain.max_advance_time}}
Example: 2020-10-25 14:14:40

min_advance_time

{{event_chain.min_advance_time}}
Example: 2020-11-22 13:44:40

min_advance

{{event_chain.min_advance}}
Example: 4

min_advance_unit

{{event_chain.min_advance_unit}}
Example: minute

min_cancel

{{event_chain.min_cancel}}
Example: 30

min_cancel_unit

{{event_chain.min_cancel_unit}}
Example: minute

ticket_type

{{event_chain.ticket_type}}
Example: multi_space

email_per_ticket

{{event_chain.email_per_ticket}}
Example: true

questions_per_ticket

{{event_chain.questions_per_ticket}}

extra

{{event_chain.extra}}
Example: {"question_1"=>"answer to question_1", "checkbox_question"=>["possible answer 1", "possible answer 2", "possible answer 3"]}

course

{{event_chain.course}}
Example: true

recurrence_type

{{event_chain.recurrence_type}}
Example: WEEKLY

company_id

{{event_chain.company_id}}
Example: 589345

occurances

{{event_chain.occurances}}
Example: 23

reference

{{event_chain.reference}}

deleted

{{event_chain.deleted}}

template

{{event_chain.template}}

disabled

{{event_chain.disabled}}

address_id

{{event_chain.address_id}}

event_group_id

{{event_chain.event_group_id}}

global_event_group_id

{{event_chain.global_event_group_id}}

detail_group_id

{{event_chain.detail_group_id}}

person_id

{{event_chain.person_id}}

resource_id

{{event_chain.resource_id}}

datetime

{{event_chain.datetime}}

max_advance

{{event_chain.max_advance}}

min_advance

{{event_chain.min_advance}}

min_cancel

{{event_chain.min_cancel}}

repeat

{{event_chain.repeat}}

person_ids

{{event_chain.person_ids}}

resource_ids

{{event_chain.resource_ids}}

company

{{event_chain.company.
Link to the company/location object

person

{{event_chain.person.
Get the main staff member who is running this event series

resource

{{event_chain.resource.
Get the main resource assigned to this event series

extras

{{event_chain.extras.
Link to the extra values

events

{% for slot in event_chain.events %}
Loop around all of the occurances for each event

Updated 11 months ago

EventChain


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.