GET api/Online?token={token}&mid={mid}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
token

string

Required

mid

integer

Required

Body Parameters

None.

Response Information

Resource Description

RedeemHistoryModel
NameDescriptionTypeAdditional information
Total

RedeemModel

None.

History

Collection of getPrePaidCredits_Result

None.

Response Formats

application/json, text/json

Sample:
{
  "Total": {
    "UserId": "sample string 1",
    "Name": "sample string 2",
    "Image": "sample string 3",
    "Points": 1,
    "Credits": "sample string 4",
    "State": 1
  },
  "History": [
    {
      "ID": 1,
      "MerchantId": 1,
      "UserId": "sample string 2",
      "PIN": "sample string 3",
      "Points": 1,
      "Cashback": "sample string 4",
      "CreatedDate": "2024-11-06T15:26:52.5891064+00:00",
      "ExpireDate": "2024-11-06T15:26:52.5891064+00:00",
      "Source": 1,
      "State": 1,
      "AwaitingVerification": 1,
      "OrderId": 1,
      "SessionId": 1,
      "PrizeId": 1
    },
    {
      "ID": 1,
      "MerchantId": 1,
      "UserId": "sample string 2",
      "PIN": "sample string 3",
      "Points": 1,
      "Cashback": "sample string 4",
      "CreatedDate": "2024-11-06T15:26:52.5891064+00:00",
      "ExpireDate": "2024-11-06T15:26:52.5891064+00:00",
      "Source": 1,
      "State": 1,
      "AwaitingVerification": 1,
      "OrderId": 1,
      "SessionId": 1,
      "PrizeId": 1
    }
  ]
}

application/xml, text/xml

Sample:
<RedeemHistoryModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LP.WebAPI.Models">
  <History>
    <getPrePaidCredits_Result>
      <AwaitingVerification>1</AwaitingVerification>
      <Cashback>sample string 4</Cashback>
      <CreatedDate>2024-11-06T15:26:52.5891064+00:00</CreatedDate>
      <ExpireDate>2024-11-06T15:26:52.5891064+00:00</ExpireDate>
      <ID>1</ID>
      <MerchantId>1</MerchantId>
      <OrderId>1</OrderId>
      <PIN>sample string 3</PIN>
      <Points>1</Points>
      <PrizeId>1</PrizeId>
      <SessionId>1</SessionId>
      <Source>1</Source>
      <State>1</State>
      <UserId>sample string 2</UserId>
    </getPrePaidCredits_Result>
    <getPrePaidCredits_Result>
      <AwaitingVerification>1</AwaitingVerification>
      <Cashback>sample string 4</Cashback>
      <CreatedDate>2024-11-06T15:26:52.5891064+00:00</CreatedDate>
      <ExpireDate>2024-11-06T15:26:52.5891064+00:00</ExpireDate>
      <ID>1</ID>
      <MerchantId>1</MerchantId>
      <OrderId>1</OrderId>
      <PIN>sample string 3</PIN>
      <Points>1</Points>
      <PrizeId>1</PrizeId>
      <SessionId>1</SessionId>
      <Source>1</Source>
      <State>1</State>
      <UserId>sample string 2</UserId>
    </getPrePaidCredits_Result>
  </History>
  <Total>
    <Credits>sample string 4</Credits>
    <Image>sample string 3</Image>
    <Name>sample string 2</Name>
    <Points>1</Points>
    <State>1</State>
    <UserId>sample string 1</UserId>
  </Total>
</RedeemHistoryModel>