POST v3/games/votegame
cast / update an MVP vote for a game. Member-self action: the caller may only vote as a member of the team being voted on (gate in GameApi.VoteForGame).
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:
{
"teamId": "sample string 1",
"voteList": [
"sample string 1",
"sample string 2",
"sample string 3"
],
"gameId": 2,
"gameType": 3,
"entityType": "sample string 4",
"entityId": "sample string 5",
"forEmbed": true,
"pageSuffix": "sample string 7",
"curUserId": "sample string 8",
"isSSO": true,
"requestHost": "sample string 10",
"applicationPath": "sample string 11",
"secureApplicationPath": "sample string 12",
"absoluteApplicationPath": "sample string 13",
"isHttps": true,
"isMobileDevice": true,
"isElectron": true,
"isFullEmbed": true,
"clientType": 0,
"clientVersion": "sample string 18",
"clientOS": "sample string 19",
"clientBuild": "sample string 20",
"premiumAppId": "sample string 21",
"clientWidth": 22,
"clientHeight": 23,
"timezone": 24,
"pageType": 0
}
application/xml, text/xml
Sample:
<GameVoteInVO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input.League">
<ClientHeight xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">23</ClientHeight>
<ClientType xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">Site</ClientType>
<ClientWidth xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">22</ClientWidth>
<absoluteApplicationPath xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">sample string 13</absoluteApplicationPath>
<applicationPath xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">sample string 11</applicationPath>
<cachedKey xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">sample string 1</cachedKey>
<clientBuild xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">sample string 20</clientBuild>
<clientOS xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">sample string 19</clientOS>
<clientVersion xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">sample string 18</clientVersion>
<curUserId xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">sample string 8</curUserId>
<isElectron xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">true</isElectron>
<isFullEmbed xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">true</isFullEmbed>
<isHttps xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">true</isHttps>
<isMobileDevice xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">true</isMobileDevice>
<isSSO xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">true</isSSO>
<premiumAppId xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">sample string 21</premiumAppId>
<requestHost xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">sample string 10</requestHost>
<secureApplicationPath xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">sample string 12</secureApplicationPath>
<timezone xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">24</timezone>
<entityId xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">sample string 5</entityId>
<entityType xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">sample string 4</entityType>
<forEmbed xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">true</forEmbed>
<pageSuffix xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">sample string 7</pageSuffix>
<pageType xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">FrontPage</pageType>
<gameId>2</gameId>
<gameType>3</gameType>
<teamId>sample string 1</teamId>
<voteList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
<d2p1:string>sample string 3</d2p1:string>
</voteList>
</GameVoteInVO>
application/x-www-form-urlencoded
Sample:
Sample not available.
multipart/form-data
Sample:
--MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="pageType" FrontPage --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="cachedKey" sample string 1 --MultipartDataMediaFormatterBoundary1q2w3e--
Response Information
No documentation available.
Response body formats
application/json, text/json
Sample:
{
"isDone": true,
"code": 0,
"message": "sample string 2",
"data": {},
"cachedKey": "sample string 4",
"correlationId": "1a388a12-c3e5-4b0b-b290-81cb56a21d89",
"jwtTokenForSPA": "sample string 6",
"jwtTokenIndexForSPA": 1
}
application/xml, text/xml
Sample:
<ResultOutVO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Output.Common"> <CachedKey>sample string 4</CachedKey> <Code>None</Code> <CorrelationId>1a388a12-c3e5-4b0b-b290-81cb56a21d89</CorrelationId> <Data /> <IsDone>true</IsDone> <JwtTokenForSPA>sample string 6</JwtTokenForSPA> <JwtTokenIndexForSPA>1</JwtTokenIndexForSPA> <Message>sample string 2</Message> </ResultOutVO>
multipart/form-data
Sample:
Sample not available.