Dynamic Variables

If you enter a link for a schedule, a resource or a booking you can include dynamic variables.

A dynamic variable act as a placeholder which is replaced with the value of the variable at runtime.

Variable Name Description
u.email Email of the currently logged-in user
u.timezone Time zone of the currently logged-in user
s.id Schedule identifier
s.name Schedule name
r.id Resource identifier
r.name Resource name
r.custom1 Value of the first custom resource field
r.custom2 Value of the second custom resource field
b.id Booking identifier
b.title Booking title
b.start Booking start time in user's timezone
b.end Booking end time in user's timezone
b.custom1 Value of the first custom booking field
b.custom2 Value of the second custom booking field

Variables must be enclosed in brackets ({}) in the link.

Example

To call a web address with a schedule id and a resource id (e.g. to refer to specific resource documentation), enter the following link:

https://example.com/v1/documents.php?scheduleid={s.id}&resourceid={r.id}

If the schedule id is s26dhftnhg and the resource id is 100, the following web address is called:

https://example.com/v1/documents.php?scheduleid=s26dhftnhg&resourceid=100