POST api/Active/GetActiveList

获取活动列表接口

Request Information

URI Parameters

None.

Body Parameters

ActiveSearchRequest
NameDescriptionTypeAdditional information
BeginTime

开始时间

date

None.

EndTime

结束时间

date

None.

ApplyBeginTime

报名开始时间

date

None.

ApplyEndTime

报名结束时间

date

None.

Type

类型 1集赞,2问答,3竞赛

integer

None.

PageIndex

页码

integer

None.

PageSize

每页多少条

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "beginTime": "2025-06-07T05:12:07.9029026+08:00",
  "endTime": "2025-06-07T05:12:07.9029026+08:00",
  "applyBeginTime": "2025-06-07T05:12:07.9029026+08:00",
  "applyEndTime": "2025-06-07T05:12:07.9029026+08:00",
  "type": 1,
  "pageIndex": 2,
  "pageSize": 3
}

Response Information

Resource Description

获取活动列表接口

PageListResponseOfActiveModel
NameDescriptionTypeAdditional information
Page

PageInfo

None.

List

Collection of ActiveModel

None.

Other

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "page": {
    "pageIndex": 1,
    "pageSize": 2,
    "totalCount": 3
  },
  "list": [
    {
      "createdOn": "2025-06-07T05:12:07.9185385+08:00",
      "createdBy": "sample string 2",
      "id": 3,
      "name": "sample string 4",
      "type": 5,
      "status": 6,
      "recommentStatus": 7,
      "description": "sample string 8",
      "startDate": "2025-06-07T05:12:07.9185385+08:00",
      "endDate": "2025-06-07T05:12:07.9185385+08:00",
      "effectiveDate": "2025-06-07T05:12:07.9185385+08:00",
      "expireDate": "2025-06-07T05:12:07.9185385+08:00",
      "applyBeginDate": "2025-06-07T05:12:07.9185385+08:00",
      "applyEndDate": "2025-06-07T05:12:07.9185385+08:00",
      "posterImgUrl": "sample string 11",
      "miniImgUrl": "sample string 12",
      "linkType": 13,
      "linkUrl": "sample string 14",
      "order": 15
    },
    {
      "createdOn": "2025-06-07T05:12:07.9185385+08:00",
      "createdBy": "sample string 2",
      "id": 3,
      "name": "sample string 4",
      "type": 5,
      "status": 6,
      "recommentStatus": 7,
      "description": "sample string 8",
      "startDate": "2025-06-07T05:12:07.9185385+08:00",
      "endDate": "2025-06-07T05:12:07.9185385+08:00",
      "effectiveDate": "2025-06-07T05:12:07.9185385+08:00",
      "expireDate": "2025-06-07T05:12:07.9185385+08:00",
      "applyBeginDate": "2025-06-07T05:12:07.9185385+08:00",
      "applyEndDate": "2025-06-07T05:12:07.9185385+08:00",
      "posterImgUrl": "sample string 11",
      "miniImgUrl": "sample string 12",
      "linkType": 13,
      "linkUrl": "sample string 14",
      "order": 15
    }
  ],
  "other": {}
}