Equipe Extension - Hippodata Import
This extension allows importing competitions, start lists and results from the Hippodata API to Equipe.
Features
- Import competitions/classes: Import events with their information (prize money, dates, FEI articles)
- Import startlists: Import riders, horses and entries
- Import results: Import complete results with times, faults and rankings
- Team competitions support: Full support for Nations Cup and team events
- Import status checking: Visual indicators for already imported data
- FEI Article management: Select competition format according to FEI rules
- Flexible import: Import separately or in combination
- Smart duplicate management: Avoids duplication of existing riders and horses
- Multi-round support: Handles up to 5 rounds per competition
- Special status handling: Eliminated, retired, withdrawn, abstained riders
- Debug mode: Detailed operation display for troubleshooting
Usage
Import Interface
- In Equipe, open a meeting
- Click on "Import from Hippodata" action
- In the window that opens:
- Enter the FEI Show ID (Event identifier)
- Click "Search Event"
- The system will display:
- Event name and venue
- List of all classes/competitions
- Import status for each item (✓ = already imported)
Import Options
-
For each class, you can select:
- ☐ Class Import: Import the competition definition
- ☐ Startlist Import: Import riders, horses and entries
- ☐ Result Import: Import competition results
- ☐ Team Class: Mark as team competition (Nations Cup)
- FEI Article: Select the competition format
-
Team Competitions
- When "Team Class" is checked:
- Automatically creates teams based on nations
- Only nations with 3+ riders get a team
- Creates clubs with country flags
- Links riders to their national teams
- Handles team-specific results (abstained riders count for team)
- When "Team Class" is checked:
-
Import Status Indicators
- ✓ Green checkmark: Already imported
- Checkbox: Available for import
- Disabled checkbox: Requires prerequisite (e.g., class must exist before startlist)
Special Results Handling
-
Individual Competitions
- Eliminated (EL): or = 'D', grundf = 999
- Retired (RET): or = 'U', grundf = 999
- Disqualified (DSQ): or = 'S', grundf = 999
- Withdrawn: a = 'Ö' or special handling per round
- No Show (NS): a = 'U', grundf = 999
-
Team Competitions
- Riders who complete round 1 but not round 2 are marked as "Abstained"
- Abstained riders: omh1f = 999, omh1t = 999, round2_in_team = true
- Result preview shows: "8-ABST" (faults from round 1 + abstained)
- Eliminated/retired riders keep their normal status (not converted to abstained)
Possible Combinations
- ✅ Classes only: To prepare the meeting
- ✅ Startlists only: If classes already exist
- ✅ Results only: To update after competition
- ✅ Classes + Startlists: Complete import before competition
- ✅ Classes + Results: Import after with results
- ✅ Startlists + Results: Complete update
- ✅ Everything: Complete import at once
Import Process Flow
- Search Event: Fetch event data from Hippodata
- Check Existing: Query Equipe for already imported items
- Display Selection: Show classes with import status
- Process Selection:
- Import classes (if selected)
- Import clubs (for team competitions)
- Import people and horses
- Import teams (for team competitions)
- Import starts/entries
- Import results (if selected)
Results showing incorrect status
- Abstained: Only for team competitions when rider doesn't start later rounds
- Eliminated/Retired: Keep their original status, not converted to abstained
- Check RESULTTOTAL.TEXT field in Hippodata response