Stats

Update a stats perform mapping

Updates a stats perform mapping by associating it with a SponsorUnited team/property

put/api/stats/mappings/{id}

Request

Path parameters

idinteger required
Example:1

The mapping ID to update

Request body

su_team_idinteger required

SponsorUnited team/property ID to map to

Example request

{
  "su_team_id": 456
}

Response

Updated stats perform mapping

idinteger

Unique identifier for the mapping

statsSportstring

Name of the sport in Stats Perform system

statsSportIdinteger

Numeric ID of the sport in Stats Perform system

statsLeagueAbbreviationstring nullable

League abbreviation in Stats Perform system

statsLeagueNamestring nullable

League name in Stats Perform system

statsTeamIdstring nullable

Team identifier in Stats Perform system

statsTeamNamestring nullable

Team name in Stats Perform system

suTeamIdinteger nullable

SponsorUnited team/property ID

suTeamNamestring nullable

SponsorUnited team/property name

statsApistring

Stats Perform API source identifier

Example response

{
  "id": 1,
  "statsSport": "basketball",
  "statsSportId": 2,
  "statsLeagueAbbreviation": "nba",
  "statsLeagueName": "National Basketball Association",
  "statsTeamId": "sr:competitor:3417",
  "statsTeamName": "Los Angeles Lakers",
  "suTeamId": 456,
  "suTeamName": "Los Angeles Lakers",
  "statsApi": "SDAPI"
}

Changes

No recorded changes to this operation across all 2 revisions of this API.