GET api/incard-rewards?PageIndex={PageIndex}&PageSize={PageSize}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
PageIndex

integer

None.

PageSize

integer

None.

Body Parameters

None.

Response Information

Resource Description

PaginationRespModelOfVoucherSettingOutputModel
NameDescriptionTypeAdditional information
CurrentPage

integer

None.

LastPage

integer

None.

PerPage

integer

None.

Total

integer

None.

From

integer

None.

To

integer

None.

Data

Collection of VoucherSettingOutputModel

None.

Response Formats

application/json, text/json

Sample:
{
  "CurrentPage": 1,
  "LastPage": 2,
  "PerPage": 3,
  "Total": 4,
  "From": 5,
  "To": 6,
  "Data": [
    {
      "Id": "sample string 1",
      "VoucherCode": "sample string 2",
      "CampaignCode": "sample string 3",
      "CampaignName": "sample string 4",
      "VoucherType": "sample string 5",
      "TotalCount": 6,
      "RedeemCount": 7,
      "VoucherBalance": 8,
      "ImageUrl": "sample string 9",
      "RedemptionPoint": 10.0,
      "DiscountAmount": 11.0,
      "IsActive": true,
      "IsFeatured": true,
      "StartDate": "sample string 12",
      "EndDate": "sample string 13",
      "StartTime": "2024-09-28T11:20:02.5884028+08:00",
      "EndTime": "2024-09-28T11:20:02.5884028+08:00",
      "MaxCapRedemptionType": "sample string 14",
      "MaxCapPerMember": 15,
      "ValidityPeriodType": "sample string 16",
      "ValidityPeriodValue": 17,
      "Title": "sample string 18",
      "Description": "sample string 19",
      "ShortDescription": "sample string 20",
      "TermAndCondition": "sample string 21",
      "LanguageCode": "sample string 22",
      "IsCollected": true,
      "PaymentURL": "sample string 23",
      "Images": [
        {
          "ImageUrl": "sample string 1"
        },
        {
          "ImageUrl": "sample string 1"
        }
      ],
      "Route": "sample string 24",
      "Params": {}
    },
    {
      "Id": "sample string 1",
      "VoucherCode": "sample string 2",
      "CampaignCode": "sample string 3",
      "CampaignName": "sample string 4",
      "VoucherType": "sample string 5",
      "TotalCount": 6,
      "RedeemCount": 7,
      "VoucherBalance": 8,
      "ImageUrl": "sample string 9",
      "RedemptionPoint": 10.0,
      "DiscountAmount": 11.0,
      "IsActive": true,
      "IsFeatured": true,
      "StartDate": "sample string 12",
      "EndDate": "sample string 13",
      "StartTime": "2024-09-28T11:20:02.5884028+08:00",
      "EndTime": "2024-09-28T11:20:02.5884028+08:00",
      "MaxCapRedemptionType": "sample string 14",
      "MaxCapPerMember": 15,
      "ValidityPeriodType": "sample string 16",
      "ValidityPeriodValue": 17,
      "Title": "sample string 18",
      "Description": "sample string 19",
      "ShortDescription": "sample string 20",
      "TermAndCondition": "sample string 21",
      "LanguageCode": "sample string 22",
      "IsCollected": true,
      "PaymentURL": "sample string 23",
      "Images": [
        {
          "ImageUrl": "sample string 1"
        },
        {
          "ImageUrl": "sample string 1"
        }
      ],
      "Route": "sample string 24",
      "Params": {}
    }
  ]
}

application/xml, text/xml

Sample:
<PaginationRespModelOfVoucherSettingOutputModelsdLWh09w xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HyperQB.Property.API.Models">
  <CurrentPage>1</CurrentPage>
  <Data>
    <VoucherSettingOutputModel>
      <Params />
      <Route>sample string 24</Route>
      <CampaignCode>sample string 3</CampaignCode>
      <CampaignName>sample string 4</CampaignName>
      <Description>sample string 19</Description>
      <DiscountAmount>11</DiscountAmount>
      <EndDate>sample string 13</EndDate>
      <EndTime>2024-09-28T11:20:02.5884028+08:00</EndTime>
      <Id>sample string 1</Id>
      <ImageUrl>sample string 9</ImageUrl>
      <Images>
        <VoucherSettingOutputModel.VoucherSettingImageModel>
          <ImageUrl>sample string 1</ImageUrl>
        </VoucherSettingOutputModel.VoucherSettingImageModel>
        <VoucherSettingOutputModel.VoucherSettingImageModel>
          <ImageUrl>sample string 1</ImageUrl>
        </VoucherSettingOutputModel.VoucherSettingImageModel>
      </Images>
      <IsActive>true</IsActive>
      <IsCollected>true</IsCollected>
      <IsFeatured>true</IsFeatured>
      <LanguageCode>sample string 22</LanguageCode>
      <MaxCapPerMember>15</MaxCapPerMember>
      <MaxCapRedemptionType>sample string 14</MaxCapRedemptionType>
      <PaymentURL>sample string 23</PaymentURL>
      <RedeemCount>7</RedeemCount>
      <RedemptionPoint>10</RedemptionPoint>
      <ShortDescription>sample string 20</ShortDescription>
      <StartDate>sample string 12</StartDate>
      <StartTime>2024-09-28T11:20:02.5884028+08:00</StartTime>
      <TermAndCondition>sample string 21</TermAndCondition>
      <Title>sample string 18</Title>
      <TotalCount>6</TotalCount>
      <ValidityPeriodType>sample string 16</ValidityPeriodType>
      <ValidityPeriodValue>17</ValidityPeriodValue>
      <VoucherBalance>8</VoucherBalance>
      <VoucherCode>sample string 2</VoucherCode>
      <VoucherType>sample string 5</VoucherType>
    </VoucherSettingOutputModel>
    <VoucherSettingOutputModel>
      <Params />
      <Route>sample string 24</Route>
      <CampaignCode>sample string 3</CampaignCode>
      <CampaignName>sample string 4</CampaignName>
      <Description>sample string 19</Description>
      <DiscountAmount>11</DiscountAmount>
      <EndDate>sample string 13</EndDate>
      <EndTime>2024-09-28T11:20:02.5884028+08:00</EndTime>
      <Id>sample string 1</Id>
      <ImageUrl>sample string 9</ImageUrl>
      <Images>
        <VoucherSettingOutputModel.VoucherSettingImageModel>
          <ImageUrl>sample string 1</ImageUrl>
        </VoucherSettingOutputModel.VoucherSettingImageModel>
        <VoucherSettingOutputModel.VoucherSettingImageModel>
          <ImageUrl>sample string 1</ImageUrl>
        </VoucherSettingOutputModel.VoucherSettingImageModel>
      </Images>
      <IsActive>true</IsActive>
      <IsCollected>true</IsCollected>
      <IsFeatured>true</IsFeatured>
      <LanguageCode>sample string 22</LanguageCode>
      <MaxCapPerMember>15</MaxCapPerMember>
      <MaxCapRedemptionType>sample string 14</MaxCapRedemptionType>
      <PaymentURL>sample string 23</PaymentURL>
      <RedeemCount>7</RedeemCount>
      <RedemptionPoint>10</RedemptionPoint>
      <ShortDescription>sample string 20</ShortDescription>
      <StartDate>sample string 12</StartDate>
      <StartTime>2024-09-28T11:20:02.5884028+08:00</StartTime>
      <TermAndCondition>sample string 21</TermAndCondition>
      <Title>sample string 18</Title>
      <TotalCount>6</TotalCount>
      <ValidityPeriodType>sample string 16</ValidityPeriodType>
      <ValidityPeriodValue>17</ValidityPeriodValue>
      <VoucherBalance>8</VoucherBalance>
      <VoucherCode>sample string 2</VoucherCode>
      <VoucherType>sample string 5</VoucherType>
    </VoucherSettingOutputModel>
  </Data>
  <From>5</From>
  <LastPage>2</LastPage>
  <PerPage>3</PerPage>
  <To>6</To>
  <Total>4</Total>
</PaginationRespModelOfVoucherSettingOutputModelsdLWh09w>