POST api/Active/UpdateActive

后台-活动更新

Request Information

URI Parameters

None.

Body Parameters

ActiveCreateDto
NameDescriptionTypeAdditional information
ActiveId

活动id

integer

None.

ChrTitle

活动标题

string

None.

CategoryId

活动分类

integer

None.

Filepath

封面

string

None.

ChrAddress

活动地点

string

None.

EndDate

报名截至时间

date

None.

ChrContent

活动详情

string

None.

Intorder

排序值

integer

None.

IntNum

报名人数(增量)

integer

None.

Hits

浏览数

integer

None.

Shop_X

地点X坐标

decimal number

None.

Shop_Y

地点Y坐标

decimal number

None.

PayName

费用名称

string

None.

PayJifen

活动费用

decimal number

None.

LimitNum

活动限制人数 新增字段

integer

None.

SignupSheetId

报名表单 新增字段

integer

None.

ActiveInitiator

活动发起者

string

None.

Filepath2

封面2 新增封面2

string

None.

ActiveTime

活动时间 如:中秋节、周末、08-21 新增字段从jihe转接

string

None.

SectionId

地段id

integer

None.

RegionId

区域id 新增字段从quyu字段转接

integer

None.

ActiveWeixin

活动微信

string

None.

ActiveWeixinQRcode

活动微信二维码

string

None.

IsDisplay

是否显示

boolean

None.

IsCustomShare

是否自定义分享

boolean

None.

ShareTitle

分享标题

string

None.

ShareSummary

分享摘要

string

None.

ShareImagePath

分享图片路径

string

None.

SignUpRequire

报名要求

ActiveSignRequireType

None.

ActiveFeeType

活动费用收费类别

ActiveFeeType

None.

ActiveEndTime

活动结束时间

date

None.

UserId

会员id

integer

None.

UserName

会员名称 后台发布时使用

string

None.

PackageAmountPerUser

每人红包金额 (新增生效 编辑无效)

integer

None.

PackageQuantities

红包数量 (新增生效 编辑无效)

integer

None.

IsOnline

是否线上 true表示线上

boolean

None.

ActiveTips

活动提示

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:
<ActiveCreateDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mh.Active.Service.Dto">
  <ActiveEndTime>2024-04-30T02:23:31.6760631+08:00</ActiveEndTime>
  <ActiveFeeType>Free</ActiveFeeType>
  <ActiveId>1</ActiveId>
  <ActiveInitiator>sample string 16</ActiveInitiator>
  <ActiveTime>sample string 18</ActiveTime>
  <ActiveTips>sample string 33</ActiveTips>
  <ActiveWeixin>sample string 21</ActiveWeixin>
  <ActiveWeixinQRcode>sample string 22</ActiveWeixinQRcode>
  <CategoryId>3</CategoryId>
  <ChrAddress>sample string 5</ChrAddress>
  <ChrContent>sample string 6</ChrContent>
  <ChrTitle>sample string 2</ChrTitle>
  <EndDate>2024-04-30T02:23:31.6760631+08:00</EndDate>
  <Filepath>sample string 4</Filepath>
  <Filepath2>sample string 17</Filepath2>
  <Hits>9</Hits>
  <IntNum>8</IntNum>
  <Intorder>7</Intorder>
  <IsCustomShare>true</IsCustomShare>
  <IsDisplay>true</IsDisplay>
  <IsOnline>true</IsOnline>
  <LimitNum>14</LimitNum>
  <PackageAmountPerUser>30</PackageAmountPerUser>
  <PackageQuantities>31</PackageQuantities>
  <PayJifen>13.1</PayJifen>
  <PayName>sample string 12</PayName>
  <RegionId>20</RegionId>
  <SectionId>19</SectionId>
  <ShareImagePath>sample string 27</ShareImagePath>
  <ShareSummary>sample string 26</ShareSummary>
  <ShareTitle>sample string 25</ShareTitle>
  <Shop_X>10.1</Shop_X>
  <Shop_Y>11.1</Shop_Y>
  <SignUpRequire>Member</SignUpRequire>
  <SignupSheetId>15</SignupSheetId>
  <UserId>28</UserId>
  <UserName>sample string 29</UserName>
</ActiveCreateDto>

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

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