Age Ranges
ageRangeMax[lte]
The ageRangeMax[lte]
parameter can be used to define a maximum age limit to a query. It will only return EventSeries items that have a maximum age less than or equal to the value supplied. For example if ageRangeMax[lte]=17
was supplied, only items that allow 17 year olds and younger will be returned. 18 year olds and older would not be allowed to these items.
ageRangeMin[gte]
The ageRangeMin[gte]
parameter can be used to define a minimum age limit to a query It will only return EventSeries items that have a minimum age greater than or equal to the value supplied. For example if ageRangeMin[gte]=18
was supplied, only items that allow 18 year olds and older will be returned. 17 years and younger would not be allowed to these items.
Example
&ageRangeMin[gte]=18&ageRangeMax[lte]=39
Would return items with age ranges:
20 - 30✔️
18 - 39✔️
Would exclude items with age ranges:
20+ ✖️ (includes ages above the max age - 39)
16 - 60✖️(includes ages 16-17 and 40+, which are outside of the bounds)
ageRange[includeRange]
The ageRange[includeRange]
parameter can be used to define an acceptable age range for a session to be in. The format for this parameter (which can also be found in our API specification) can be the following:
or
When only a {minAge}
is specified, only EventSeries items that allow that age will be return. For example, if ageRange[includeRange]=18
was specified, any items that allow 18 years old will be returned.
If {minAge},{maxAge}
are supplied, only items that allow all ages in the range are returned. For example if ageRange[includeRange]=18,55
only items that allow 18 year olds, 55 year olds, and all ages in between will be returned. This would include items with age ranges:
16 - 60 ✔️
18 - 55 ✔️
0 - 99 ✔️
But would exclude items with age ranges:
19 - 54 ✖️ (Excludes ages 18 and 55)
21+ ✖️ (Excludes ages 18 - 20)
All values supplied to this query parameter are inclusive.
Last updated