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:
Would exclude items with age ranges:
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:
But would exclude items with age ranges:
All values supplied to this query parameter are inclusive.
Last updated