POST api/RedPacket/GetRedPacketList

获取已发送的红包列表

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

获取已发送的红包列表

ApiResultGetRedPacketListModel
NameDescriptionTypeAdditional information
balance

现金红包余额

decimal number

None.

canrobcount

可抢红包次数

integer

None.

isshowredpacket

是否显示赠送红包弹窗 0:否 1:是

integer

None.

redpackets

已发送现金红包列表

Collection of RedPacketExt

None.

code

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

integer

None.

msg

string

None.

submsg

输出的错误信息

string

None.

isinvitation

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

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "balance": 1.0,
  "canrobcount": 2,
  "isshowredpacket": 3,
  "redpackets": [
    {
      "id": 1,
      "totalamount": 2.0,
      "totalcount": 3,
      "hasrobcount": 4,
      "expiretime": 5,
      "status": 6,
      "currentuserisrob": 7,
      "remark": "sample string 8",
      "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
        }
      ]
    },
    {
      "id": 1,
      "totalamount": 2.0,
      "totalcount": 3,
      "hasrobcount": 4,
      "expiretime": 5,
      "status": 6,
      "currentuserisrob": 7,
      "remark": "sample string 8",
      "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
        }
      ]
    }
  ],
  "code": 4,
  "msg": "sample string 5",
  "submsg": "sample string 6",
  "isinvitation": 7
}