POST me/games/players?id={id}&type={type}
check in players and / or mark MVPs
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
inDto |
Define this parameter in the request body. |
|
id | game id or passed it in the body |
Define this parameter in the request URI. |
type | game type or passed it in the body |
Define this parameter in the request URI. |
Request body formats
application/json, text/json
Sample:
{ "game_id": 1, "game_type": 0, "home": { "team_id": "sample string 1", "members": [ { "id": "sample string 1", "played": true, "is_mvp": true }, { "id": "sample string 1", "played": true, "is_mvp": true }, { "id": "sample string 1", "played": true, "is_mvp": true } ] }, "away": { "team_id": "sample string 1", "members": [ { "id": "sample string 1", "played": true, "is_mvp": true }, { "id": "sample string 1", "played": true, "is_mvp": true }, { "id": "sample string 1", "played": true, "is_mvp": true } ] } }
application/xml, text/xml
Sample:
<GamePlayersInDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/imLeagues.API.DTO"> <away> <members> <GamePlayersInDto.GameTeamDto.GameTeamMemberDto> <id>sample string 1</id> <is_mvp>true</is_mvp> <played>true</played> </GamePlayersInDto.GameTeamDto.GameTeamMemberDto> <GamePlayersInDto.GameTeamDto.GameTeamMemberDto> <id>sample string 1</id> <is_mvp>true</is_mvp> <played>true</played> </GamePlayersInDto.GameTeamDto.GameTeamMemberDto> <GamePlayersInDto.GameTeamDto.GameTeamMemberDto> <id>sample string 1</id> <is_mvp>true</is_mvp> <played>true</played> </GamePlayersInDto.GameTeamDto.GameTeamMemberDto> </members> <team_id>sample string 1</team_id> </away> <game_id>1</game_id> <game_type>RegularGame</game_type> <home> <members> <GamePlayersInDto.GameTeamDto.GameTeamMemberDto> <id>sample string 1</id> <is_mvp>true</is_mvp> <played>true</played> </GamePlayersInDto.GameTeamDto.GameTeamMemberDto> <GamePlayersInDto.GameTeamDto.GameTeamMemberDto> <id>sample string 1</id> <is_mvp>true</is_mvp> <played>true</played> </GamePlayersInDto.GameTeamDto.GameTeamMemberDto> <GamePlayersInDto.GameTeamDto.GameTeamMemberDto> <id>sample string 1</id> <is_mvp>true</is_mvp> <played>true</played> </GamePlayersInDto.GameTeamDto.GameTeamMemberDto> </members> <team_id>sample string 1</team_id> </home> </GamePlayersInDto>
application/x-www-form-urlencoded
Sample:
Sample not available.