GameCenter Web Api

<back to all web services

GetGameDetailsExport

Gets the box score for the specified game. Returns the sport-specific box score formatted in the requested format.

The following routes are available for this service:
GET/games/{gameId}/export

To override the Content-type in your clients HTTP Accept Header, append the .xml suffix or ?format=xml

HTTP + XML

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /xml/oneway/GetGameDetailsExport HTTP/1.1 
Host: api.digitalscout.com 
Content-Type: application/xml
Content-Length: length

<GetGameDetailsExport xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GameCenter.Api.Models.Operations.Games">
  <GameId>0</GameId>
  <HideOpponentReporters>false</HideOpponentReporters>
  <HideOpponentStats>false</HideOpponentStats>
  <IncludeLeaders>false</IncludeLeaders>
  <IncludePlayByPlay>false</IncludePlayByPlay>
  <IncludePlayerStats>false</IncludePlayerStats>
  <IncludePlayers>false</IncludePlayers>
  <IncludeQuarterScores>false</IncludeQuarterScores>
  <IncludeScoringPlays>false</IncludeScoringPlays>
  <IncludeTeamAggregates>false</IncludeTeamAggregates>
  <NonStale>true</NonStale>
  <NonStaleSince>0001-01-01T00:00:00</NonStaleSince>
  <OwnerTeamSeasonId>0</OwnerTeamSeasonId>
</GetGameDetailsExport>