POST me/games/reportscore
report game score by team captain
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
inDto | data to report score for a game |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{ "id": 1, "type": 0, "winner": "sample string 2", "forfeit": true, "period_details": [ { "id": 1, "num": 2, "home_score": 1, "away_score": 1 }, { "id": 1, "num": 2, "home_score": 1, "away_score": 1 }, { "id": 1, "num": 2, "home_score": 1, "away_score": 1 } ], "home_score": "sample string 4", "away_score": "sample string 5" }
application/xml, text/xml
Sample:
<ReportGameScoreInDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Web.API.Models.Input"> <away_score>sample string 5</away_score> <forfeit>true</forfeit> <home_score>sample string 4</home_score> <id>1</id> <period_details xmlns:d2p1="http://schemas.datacontract.org/2004/07/imLeagues.Web.API.Models.Output"> <d2p1:GamePeriodDetailsDto> <d2p1:away_score>1</d2p1:away_score> <d2p1:home_score>1</d2p1:home_score> <d2p1:id>1</d2p1:id> <d2p1:num>2</d2p1:num> </d2p1:GamePeriodDetailsDto> <d2p1:GamePeriodDetailsDto> <d2p1:away_score>1</d2p1:away_score> <d2p1:home_score>1</d2p1:home_score> <d2p1:id>1</d2p1:id> <d2p1:num>2</d2p1:num> </d2p1:GamePeriodDetailsDto> <d2p1:GamePeriodDetailsDto> <d2p1:away_score>1</d2p1:away_score> <d2p1:home_score>1</d2p1:home_score> <d2p1:id>1</d2p1:id> <d2p1:num>2</d2p1:num> </d2p1:GamePeriodDetailsDto> </period_details> <type>RegularGame</type> <winner>sample string 2</winner> </ReportGameScoreInDto>
application/x-www-form-urlencoded
Sample:
Sample not available.