How to Use a JSON Events Feed

TABLE OF CONTENTS


You can access this feature from your MSL website.


Before proceeding, to create a JSON feed, MSL first has to configure them. For further information, see How to Set Up JSON Events Feeds.


The Organisation ID must exist below the previously defined root in your MSL System's grouping tree.


The feed can cover a maximum span of 3 calendar months. If the date range is set to more than 3 calendar months, the feed will not work and an error message will be displayed.


For further information, see Events Feeds.


  1. From your MSL website, access the JSON Events Feed at https://[domainname]/svc/feeds/events/[Organisation ID]/
  2. If required, attach the following URL parameters to refine the results further:
    • subtree
    • imagesize
    • types
    • date
    • from
    • to
    • includeOngoing
    • programmeOnly
  3. Returned are publicly viewable events, according to the organisation and URL parameters.


Example URL

The following example URL will return all public events below the Union organisation, using the event type Bars and between the date ranges from 1st December 2023 to 25th December 2023 with the image size set as specified, if applicable (for further information, see How to Set Up JSON Events Feeds).

https://[domainname]/svc/feeds/events/6013?subtree=true&types=bars&from=2023-12-01&to=2023-12-25&imagesize=example

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.