The imin Platform
2.0.0
2.0.0
  • Introduction to the imin Platform
  • Using the Platform
    • imin's Platform Products
    • Authentication
    • Our Platform Data
      • Understanding Responses
      • Namespaces and Extensions
      • Defensive Data Consumption
      • Mocking the Interface
  • platform products
    • Search
      • imin Events API
        • Events API Reference
        • Virtual & Physical Sessions
        • Concepts
          • EventSeries
          • ScheduledSessions and eventSchedules
          • Activities and Collections
            • Activities
            • Activity Concept Collections
          • Accessibility Support
          • Prices
        • Filters
          • Modes
          • Age Ranges
          • Dates and Times
          • Activities and Concept Collections
          • High Frequency Sessions
      • imin Facilities API
        • Query Parameter Search
          • Mandatory Query Parameters
            • mode=discovery-geo
            • mode=upcoming-slots
          • Optional Query Parameters
        • ByID Search
          • FacilityUse By-ID
          • Slot By-ID
        • FacilityUses and IndividualFacilityUses
        • Slots
        • Facilities Slot Booking
      • imin Places API [BETA]
        • Example Request & Response
    • Firehose
      • Introduction to the Firehose
      • Accessing the Firehose
      • Firehose Usage Policy & Restrictions
      • Firehose and Search
      • Bookable Firehose Feeds
      • Bookable Sellers Feed
      • Attribution Catalog Endpoint
    • Live Timetables
      • Pre-Requisites: Open Data Feeds
      • The Onboarding Process
        • 1. Ensuring your Data Offers the Best User Experience
        • 2. Setting up and Embedding your First Timetable
        • 3. Setting up the Rest of your Timetables
        • 4. Activating Booking via Guest Checkout
      • Features Available Upon Request
      • Styling the Live Timetables
      • FAQs
    • Data Dashboard
  • incorporating book and pay
    • imin Branded Checkout
      • Introduction
      • Setup
        • Information We Require From You
        • Actions You Need to Complete
      • Authenticated Checkout
        • Testing [BETA]
        • 👪Group Booking [BETA]
      • Standalone Checkout
      • Firehose and Checkout [BETA]
        • Loading the Checkout via Firehose
    • imin Booking Platform
      • Customer Account Management
        • Create Customer Account
        • Update Customer Account
        • Get Customer Account
        • Delete Customer Account
        • Example Scenario
        • Payment Card Management
        • Linked Accounts
        • Entitlement
          • Evidence Requests
          • Entitlement Pricing in Search
          • Entitlement Pricing in Checkout
        • Access Pass
        • Webhooks
      • Orders
        • Order History
        • Order (by ID)
        • Cancellations & Refunds
      • Upcoming OrderItems
      • Receipt (by ID)
  • imin and booking systems
    • Seller Onboarding
      • API
  • HINTS & TIPS
    • Get the Best Out of Search
      • Displaying Schedule Information
      • URLs and Offering a Call to Action
      • Searching by Activity
      • Your Search Results and HighFrequencySessions
      • Customer Specific Images
  • Info for Data Publishers
    • Your RPDE Feed & the imin Platform [BETA]
      • Providing Places Data [BETA]
      • Providing Schedule Information [BETA]
Powered by GitBook
On this page
  • Activities
  • -Id and -PrefLabel
  • Concept Collections
  • collectionId
  1. platform products
  2. Search
  3. imin Events API
  4. Filters

Activities and Concept Collections

PreviousDates and TimesNextHigh Frequency Sessions

Last updated 4 years ago

Before using these query parameters, please refer to for an introduction.

Activities

-Id and -PrefLabel

There are two query parameters that can be used to filter sessions by specific activities:

  1. activityId={id}; and

  2. activityPrefLabel={prefLabel}.

When filtering by either activityId or activityPrefLabel, the items returned will depend where the activity features in the concept hierarchy. For example, when searching for a parent activity, e.g. Dance Aerobics, the items returned will include that parent activity and all of its children. However, when searching for a child activity at the bottom of the concept hierarchy, e.g. Funky HAU2, only those items will be returned.

We recommend using the activityId parameter in the first instance as the prefLabel is liable to be changed in the future by the , whereas the ids will always stay the same.

Example

The following two API calls will both return results for yoga:

When using activityId={id}to search, you must encode the URL to remove special characters.

The prefLabel search is case sensitive, so activityPrefLabel=dance%20aerobics will not return any results.

Both the activityId and activityPrefLabel parameters can be used for multiple values. Please see for more information.

Concept Collections

collectionId

To return sessions that form part of specific collections, the query parameter activityConceptCollectionId={collectionId} can be used.

Example

The following will return all activities that are included in the Cardio Collection (found ):

here
https://search.imin.co/events-api/v2/event-series?mode=upcoming-sessions&geo[radial]=51.430052,-0.501664,100&limit=50&activityConceptCollectionId=https%3A%2F%2Fdata.emduk.org%2Fcollections%2Fcardio.jsonld
Activities and Collections
OpenActive Activity List
https://search.imin.co/events-api/v2/event-series?mode=upcoming-sessions&geo[radial]=51.430052,-0.501664,100&limit=50&activityId=https%3A%2F%2Fopenactive.io%2Factivity-list%23bf1a5e00-cdcf-465d-8c5a-6f57040b7f7e
https://search.imin.co/events-api/v2/event-series?mode=upcoming-sessions&geo[radial]=51.430052,-0.501664,100&limit=50&activityPrefLabel=Yoga
Filters