POST api/ManageCoupon/GetCouponById/{couponId}

根据Id获取券

Request Information

URI Parameters

NameDescriptionTypeAdditional information
couponId

券Id

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

ApiReturnModelOfCouponModel
NameDescriptionTypeAdditional information
Code

ReturnCode

None.

Message

string

None.

Data

CouponModel

None.

Response Formats

application/json, text/json

Sample:
{
  "Code": 0,
  "Message": "sample string 1",
  "Data": {
    "Id": "c8003d1e-352d-43fb-9dca-42e106ecb320",
    "CouponCode": "sample string 2",
    "Source": 1,
    "Product": "sample string 3",
    "AmountOver": 4.0,
    "FaceValue": 5.0,
    "Points": 6.0,
    "BeginTime": "2020/05/27 03:56:02",
    "EndTime": "2020/05/27 03:56:02",
    "GetCouponUrl": "sample string 9",
    "GetCouponCommand": "sample string 10",
    "Shop": "sample string 11",
    "CreateUserId": "99f55dca-5a06-4009-a7a5-0d13980517b9",
    "CreateTime": "2020/05/27 03:56:02",
    "LastUpdateUserId": "8cb7b40d-71f6-4e0d-aa13-ebf8a40caf5f",
    "LastUpdateTime": "2020/05/27 03:56:02"
  }
}