Adding Recurring Events to the Shoots Calendar
Recurring events can be added to the Shoots Calendar by calling a specific URL with certain URL parameters. The URL is:
https://members.onlytease.com/portal:shoots/add_repeat_events
The parameters are:
- start_date – The start date in YYYY-MM-DD format
- end_date – The end date in YYYY-MM-DD format
- every – An integer value specifying how often to repeat the event between the start and end dates, e.g. 7, 14, etc…
- title – The title of the event
- description – The description of the event
- event_colour – The RGB values for the colour, e.g. 172,21,86
All the above, except event_colour are required, which will default to the custom event “blue” if not specified.
Examples
Every Week
https://members.onlytease.com/portal:shoots/add_repeat_events?start_date=2023-01-03&end_date=2023-12-24&every=7&title=Jon%20Cook%20In&description=
Every Fortnight
https://members.onlytease.com/portal:shoots/add_repeat_events?start_date=2023-01-19&end_date=2023-12-24&every=14&title=Steve%20working&description=
Every 5 weeks with a colour
https://members.onlytease.com/portal:shoots/add_repeat_events?start_date=2023-01-08&end_date=2023-12-24&every=35&title=Paul%20-%20Support&description=&event_colour=172,21,86
