POST api/Coupon/CouponCenter

领券中心列表 (分页)

Request Information

URI Parameters

None.

Body Parameters

CouponCenterQueryModel
NameDescriptionTypeAdditional information
Source

卡券平台来源

CouponSource

None.

Page

页码 (从1开始)

integer

None.

PageSize

分页大小

integer

None.

Sort

排序字段

string

None.

Order

排序方向

SortDirection

None.

Request Formats

application/json, text/json

Sample:
{
  "Source": 1,
  "Page": 1,
  "PageSize": 2,
  "Sort": "sample string 3",
  "Order": 1
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ApiReturnModelOfListOfCouponCenterModel
NameDescriptionTypeAdditional information
Code

ReturnCode

None.

Message

string

None.

Data

Collection of CouponCenterModel

None.

Response Formats

application/json, text/json

Sample:
{
  "Code": 0,
  "Message": "sample string 1",
  "Data": [
    {
      "CouponId": "70c285d5-89e5-403f-9882-4c0ab73cefae",
      "Source": 1,
      "Shop": "sample string 2",
      "BeginTime": "2020/04/03 11:19:32",
      "EndTime": "2020/04/03 11:19:32",
      "AmountOver": 5.0,
      "FaceValue": 6.0,
      "DeductPoints": 7.0
    },
    {
      "CouponId": "70c285d5-89e5-403f-9882-4c0ab73cefae",
      "Source": 1,
      "Shop": "sample string 2",
      "BeginTime": "2020/04/03 11:19:32",
      "EndTime": "2020/04/03 11:19:32",
      "AmountOver": 5.0,
      "FaceValue": 6.0,
      "DeductPoints": 7.0
    }
  ]
}