POST api/client/BonusesNotForPurchases

Получение списка бонусов не за покупки

Request Information

URI Parameters

None.

Body Parameters

BonusesNotForPurchasesRequest
NameDescriptionTypeAdditional information
Card

integer

None.

Operator

integer

None.

Partner

integer

None.

Pos

integer

None.

Page

integer

None.

PageSize

integer

None.

Date

string

None.

DateStart

string

None.

DateEnd

string

None.

Name

string

None.

PosName

string

None.

CardStr

string

None.

Phone

string

None.

AddedMore

string

None.

AddedLess

string

None.

RedeemedMore

string

None.

RedeemedLess

string

None.

BurnMore

string

None.

BurnLess

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Card": 1,
  "Operator": 2,
  "Partner": 3,
  "Pos": 4,
  "Page": 5,
  "PageSize": 6,
  "Date": "sample string 7",
  "DateStart": "sample string 8",
  "DateEnd": "sample string 9",
  "Name": "sample string 10",
  "PosName": "sample string 11",
  "CardStr": "sample string 12",
  "Phone": "sample string 13",
  "AddedMore": "sample string 14",
  "AddedLess": "sample string 15",
  "RedeemedMore": "sample string 16",
  "RedeemedLess": "sample string 17",
  "BurnMore": "sample string 18",
  "BurnLess": "sample string 19"
}

application/xml, text/xml

Sample:
<BonusesNotForPurchasesRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LCManager.Infrastructure.Request">
  <AddedLess>sample string 15</AddedLess>
  <AddedMore>sample string 14</AddedMore>
  <BurnLess>sample string 19</BurnLess>
  <BurnMore>sample string 18</BurnMore>
  <Card>1</Card>
  <CardStr>sample string 12</CardStr>
  <Date>sample string 7</Date>
  <DateEnd>sample string 9</DateEnd>
  <DateStart>sample string 8</DateStart>
  <Name>sample string 10</Name>
  <Operator>2</Operator>
  <Page>5</Page>
  <PageSize>6</PageSize>
  <Partner>3</Partner>
  <Phone>sample string 13</Phone>
  <Pos>4</Pos>
  <PosName>sample string 11</PosName>
  <RedeemedLess>sample string 17</RedeemedLess>
  <RedeemedMore>sample string 16</RedeemedMore>
</BonusesNotForPurchasesRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

BonusesNotForPurchasesResponse
NameDescriptionTypeAdditional information
Bonuses

Список бонусов не за покупки

Collection of Bonus

None.

RecordTotal

integer

None.

RecordFilterd

integer

None.

ErrorCode

Код ошибки

integer

None.

Message

Сообщение об ошибке

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Bonuses": [
    {
      "BonusSource": "sample string 1",
      "BonusDate": "2022-08-16T21:58:04.3739046+03:00",
      "BonusAdded": 2.0,
      "BonusRedeemed": 3.0,
      "BonusBurn": 4.0,
      "BonusCard": 5,
      "Phone": "sample string 6",
      "PosName": "sample string 7"
    },
    {
      "BonusSource": "sample string 1",
      "BonusDate": "2022-08-16T21:58:04.3739046+03:00",
      "BonusAdded": 2.0,
      "BonusRedeemed": 3.0,
      "BonusBurn": 4.0,
      "BonusCard": 5,
      "Phone": "sample string 6",
      "PosName": "sample string 7"
    }
  ],
  "RecordTotal": 1,
  "RecordFilterd": 2,
  "ErrorCode": 3,
  "Message": "sample string 4"
}

application/xml, text/xml

Sample:
<BonusesNotForPurchasesResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LCManagerPartner.Implementation.Response.BonusesResponse">
  <ErrorCode xmlns="http://schemas.datacontract.org/2004/07/LCManagerPartner.Implementation.Abstractions">3</ErrorCode>
  <Message xmlns="http://schemas.datacontract.org/2004/07/LCManagerPartner.Implementation.Abstractions">sample string 4</Message>
  <Bonuses xmlns:d2p1="http://schemas.datacontract.org/2004/07/LCManagerPartner.Models">
    <d2p1:Bonus>
      <d2p1:BonusAdded>2</d2p1:BonusAdded>
      <d2p1:BonusBurn>4</d2p1:BonusBurn>
      <d2p1:BonusCard>5</d2p1:BonusCard>
      <d2p1:BonusDate>2022-08-16T21:58:04.3739046+03:00</d2p1:BonusDate>
      <d2p1:BonusRedeemed>3</d2p1:BonusRedeemed>
      <d2p1:BonusSource>sample string 1</d2p1:BonusSource>
      <d2p1:Phone>sample string 6</d2p1:Phone>
      <d2p1:PosName>sample string 7</d2p1:PosName>
    </d2p1:Bonus>
    <d2p1:Bonus>
      <d2p1:BonusAdded>2</d2p1:BonusAdded>
      <d2p1:BonusBurn>4</d2p1:BonusBurn>
      <d2p1:BonusCard>5</d2p1:BonusCard>
      <d2p1:BonusDate>2022-08-16T21:58:04.3739046+03:00</d2p1:BonusDate>
      <d2p1:BonusRedeemed>3</d2p1:BonusRedeemed>
      <d2p1:BonusSource>sample string 1</d2p1:BonusSource>
      <d2p1:Phone>sample string 6</d2p1:Phone>
      <d2p1:PosName>sample string 7</d2p1:PosName>
    </d2p1:Bonus>
  </Bonuses>
  <RecordFilterd>2</RecordFilterd>
  <RecordTotal>1</RecordTotal>
</BonusesNotForPurchasesResponse>