POST api/customer/luckydraw/history

获取中奖历史

Request Information

URI Parameters

None.

Body Parameters

ApiPageBase
NameDescriptionTypeAdditional information
PageIndex

页面起始项的索引,如{PageIndex=0,PageSize=10}:取0~9项(前十项);{PageIndex=10,PageSize=10}:取10~19项

integer

None.

PageSize

获取数量

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "PageIndex": 1,
  "PageSize": 2
}

application/xml, text/xml

Sample:
<ApiPageBase xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DataModel.Exchange.Request">
  <PageIndex>1</PageIndex>
  <PageSize>2</PageSize>
</ApiPageBase>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResponsePageOfListOfPrizeRecordHistoryModel
NameDescriptionTypeAdditional information
isLastPage

boolean

None.

totalItem

integer

None.

data

Collection of PrizeRecordHistoryModel

None.

errcode

错误码,默认为成功:SUCCESS

string

None.

errmsg

错误信息,默认为:成功

string

None.

Response Formats

application/json, text/json

Sample:
{
  "isLastPage": true,
  "totalItem": 2,
  "data": [
    {
      "Id": 1,
      "LuckyDrawTitleName": "sample string 2",
      "LuckyDrawBeginTime": "2025-12-26T20:18:07.8452161+08:00",
      "LuckyDrawEndTime": "2025-12-26T20:18:07.8452161+08:00",
      "PrizeName": "sample string 5",
      "PrizeImg": "sample string 6",
      "IsGet": true,
      "GetTime": "2025-12-26T20:18:07.8452161+08:00",
      "CreateTime": "2025-12-26T20:18:07.8452161+08:00"
    },
    {
      "Id": 1,
      "LuckyDrawTitleName": "sample string 2",
      "LuckyDrawBeginTime": "2025-12-26T20:18:07.8452161+08:00",
      "LuckyDrawEndTime": "2025-12-26T20:18:07.8452161+08:00",
      "PrizeName": "sample string 5",
      "PrizeImg": "sample string 6",
      "IsGet": true,
      "GetTime": "2025-12-26T20:18:07.8452161+08:00",
      "CreateTime": "2025-12-26T20:18:07.8452161+08:00"
    }
  ],
  "errcode": "sample string 3",
  "errmsg": "sample string 4"
}

application/xml, text/xml

Sample:
<ResponsePageOfArrayOfPrizeRecordHistoryModelWB1RVkV6 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Infrastructure.WebApi">
  <errcode>sample string 3</errcode>
  <errmsg>sample string 4</errmsg>
  <data xmlns:d2p1="http://schemas.datacontract.org/2004/07/ViewModel.Api.LuckyDraw">
    <d2p1:PrizeRecordHistoryModel>
      <d2p1:CreateTime>2025-12-26T20:18:07.8452161+08:00</d2p1:CreateTime>
      <d2p1:GetTime>2025-12-26T20:18:07.8452161+08:00</d2p1:GetTime>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:IsGet>true</d2p1:IsGet>
      <d2p1:LuckyDrawBeginTime>2025-12-26T20:18:07.8452161+08:00</d2p1:LuckyDrawBeginTime>
      <d2p1:LuckyDrawEndTime>2025-12-26T20:18:07.8452161+08:00</d2p1:LuckyDrawEndTime>
      <d2p1:LuckyDrawTitleName>sample string 2</d2p1:LuckyDrawTitleName>
      <d2p1:PrizeImg>sample string 6</d2p1:PrizeImg>
      <d2p1:PrizeName>sample string 5</d2p1:PrizeName>
    </d2p1:PrizeRecordHistoryModel>
    <d2p1:PrizeRecordHistoryModel>
      <d2p1:CreateTime>2025-12-26T20:18:07.8452161+08:00</d2p1:CreateTime>
      <d2p1:GetTime>2025-12-26T20:18:07.8452161+08:00</d2p1:GetTime>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:IsGet>true</d2p1:IsGet>
      <d2p1:LuckyDrawBeginTime>2025-12-26T20:18:07.8452161+08:00</d2p1:LuckyDrawBeginTime>
      <d2p1:LuckyDrawEndTime>2025-12-26T20:18:07.8452161+08:00</d2p1:LuckyDrawEndTime>
      <d2p1:LuckyDrawTitleName>sample string 2</d2p1:LuckyDrawTitleName>
      <d2p1:PrizeImg>sample string 6</d2p1:PrizeImg>
      <d2p1:PrizeName>sample string 5</d2p1:PrizeName>
    </d2p1:PrizeRecordHistoryModel>
  </data>
  <isLastPage>true</isLastPage>
  <totalItem>2</totalItem>
</ResponsePageOfArrayOfPrizeRecordHistoryModelWB1RVkV6>