POST v2/me/networks/{networkid}/games/players/stats
update sport stats for player
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
inDto |
Define this parameter in the request body. |
|
networkid | network id |
Define this parameter in the request URI. |
Request body formats
application/json, text/json
Sample:
{ "game_id": 1, "game_type": 0, "member_id": "sample string 2", "team_id": "sample string 3", "stats": [ { "stat_id": 1, "stat_value": 1.1 }, { "stat_id": 1, "stat_value": 1.1 }, { "stat_id": 1, "stat_value": 1.1 } ] }
application/xml, text/xml
Sample:
<GamePlayerSportStatsInDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Web.API.Models.Input.V2"> <game_id>1</game_id> <game_type>RegularGame</game_type> <member_id>sample string 2</member_id> <stats> <SportStatsInDto> <stat_id>1</stat_id> <stat_value>1.1</stat_value> </SportStatsInDto> <SportStatsInDto> <stat_id>1</stat_id> <stat_value>1.1</stat_value> </SportStatsInDto> <SportStatsInDto> <stat_id>1</stat_id> <stat_value>1.1</stat_value> </SportStatsInDto> </stats> <team_id>sample string 3</team_id> </GamePlayerSportStatsInDto>
application/x-www-form-urlencoded
Sample:
Sample not available.