POST api/WxVotePlayer/ImportPlayerFromOtherModule

后台 - 从其他模块导入选手

Request Information

URI Parameters

None.

Body Parameters

WxVotePlayerImportFromOtherModuleDto
NameDescriptionTypeAdditional information
ActivityId

活动标识

integer

None.

PlayersData

选手数据

Collection of WxVoteOtherModulePlayerDataDto

None.

MaxNum

随机范围最大值

integer

None.

MinNum

随机范围最小值

integer

None.

IP

导入IP

string

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:
<WxVotePlayerImportFromOtherModuleDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mh.WxVote.Service.Dto.Player">
  <ActivityId>1</ActivityId>
  <IP>sample string 4</IP>
  <MaxNum>3</MaxNum>
  <MinNum>2</MinNum>
  <PlayersData>
    <WxVoteOtherModulePlayerDataDto>
      <CoverPic>sample string 5</CoverPic>
      <InsideGroupCategoryId>7</InsideGroupCategoryId>
      <JoinSlogan>sample string 6</JoinSlogan>
      <Name>sample string 4</Name>
      <OtherModuleDataId>1</OtherModuleDataId>
      <OtherModuleEntityType>XX_Biz</OtherModuleEntityType>
      <Phone>sample string 9</Phone>
      <PresetVoteNum>8</PresetVoteNum>
      <SerialNum>3</SerialNum>
      <UserId>2</UserId>
      <Wechat>sample string 10</Wechat>
    </WxVoteOtherModulePlayerDataDto>
  </PlayersData>
</WxVotePlayerImportFromOtherModuleDto>

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

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