POST api/WxVoteAct/UpdateActivityBasicInfo

后台 - 更新投票活动基础信息

Request Information

URI Parameters

None.

Body Parameters

WxVoteActivityBasicInfoDto
NameDescriptionTypeAdditional information
Id

活动标识

integer

None.

Name

活动名称

string

None.

StartTime

活动起始时间

date

None.

EndTime

活动截止时间

date

None.

Description

活动介绍

string

None.

DescriptionWithoutHtml

活动介绍(无html版)

string

None.

VotingRules

投票规则

string

None.

IsVotingRulesAutoGenerate

投票规则是否自动生成

boolean

None.

Prize

活动奖项

string

None.

AllowApply

允许报名

boolean

None.

ApplyStartTime

报名起始时间

date

None.

ApplyEndTime

报名截止时间

date

None.

ApplyPicEssential

报名必须上传图片

boolean

None.

ApplyVideoEssential

报名必须上传视频

boolean

None.

PlayerDisplayName

选手称谓

string

None.

VirtualViews

虚拟浏览量

integer

None.

ActualViews

真实浏览量

integer

None.

Views

浏览量总和

integer

None.

PlayerComposing

选手排版类型

PlayerComposingType

None.

PlayerPoster

选手海报类型

PlayerPosterType

None.

OrderPage

排行模板

OrderPageType

None.

PlayerOrder

选手排序类型

WxPlayerSearchOrderType

None.

BackgroundColor

页面背景色

string

None.

IsBackgroundMusicOn

背景音乐是否开启

boolean

None.

BackgroundMusic

背景音乐

string

None.

ThemeColor

主题配色

string

None.

VotingColor

投票按钮文字颜色

string

None.

IsCoverModalOn

活动首页弹窗是否打开

boolean

None.

CoverModal

活动首页弹窗

string

None.

IsVotingAdsOn

投票时是否植入广告

boolean

None.

VotingAds

投票时植入广告

string

None.

IsVotedAdsOn

投票结束时是否植入广告

boolean

None.

VotedAds

投票结束时植入广告

string

None.

WechatSharePic

微信分享封面

string

None.

WechatShareName

微信分享标题

string

None.

WechatShareDesp

微信分享描述

string

None.

IsActivate

是否启用

boolean

None.

CreateTime

创建时间

date

None.

HasInsideGroup

是否包含内部活动分组

boolean

None.

InsideGroupCategories

内部活动分组

Collection of CategroySimpleDto

None.

KefuQrCode

客服二维码

string

None.

KefuIntro

客服标语

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:
<WxVoteActivityBasicInfoDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mh.WxVote.Service.Dto.Activity">
  <ActualViews>14</ActualViews>
  <AllowApply>true</AllowApply>
  <ApplyEndTime>2024-05-09T18:32:40.210047+08:00</ApplyEndTime>
  <ApplyPicEssential>true</ApplyPicEssential>
  <ApplyStartTime>2024-05-09T18:32:40.210047+08:00</ApplyStartTime>
  <ApplyVideoEssential>true</ApplyVideoEssential>
  <BackgroundColor>sample string 15</BackgroundColor>
  <BackgroundMusic>sample string 17</BackgroundMusic>
  <CoverModal>sample string 21</CoverModal>
  <CreateTime>2024-05-09T18:32:40.2108204+08:00</CreateTime>
  <Description>sample string 5</Description>
  <EndTime>2024-05-09T18:32:40.210047+08:00</EndTime>
  <HasInsideGroup>true</HasInsideGroup>
  <Id>1</Id>
  <InsideGroupCategories xmlns:d2p1="http://schemas.datacontract.org/2004/07/Mh.Common.Service.Dto.Categroy">
    <d2p1:CategroySimpleDto>
      <d2p1:CategoryId>1</d2p1:CategoryId>
      <d2p1:Chrcategory>sample string 2</d2p1:Chrcategory>
      <d2p1:Chrcontent>sample string 9</d2p1:Chrcontent>
      <d2p1:Chrimage>sample string 7</d2p1:Chrimage>
      <d2p1:Ckeyword>sample string 8</d2p1:Ckeyword>
      <d2p1:IsClose>11</d2p1:IsClose>
      <d2p1:IsSkipCategory>true</d2p1:IsSkipCategory>
      <d2p1:Isindex>12</d2p1:Isindex>
      <d2p1:ListShowType>Transverse</d2p1:ListShowType>
      <d2p1:MobileImage>sample string 10</d2p1:MobileImage>
      <d2p1:Parentid>4</d2p1:Parentid>
      <d2p1:SkipCategoryPublishUrl>sample string 15</d2p1:SkipCategoryPublishUrl>
      <d2p1:SkipCategoryUrl>sample string 14</d2p1:SkipCategoryUrl>
      <d2p1:Styleid>3</d2p1:Styleid>
      <d2p1:Type>Preset</d2p1:Type>
      <d2p1:X>5.1</d2p1:X>
      <d2p1:Y>6.1</d2p1:Y>
    </d2p1:CategroySimpleDto>
    <d2p1:CategroySimpleDto>
      <d2p1:CategoryId>1</d2p1:CategoryId>
      <d2p1:Chrcategory>sample string 2</d2p1:Chrcategory>
      <d2p1:Chrcontent>sample string 9</d2p1:Chrcontent>
      <d2p1:Chrimage>sample string 7</d2p1:Chrimage>
      <d2p1:Ckeyword>sample string 8</d2p1:Ckeyword>
      <d2p1:IsClose>11</d2p1:IsClose>
      <d2p1:IsSkipCategory>true</d2p1:IsSkipCategory>
      <d2p1:Isindex>12</d2p1:Isindex>
      <d2p1:ListShowType>Transverse</d2p1:ListShowType>
      <d2p1:MobileImage>sample string 10</d2p1:MobileImage>
      <d2p1:Parentid>4</d2p1:Parentid>
      <d2p1:SkipCategoryPublishUrl>sample string 15</d2p1:SkipCategoryPublishUrl>
      <d2p1:SkipCategoryUrl>sample string 14</d2p1:SkipCategoryUrl>
      <d2p1:Styleid>3</d2p1:Styleid>
      <d2p1:Type>Preset</d2p1:Type>
      <d2p1:X>5.1</d2p1:X>
      <d2p1:Y>6.1</d2p1:Y>
    </d2p1:CategroySimpleDto>
  </InsideGroupCategories>
  <IsActivate>true</IsActivate>
  <IsBackgroundMusicOn>true</IsBackgroundMusicOn>
  <IsCoverModalOn>true</IsCoverModalOn>
  <IsVotedAdsOn>true</IsVotedAdsOn>
  <IsVotingAdsOn>true</IsVotingAdsOn>
  <IsVotingRulesAutoGenerate>true</IsVotingRulesAutoGenerate>
  <KefuIntro>sample string 33</KefuIntro>
  <KefuQrCode>sample string 32</KefuQrCode>
  <Name>sample string 2</Name>
  <OrderPage>Type1</OrderPage>
  <PlayerComposing>DoubleLineWaterfallFlow</PlayerComposing>
  <PlayerDisplayName>sample string 12</PlayerDisplayName>
  <PlayerOrder>OrderByVoteNum</PlayerOrder>
  <PlayerPoster>Type1</PlayerPoster>
  <Prize>sample string 8</Prize>
  <StartTime>2024-05-09T18:32:40.210047+08:00</StartTime>
  <ThemeColor>sample string 18</ThemeColor>
  <VirtualViews>13</VirtualViews>
  <VotedAds>sample string 25</VotedAds>
  <VotingAds>sample string 23</VotingAds>
  <VotingColor>sample string 19</VotingColor>
  <VotingRules>sample string 6</VotingRules>
  <WechatShareDesp>sample string 28</WechatShareDesp>
  <WechatShareName>sample string 27</WechatShareName>
  <WechatSharePic>sample string 26</WechatSharePic>
</WxVoteActivityBasicInfoDto>

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

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