POST v3/games/reportscore
report game score by team captain
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| inVO | No documentation available. |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{
"winner": "sample string 1",
"winByForfeit": true,
"periodDetails": [
{
"periodId": 1,
"periodNumber": 2,
"team1Score": 1,
"team2Score": 1,
"periodType": 0,
"periodTimeLength": 3
},
{
"periodId": 1,
"periodNumber": 2,
"team1Score": 1,
"team2Score": 1,
"periodType": 0,
"periodTimeLength": 3
},
{
"periodId": 1,
"periodNumber": 2,
"team1Score": 1,
"team2Score": 1,
"periodType": 0,
"periodTimeLength": 3
}
],
"team1Score": "sample string 3",
"team2Score": "sample string 4",
"gameId": 5,
"gameType": 0,
"curUserId": "sample string 6",
"isSSO": true,
"requestHost": "sample string 8",
"applicationPath": "sample string 9",
"secureApplicationPath": "sample string 10",
"absoluteApplicationPath": "sample string 11",
"isHttps": true,
"isMobileDevice": true,
"isElectron": true,
"isFullEmbed": true,
"clientType": 0,
"clientVersion": "sample string 16",
"clientOS": "sample string 17",
"clientBuild": "sample string 18",
"premiumAppId": "sample string 19",
"clientWidth": 20,
"clientHeight": 21,
"timezone": 22
}
application/xml, text/xml
Sample:
<ReportGameScoreInVO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">
<ClientHeight>21</ClientHeight>
<ClientType>Site</ClientType>
<ClientWidth>20</ClientWidth>
<absoluteApplicationPath>sample string 11</absoluteApplicationPath>
<applicationPath>sample string 9</applicationPath>
<cachedKey>sample string 1</cachedKey>
<clientBuild>sample string 18</clientBuild>
<clientOS>sample string 17</clientOS>
<clientVersion>sample string 16</clientVersion>
<curUserId>sample string 6</curUserId>
<isElectron>true</isElectron>
<isFullEmbed>true</isFullEmbed>
<isHttps>true</isHttps>
<isMobileDevice>true</isMobileDevice>
<isSSO>true</isSSO>
<premiumAppId>sample string 19</premiumAppId>
<requestHost>sample string 8</requestHost>
<secureApplicationPath>sample string 10</secureApplicationPath>
<timezone>22</timezone>
<gameId>5</gameId>
<gameType>RegularGame</gameType>
<periodDetails xmlns:d2p1="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Output.Game">
<d2p1:GamePeriodDetailsVO>
<d2p1:PeriodTimeLength>3</d2p1:PeriodTimeLength>
<d2p1:PeriodType>NormalRace</d2p1:PeriodType>
<d2p1:periodId>1</d2p1:periodId>
<d2p1:periodNumber>2</d2p1:periodNumber>
<d2p1:team1Score>1</d2p1:team1Score>
<d2p1:team2Score>1</d2p1:team2Score>
</d2p1:GamePeriodDetailsVO>
<d2p1:GamePeriodDetailsVO>
<d2p1:PeriodTimeLength>3</d2p1:PeriodTimeLength>
<d2p1:PeriodType>NormalRace</d2p1:PeriodType>
<d2p1:periodId>1</d2p1:periodId>
<d2p1:periodNumber>2</d2p1:periodNumber>
<d2p1:team1Score>1</d2p1:team1Score>
<d2p1:team2Score>1</d2p1:team2Score>
</d2p1:GamePeriodDetailsVO>
<d2p1:GamePeriodDetailsVO>
<d2p1:PeriodTimeLength>3</d2p1:PeriodTimeLength>
<d2p1:PeriodType>NormalRace</d2p1:PeriodType>
<d2p1:periodId>1</d2p1:periodId>
<d2p1:periodNumber>2</d2p1:periodNumber>
<d2p1:team1Score>1</d2p1:team1Score>
<d2p1:team2Score>1</d2p1:team2Score>
</d2p1:GamePeriodDetailsVO>
</periodDetails>
<team1Score>sample string 3</team1Score>
<team2Score>sample string 4</team2Score>
<winByForfeit>true</winByForfeit>
<winner>sample string 1</winner>
</ReportGameScoreInVO>
application/x-www-form-urlencoded
Sample:
Sample not available.
multipart/form-data
Sample:
--MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="cachedKey" sample string 1 --MultipartDataMediaFormatterBoundary1q2w3e--
Response Information
No documentation available.
Response body formats
application/json, text/json
Sample:
{
"action": 1,
"gameResultStr": "sample string 2"
}
application/xml, text/xml
Sample:
<MemberScoreActionOutVO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Output.Game"> <Action>1</Action> <GameResultStr>sample string 2</GameResultStr> </MemberScoreActionOutVO>
multipart/form-data
Sample:
Sample not available.