POST api/ActiveConfig/AdminUpdateActiveConfigs

后台--活动配置更新

Request Information

URI Parameters

None.

Body Parameters

配置信息

ActiveConfigDto
NameDescriptionTypeAdditional information
Id

主键

integer

None.

OfflineAgreement

线下报名活动协议

string

None.

PublishPowerType

发布活动的权限类别

PublishPowerType

None.

UserIds

会员id 集合逗号分隔

string

None.

UserNameList

用户名

Collection of string

None.

PublishIsNeedKill

发布活动是否需要审核

boolean

None.

ActiveDefaultFilePath

活动默认封面

string

None.

ActiveDefaultFilePath2

活动默认封面2

string

None.

PlatformName

平台名称

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:
<ActiveConfigDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mh.Active.Service.Dto">
  <PlatformName xmlns="http://schemas.datacontract.org/2004/07/Mh.Common.Service.Model.Base.Platform">sample string 7</PlatformName>
  <ActiveDefaultFilePath>sample string 5</ActiveDefaultFilePath>
  <ActiveDefaultFilePath2>sample string 6</ActiveDefaultFilePath2>
  <Id>1</Id>
  <OfflineAgreement>sample string 2</OfflineAgreement>
  <PublishIsNeedKill>true</PublishIsNeedKill>
  <PublishPowerType>All</PublishPowerType>
  <UserIds>sample string 3</UserIds>
  <UserNameList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </UserNameList>
</ActiveConfigDto>

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

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