ℹ️ This article explains how to reassign statistics from one player to another via API using Postman or any other API management system.
It usually happens when a player is missing in FIBA LiveStats before the match and an operator overwrites an existing non-participating player instead of adding a new player.
For this task 2 API calls should be made:
1️⃣ Reassign Match records from one person to other person.
/basketball/statistics/personmatch/matches/{matchId}/persons/{fromPersonId}/reassign/{toPersonId}
- Before running this call Match ID and Persons’ IDs should be obtained using proper API calls.
- When reassigning match records, use parameter confirm=1.
2️⃣ After reassigning match records API call Match Statistics Rebuild from Actions is needed to update match statistics for players.
/basketball/statistics/matches/{matchId}/buildfromactions