GameCenter Web Api

<back to all web services

GetStateBasketballBoxScores

The following routes are available for this service:
GET/state/{StateCode}/basketball/{Sex}/boxScores

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

HTTP + CSV

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

POST /csv/reply/GetStateBasketballBoxScores HTTP/1.1 
Host: api.digitalscout.com 
Content-Type: text/csv
Content-Length: length

Sex,StartDate,EndDate,StateCode,IncludeLeaders,IncludeTeamAggregates,Offset,Count
Male,"""0001-01-01 00:00:00 +00""","""0001-01-01 00:00:00 +00""",String,False,False,0,0

HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

GameId,GameUnityKey,HomeTeamName,HomeTeamAcronym,HomeTeamMascot,HomeTeamSlug,HomeTeamLogo,HomeTeamId,HomeSchoolId,HomeTeamSeasonId,HomeTeamUnityKey,HomeScore,AwayTeamName,AwayTeamAcronym,AwayTeamMascot,AwayTeamSlug,AwayTeamLogo,AwayTeamId,AwaySchoolId,AwayTeamSeasonId,AwayTeamUnityKey,AwayScore,HomeTeamSchoolSlug,AwayTeamSchoolSlug,HomeTeamPrimaryColor,HomeTeamSecondaryColor,AwayTeamPrimaryColor,AwayTeamSecondaryColor,HomeTeamShortName,AwayTeamShortName,Status,GameType,ScoresAvailable,StatsAvailable,PlayByPlayAvailable,LeadersAvailable,StartTimeUTC,LocalStartTime,LocalStartTime2,TimeZone,HomeTeamAsReportedBy,AwayTeamAsReportedBy,HasQuickScores,Sport,Gender,LastModified,QuarterSecondsLeft,CurrentQuarter,RegulationPeriodCount,PeriodSecondsLeft,CurrentPeriod,PeriodScores,AwayPeriodScores,HomePeriodScores,FinalScoresInFirstPeriod,ClockStatus,GameDetailLink,StatusDisplay,QuarterScores,Players,ScoringPlays,PlaysInGame,PlayerStatistics,AwayQuarterScores,HomeQuarterScores,ClockFriendlyDisplay,CurrentPeriodFriendlyDisplay,QuarterFriendlyDisplay,AwayTeamPlayerStats,HomeTeamPlayerStats,AwayTeamTotalStats,HomeTeamTotalStats,AwayPlayerLeader,HomePlayerLeader,AwayPlayerLeaderStats,HomePlayerLeaderStats,PeriodFriendlyDisplay,ResponseStatus
0,String,String,String,String,String,String,0,0,0,String,0,String,String,String,String,String,0,0,0,String,0,String,String,String,String,String,String,String,String,Scheduled,Preseason,False,False,False,False,"""0001-01-01 00:00:00 +00""","""0001-01-01 00:00:00 +00""",0001-01-01T00:00:00.0000000+00:00,String,,,False,Basketball,Male,"""0001-01-01 00:00:00 +00""",0,0,4,0,0,,[],[],False,GameNotStarted,String,Jan 1 12:00 ,,,,,,[],[],0:00,1st,1st,,,"{Assists:0,Blocks:0,ChargesTaken:0,DefensiveRebounds:0,Deflections:0,EffectiveFieldGoalPercentage:0,EfficiencyRating:0,FirstName:String,FreeThrowsAttempted:0,FreeThrowsMade:0,GamesPlayed:0,HustlePlays:0,IsStarter:False,JerseyNumber:String,LastName:String,MinutesPlayed:0,OffensiveRebounds:0,PersonalFouls:0,PlayerId:0,PointsOffTurnovers:0,SecondChancePoints:0,ShotsAttempted:0,ShotsMade:0,Steals:0,TeamSeasonId:0,ThreePointShotsAttempted:0,ThreePointShotsMade:0,TimeoutsTaken:0,TotalPoints:0,TotalRebounds:0,TotalSecondsPlayed:0,Turnovers:0}","{Assists:0,Blocks:0,ChargesTaken:0,DefensiveRebounds:0,Deflections:0,EffectiveFieldGoalPercentage:0,EfficiencyRating:0,FirstName:String,FreeThrowsAttempted:0,FreeThrowsMade:0,GamesPlayed:0,HustlePlays:0,IsStarter:False,JerseyNumber:String,LastName:String,MinutesPlayed:0,OffensiveRebounds:0,PersonalFouls:0,PlayerId:0,PointsOffTurnovers:0,SecondChancePoints:0,ShotsAttempted:0,ShotsMade:0,Steals:0,TeamSeasonId:0,ThreePointShotsAttempted:0,ThreePointShotsMade:0,TimeoutsTaken:0,TotalPoints:0,TotalRebounds:0,TotalSecondsPlayed:0,Turnovers:0}","{Assists:0,Blocks:0,ChargesTaken:0,DefensiveRebounds:0,Deflections:0,EffectiveFieldGoalPercentage:0,EfficiencyRating:0,FirstName:String,FreeThrowsAttempted:0,FreeThrowsMade:0,GamesPlayed:0,HustlePlays:0,IsStarter:False,JerseyNumber:String,LastName:String,MinutesPlayed:0,OffensiveRebounds:0,PersonalFouls:0,PlayerId:0,PointsOffTurnovers:0,SecondChancePoints:0,ShotsAttempted:0,ShotsMade:0,Steals:0,TeamSeasonId:0,ThreePointShotsAttempted:0,ThreePointShotsMade:0,TimeoutsTaken:0,TotalPoints:0,TotalRebounds:0,TotalSecondsPlayed:0,Turnovers:0}","{Assists:0,Blocks:0,ChargesTaken:0,DefensiveRebounds:0,Deflections:0,EffectiveFieldGoalPercentage:0,EfficiencyRating:0,FirstName:String,FreeThrowsAttempted:0,FreeThrowsMade:0,GamesPlayed:0,HustlePlays:0,IsStarter:False,JerseyNumber:String,LastName:String,MinutesPlayed:0,OffensiveRebounds:0,PersonalFouls:0,PlayerId:0,PointsOffTurnovers:0,SecondChancePoints:0,ShotsAttempted:0,ShotsMade:0,Steals:0,TeamSeasonId:0,ThreePointShotsAttempted:0,ThreePointShotsMade:0,TimeoutsTaken:0,TotalPoints:0,TotalRebounds:0,TotalSecondsPlayed:0,Turnovers:0}",String,String,1st,"{ErrorCode:String,Message:String,StackTrace:String,Errors:[{ErrorCode:String,FieldName:String,Message:String}]}"