The Races Series controller deals exclusively with displaying standings within Race Series based on SeriesID.
General Methods
Details
- REST Pattern: raceseries/index/{seriesid}
- Description: Returns the main details for a Race Series.
- Example: raceseries/index/1008
- Note: Results are only shown in JSON or XML. Change querystring value for "format=" to either json or xml.
Standings
- REST Pattern: raceseries/standings/{seriesid}?sortMode&page={page}&pageSize={pagesize}
- Description: Returns the main individual points leaderboard list for a Race Series.
- Example: raceseries/standings?seriesid=1008
- Note: Results are only shown in JSON or XML. Change querystring value for "format=" to either json or xml.
- Additional Parameters:
- Filter {string, default: "" (blank)} values: {g (gender), a (age group), n (name)} [/RaceSeries/Standings?seriesid=1008&filter=g&filtervalue=f]
- FilterValue {string, default: "" (blank)} values: Based on Filter setting, enter a Gender {m,f}, Age Group: m:20-24, or Name: reinhard [/RaceSeries/Standings?seriesid=1008&filter=n&filtervalue=reinhard]
- SortKey {string, default: p (points), optional: n (name)} [RaceSeries/Standings/1008?sortmode=p]
- Page {int, default: 1} [RaceSeries/Standings?seriesid=1008&page=2&pagesize=10]
- PageSize {int, default: 100} [RaceSeries/Standings?seriesid=1008&page=2&pagesize=10]
SeriesResult
- REST Pattern: raceseries/seriesresult/seriesid={seriesid}&racerid={racerid}
- Description: Returns a list of series results for a given athlete within a series.
- Example: raceseries/seriesresult?seriesid=1008&racerid=93409852
- Note: Results are only shown in JSON or XML. Change querystring value for "format=" to either json or xml.
RawPoints
- REST Pattern: raceseries/rawpoints/{id}?eventID={eventid}&courseID={courseid}&racerID={racerid}&sortMode&page={page}&pageSize={pagesize}
- Description:
- Example: raceseries/rawpoints/
- Note: Results are only shown in JSON or XML. Change querystring value for "format=" to either json or xml.
- Additional Parameters:
- SortMode {string, default: p (points), optional: n (name)} [RaceSeries/RawTeamPoints/1008?sortmode=p]
- EventID {int, default: 0} [RaceSeries/RawTeamPoints/1008?eventid=189762]
- CourseID {int, default: 0} [RaceSeries/RawTeamPoints/1008?eventid=189763&courseid=327910]
- RacerID {int, default: 0} [RaceSeries/RawTeamPoints/1008?eventid=189762&courseid=281604]
- Page {int, default: 1} [RaceSeries/RawTeamPoints/1008?page=2&pagesize=10]
- PageSize {int, default: 100} [RaceSeries/RawTeamPoints/1008?page=2&pagesize=10]
Events
- REST Pattern: raceseries/events/{seriesid}
- Description: Returns a list of events belonging to a race series.
- Example: raceseries/events/1008
- Note: Results are only shown in JSON or XML. Change querystring value for "format=" to either json or xml.
Classes
- REST Pattern: raceseries/classes/{seriesid}
- Description: Returns a list of age groups (brackets) for a race series in order to product a filter or paging list.
- Example: raceseries/classes/1008
- Note: Results are only shown in JSON or XML. Change querystring value for "format=" to either json or xml.
Race Series Team Functions
Lookup Team Standings for a Race Series (Team Leaderboard)
- REST Pattern: raceseries/TeamStandings/{id}?{teamid}/{raceid}/{courseid}
- Description:
- Example: raceseries/teamstandigns/1008?sort=p&teamgroupid=0&page=1pagesize=100
Lookup Team Groups in a single Race Series
- REST Pattern: raceseries/RaceSeriesTeamGroupList/{id}
- Description: Returns an aggregate listing (including team count per group) of Team Groups for a single series. For example, if your series breaks teams out by size (Big Clubs, Small Clubs) or by region (North, South), then these would be set up as Team Groups.
- Example: raceseries/RaceSeriesTeamGroupList/1008
Lookup a set of results for members of a single team in a single series in a single Race and Course
- REST Pattern: raceseries/TeamRoster/{id}?teamid={teamid}&eventid={eventid}&courseid={courseid}
- Description: If your series includes teams, you can use this call to return a list of athletes and their individual results for a single event/course for a given series.
- Example: raceseries/teamroster/1008?teamid=1013&eventid=195153&courseid=270072
Raw Team Points
- REST Pattern: raceseries/RawTeamPoints/{id}?teamid={teamid}&eventid={eventid}&courseid={courseid}
- Description: If your series includes teams, you can use this call to return a list of athletes and their individual results for a single event/course for a given series.
- Example: raceseries/teamroster/1008?teamid=1013&eventid=195153&courseid=270072
- REST Pattern: races/searchhint/?q={term}&spid={state}&upcoming={true/false}&pagesize={int}
- Description: Returns a paged list of Team Standings within a Race Series that can be filtered down by Team, TeamGroup, Event (Race) and Course.
- Additional Parameters:
- SortMode {string, default: p} [RaceSeries/RawTeamPoints/1008?sortmode=p]
- TeamGroupID {int, default: 0} [RaceSeries/RawTeamPoints/1008?teamgroupid=1000]
- EventID {int, default: 0} [RaceSeries/RawTeamPoints/1008?eventid=189762]
- CourseID {int, default: 0} [RaceSeries/RawTeamPoints/1008?eventid=189762&courseid=281604]
- TeamID {int, default: 0} [RaceSeries/RawTeamPoints/1008?teamid=1013]
- Page {int, default: 1} [RaceSeries/RawTeamPoints/1008?page=2&pagesize=10]
- PageSize {int, default: 100} [RaceSeries/RawTeamPoints/1008?page=2&pagesize=10]