POST api/WxVotePlayer/VotePlayer

会员 - 为选手投票

Request Information

URI Parameters

None.

Body Parameters

投票信息

WxVoteVotePlayerDto
NameDescriptionTypeAdditional information
PlayerId

选手标识

integer

None.

CaptchaParam

数字验证、智能验证与滑动验证时使用

CloudCaptchaParamDto

None.

Request Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonpMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: 无法访问已关闭的流。

text/json

Sample:

An exception has occurred while using the formatter 'JsonpMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: 无法访问已关闭的流。

application/xml, text/xml

Sample:
<WxVoteVotePlayerDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mh.WxVote.Service.Dto.Player">
  <CaptchaParam xmlns:d2p1="http://schemas.datacontract.org/2004/07/Mh.Common.Service.Dto.CloudService">
    <d2p1:AppKey>sample string 6</d2p1:AppKey>
    <d2p1:Mh163K_VerifyCode>sample string 9</d2p1:Mh163K_VerifyCode>
    <d2p1:RandomStr>sample string 8</d2p1:RandomStr>
    <d2p1:RemoteIp>sample string 1</d2p1:RemoteIp>
    <d2p1:Scene>sample string 5</d2p1:Scene>
    <d2p1:SessionId>sample string 2</d2p1:SessionId>
    <d2p1:Sig>sample string 3</d2p1:Sig>
    <d2p1:Ticket>sample string 7</d2p1:Ticket>
    <d2p1:Token>sample string 4</d2p1:Token>
    <d2p1:TxCaptchaSceneType>Tx_Captcha</d2p1:TxCaptchaSceneType>
  </CaptchaParam>
  <PlayerId>1</PlayerId>
</WxVoteVotePlayerDto>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'WxVoteVotePlayerDto'.

Response Information

Resource Description

会员 - 为选手投票

Object

None.

Response Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonpMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: 无法访问已关闭的流。

text/json

Sample:

An exception has occurred while using the formatter 'JsonpMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: 无法访问已关闭的流。

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />