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 .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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

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

{"Sex":"Male","StartDate":"0001-01-01 00:00:00 +00","EndDate":"0001-01-01 00:00:00 +00","StateCode":"String","IncludeLeaders":false,"IncludeTeamAggregates":false,"Offset":0,"Count":0}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"BoxScores":[{"GameId":0,"GameUnityKey":"String","HomeTeamName":"String","HomeTeamAcronym":"String","HomeTeamMascot":"String","HomeTeamSlug":"String","HomeTeamLogo":"String","HomeTeamId":0,"HomeSchoolId":0,"HomeTeamSeasonId":0,"HomeTeamUnityKey":"String","HomeScore":0,"AwayTeamName":"String","AwayTeamAcronym":"String","AwayTeamMascot":"String","AwayTeamSlug":"String","AwayTeamLogo":"String","AwayTeamId":0,"AwaySchoolId":0,"AwayTeamSeasonId":0,"AwayTeamUnityKey":"String","AwayScore":0,"HomeTeamSchoolSlug":"String","AwayTeamSchoolSlug":"String","HomeTeamPrimaryColor":"String","HomeTeamSecondaryColor":"String","AwayTeamPrimaryColor":"String","AwayTeamSecondaryColor":"String","HomeTeamShortName":"String","AwayTeamShortName":"String","Status":"Scheduled","GameType":"Preseason","ScoresAvailable":false,"StatsAvailable":false,"PlayByPlayAvailable":false,"LeadersAvailable":false,"LocalStartTime2":"\/Date(-62135596800000)\/","TimeZone":"String","HasQuickScores":false,"Sport":"Basketball","Gender":"Male","LastModified":"0001-01-01 00:00:00 +00","QuarterSecondsLeft":0,"CurrentQuarter":0,"RegulationPeriodCount":4,"PeriodSecondsLeft":0,"CurrentPeriod":0,"AwayPeriodScores":[],"HomePeriodScores":[],"FinalScoresInFirstPeriod":false,"ClockStatus":"GameNotStarted","GameDetailLink":"String","StatusDisplay":"Jan 1 12:00 ","AwayQuarterScores":[],"HomeQuarterScores":[],"ClockFriendlyDisplay":"0:00","CurrentPeriodFriendlyDisplay":"1st","QuarterFriendlyDisplay":"1st","AwayTeamTotalStats":{"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},"HomeTeamTotalStats":{"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},"AwayPlayerLeader":{"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},"HomePlayerLeader":{"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},"AwayPlayerLeaderStats":"String","HomePlayerLeaderStats":"String","PeriodFriendlyDisplay":"1st","ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String"}]}}],"TotalCount":0}