POST api/WxVotePlayer/CreateActivityPlayerByAdmin

后台 - 添加新活动选手

Request Information

URI Parameters

None.

Body Parameters

WxVotePlayerCreateDto
NameDescriptionTypeAdditional information
SerialNum

选手编号

integer

None.

Name

选手名称

string

None.

TrueName

选手姓名

string

None.

CoverPic

选手封面

string

None.

JoinSlogan

参赛文宣

string

None.

Phone

手机联系方式

string

None.

Wechat

微信联系方式

string

None.

IP

报名IP

string

None.

VirtualViews

虚拟浏览量

integer

None.

ActivityId

活动标识

integer

None.

TotalVoteNum

全部投票数

integer

None.

UserId

网站用户标识

integer

None.

InsideGroupCategoryId

内部活动分组

integer

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:
<WxVotePlayerCreateDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mh.WxVote.Service.Dto.Player">
  <ActivityId>10</ActivityId>
  <CoverPic>sample string 4</CoverPic>
  <IP>sample string 8</IP>
  <InsideGroupCategoryId>13</InsideGroupCategoryId>
  <JoinSlogan>sample string 5</JoinSlogan>
  <Name>sample string 2</Name>
  <Phone>sample string 6</Phone>
  <SerialNum>1</SerialNum>
  <TotalVoteNum>11</TotalVoteNum>
  <TrueName>sample string 3</TrueName>
  <UserId>12</UserId>
  <VirtualViews>9</VirtualViews>
  <Wechat>sample string 7</Wechat>
</WxVotePlayerCreateDto>

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 'WxVotePlayerCreateDto'.

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/" />