GameCenter Web Api

<back to all web services

GetPlayersByGame

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

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/GetPlayersByGame HTTP/1.1 
Host: api.digitalscout.com 
Content-Type: text/csv
Content-Length: length

GameId
0

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

PlayerId,TeamSeasonId,CreatorGuid,FirstName,LastName,JerseyNumber,AlternateJerseyNumber,CreatedOn,UpdatedOn,DeletedOn,DisplayName
0,0,00000000-0000-0000-0000-000000000000,String,String,String,String,"""0001-01-01 00:00:00 +00""","""0001-01-01 00:00:00 +00""","""0001-01-01 00:00:00 +00""",Team