POST api/Active/CreateNewActive
后台 - 创建活动
Request Information
URI Parameters
None.
Body Parameters
ActiveCreateDtoName | Description | Type | Additional 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. |
ActiveStatus |
活动状态 |
ActiveStatusType |
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. |
Request Formats
application/json
Sample:
Sample not available.
text/json
Sample:
Sample not available.
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"> <ActiveId>1</ActiveId> <ActiveInitiator>sample string 16</ActiveInitiator> <ActiveStatus>SignUping</ActiveStatus> <ActiveTime>sample string 18</ActiveTime> <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-05-04T20:06:40.1061002+08:00</EndDate> <Filepath>sample string 4</Filepath> <Filepath2>sample string 17</Filepath2> <Hits>9</Hits> <IntNum>8</IntNum> <Intorder>7</Intorder> <LimitNum>14</LimitNum> <PayJifen>13.1</PayJifen> <PayName>sample string 12</PayName> <RegionId>20</RegionId> <SectionId>19</SectionId> <Shop_X>10.1</Shop_X> <Shop_Y>11.1</Shop_Y> <SignupSheetId>15</SignupSheetId> </ActiveCreateDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
后台 - 创建活动
ObjectNone.
Response Formats
application/json
Sample:
Sample not available.
text/json
Sample:
Sample not available.
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/" />