Statistics Rebuild for a competition

Request: POST

Request a Statistics Rebuild for a competition.

HTTP Request

POST /v1/{sport}/statistics/rebuild/competitions/{competitionId}/type/{statisticType}

Parameters

Parameter Name Value Description
Required Parameters
sport string The sport for which you are making the request
competitionId integer The unique identifier for this competition.
statisticType string Record types to rebuild
  • TEAMCOMPETITION
  • PERSONCAREER
  • PERSONCOMPETITION includes PERSONCAREER
Optional Parameters
teamId integer Rebuild for only one team
personId integer Rebuild for only one person
useExternalForLeague integer If this value is set to the leagueId for the competition, then the URL parameters competitionId, teamId and personId will instead refer to the externalId of their respective entities in that league.

Request Body

Do not supply a request body with this method.

Response

Successful this method returns SUCCESS.