POST api/RedPacket/GetRedPacketItemList

根据红包编号获取已抢红包明细

Request Information

URI Parameters

None.

Body Parameters

GetRedPacketItemListParamModel
NameDescriptionTypeAdditional information
redpacketid

红包编号

integer

None.

pageIndex

页码

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "redpacketid": 1,
  "pageIndex": 2
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

根据红包编号获取已抢红包明细

ApiResultGetRedPacketItemListModel
NameDescriptionTypeAdditional information
totalcount

红包总个数

integer

None.

totalamount

红包总金额

decimal number

None.

status

红包状态 1:进行中 3:已抢完 4:未抢完已过期

integer

None.

hasrobcount

红包已被抢个数

integer

None.

selfamount

自己抢到的红包金额 单位:元

decimal number

None.

expiretime

红包过期时间戳

integer

None.

redpacketitems

已抢红包明细列表

Collection of RedPacketItemExt

None.

pageIndex

页码

integer

None.

code

0:正确 100:错误 403:需要重新登录

integer

None.

msg

string

None.

submsg

输出的错误信息

string

None.

isinvitation

登陆时候是否需要弹窗填些邀请码 1:需要

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "totalcount": 1,
  "totalamount": 2.0,
  "status": 3,
  "hasrobcount": 4,
  "selfamount": 5.0,
  "expiretime": 6,
  "redpacketitems": [
    {
      "id": 1,
      "nickname": "sample string 2",
      "headimgurl": "sample string 3",
      "amount": 4.0,
      "robtime": "sample string 5",
      "isself": 6
    },
    {
      "id": 1,
      "nickname": "sample string 2",
      "headimgurl": "sample string 3",
      "amount": 4.0,
      "robtime": "sample string 5",
      "isself": 6
    }
  ],
  "pageIndex": 7,
  "code": 8,
  "msg": "sample string 9",
  "submsg": "sample string 10",
  "isinvitation": 11
}