GET me/views/reportgamescore?id={id}&type={type}
get the score report view model
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
id | game id |
Define this parameter in the request URI. |
type | game type |
Define this parameter in the request URI. |
Response Information
No documentation available.
Response body formats
application/json, text/json
Sample:
{ "winner_options": [ { "value": "sample string 1", "text": "sample string 2" }, { "value": "sample string 1", "text": "sample string 2" }, { "value": "sample string 1", "text": "sample string 2" } ], "game_periods": { "period_name": "sample string 1", "period_count": 2, "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 } ] }, "winner": "sample string 1", "home_id": "sample string 2", "home_name": "sample string 3", "home_score": "sample string 4", "away_id": "sample string 5", "away_name": "sample string 6", "away_score": "sample string 7", "status": 0, "action": 0, "win_by_forfeit": true }
application/xml, text/xml
Sample:
<GameReportScoreVMOutDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Web.API.Models.Output"> <action>None</action> <away_id>sample string 5</away_id> <away_name>sample string 6</away_name> <away_score>sample string 7</away_score> <game_periods> <period_count>2</period_count> <period_details> <GamePeriodDetailsDto> <away_score>1</away_score> <home_score>1</home_score> <id>1</id> <num>2</num> </GamePeriodDetailsDto> <GamePeriodDetailsDto> <away_score>1</away_score> <home_score>1</home_score> <id>1</id> <num>2</num> </GamePeriodDetailsDto> <GamePeriodDetailsDto> <away_score>1</away_score> <home_score>1</home_score> <id>1</id> <num>2</num> </GamePeriodDetailsDto> </period_details> <period_name>sample string 1</period_name> </game_periods> <home_id>sample string 2</home_id> <home_name>sample string 3</home_name> <home_score>sample string 4</home_score> <status>ToBePlayed</status> <win_by_forfeit>true</win_by_forfeit> <winner>sample string 1</winner> <winner_options xmlns:d2p1="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Output.Common"> <d2p1:KeyValuePairOutVO> <d2p1:text>sample string 2</d2p1:text> <d2p1:value>sample string 1</d2p1:value> </d2p1:KeyValuePairOutVO> <d2p1:KeyValuePairOutVO> <d2p1:text>sample string 2</d2p1:text> <d2p1:value>sample string 1</d2p1:value> </d2p1:KeyValuePairOutVO> <d2p1:KeyValuePairOutVO> <d2p1:text>sample string 2</d2p1:text> <d2p1:value>sample string 1</d2p1:value> </d2p1:KeyValuePairOutVO> </winner_options> </GameReportScoreVMOutDto>