POST api/fraud/PagingInfo

Получение информации о попаданиях клиентов в систему фрод-мониторинга, с пагинацией и фильтрами

Request Information

URI Parameters

None.

Body Parameters

PagingInfoRequest
NameDescriptionTypeAdditional information
ProcTimeIn

Фильтр по точной дате попадания

date

None.

Partner

Ид партнера

integer

None.

PosCode

Код ТТ

string

None.

Start

Начальная позиция для отображения

integer

None.

Length

Кол-во строк для отображения

integer

None.

BegDate

Фильтр по дате попадания "от"

date

None.

EndDate

Фильтр по дате попадания "до"

date

None.

SortingDesc

Указатель сортировки "от новых к старым"

boolean

None.

MinBalance

Фильтр по балансу "от"

decimal number

None.

MaxBalance

Фильтр по баласу "до"

decimal number

None.

CardTypeName

Фильтр по наименованию типа карты (клиент, сотрудник и тд)

string

None.

CardStatus

Фильтр по статусу карты

string

None.

FraudStatus

Фильтр по статусу фрода

byte

None.

ProcStatus

Фильтр по статусу обработки

byte

None.

Responsible

Фильтр по ответственному

byte

None.

Phone

Фильтр по номеру телефона

integer

None.

Operator

Идентификатор оператора программы лояльности

integer

None.

Token

Токен пользователя, который инициирует данный запрос

integer

None.

SiteCode

Уникальный код виджета по продаже подарочных сертификатов, который инициирует запрос

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ProcTimeIn": "2022-08-19T22:30:28.064668+03:00",
  "Partner": 1,
  "PosCode": "sample string 1",
  "Start": 1,
  "Length": 1,
  "BegDate": "2022-08-19T22:30:28.064668+03:00",
  "EndDate": "2022-08-19T22:30:28.064668+03:00",
  "SortingDesc": true,
  "MinBalance": 1.0,
  "MaxBalance": 1.0,
  "CardTypeName": "sample string 2",
  "CardStatus": "sample string 3",
  "FraudStatus": 64,
  "ProcStatus": 64,
  "Responsible": 64,
  "Phone": 1,
  "Operator": 1,
  "Token": 1,
  "SiteCode": "sample string 4"
}

application/xml, text/xml

Sample:
<PagingInfoRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LCManagerPartner.Implementation.Request.FraudRequest">
  <Operator xmlns="http://schemas.datacontract.org/2004/07/LCManagerPartner.Implementation.Abstractions">1</Operator>
  <SiteCode xmlns="http://schemas.datacontract.org/2004/07/LCManagerPartner.Implementation.Abstractions">sample string 4</SiteCode>
  <Token xmlns="http://schemas.datacontract.org/2004/07/LCManagerPartner.Implementation.Abstractions">1</Token>
  <BegDate>2022-08-19T22:30:28.064668+03:00</BegDate>
  <CardStatus>sample string 3</CardStatus>
  <CardTypeName>sample string 2</CardTypeName>
  <EndDate>2022-08-19T22:30:28.064668+03:00</EndDate>
  <FraudStatus>64</FraudStatus>
  <Length>1</Length>
  <MaxBalance>1</MaxBalance>
  <MinBalance>1</MinBalance>
  <Partner>1</Partner>
  <Phone>1</Phone>
  <PosCode>sample string 1</PosCode>
  <ProcStatus>64</ProcStatus>
  <ProcTimeIn>2022-08-19T22:30:28.064668+03:00</ProcTimeIn>
  <Responsible>64</Responsible>
  <SortingDesc>true</SortingDesc>
  <Start>1</Start>
</PagingInfoRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

PagingInfoResponse
NameDescriptionTypeAdditional information
TotalRows

Общее количество строк в выборке

integer

None.

Clients

Клиенты во фрод

Collection of PagingInfoClient

None.

ErrorCode

Код ошибки

integer

None.

Message

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

string

None.

Response Formats

application/json, text/json

Sample:
{
  "TotalRows": 1,
  "Clients": [
    {
      "Id": 1,
      "ClientId": 1,
      "FraudClient": 1,
      "Fio": "sample string 1",
      "Phone": 1,
      "Gender": "sample string 2",
      "ClientType": "sample string 3",
      "Balance": 1.0,
      "BalanceOld": 1.0,
      "CardStatus": "sample string 4",
      "FraudStatus": "sample string 5",
      "Purchases": 1,
      "Refunds": 1,
      "RedeemCount": 1,
      "Redeemed": 1.0,
      "Gain": 1.0,
      "FriendCount": 1,
      "ProcTimeIn": "2022-08-19T22:30:28.2365372+03:00",
      "ProcStatus": "sample string 6",
      "UserName": "sample string 7",
      "Rules": [
        {
          "Id": 1,
          "FraudRuleId": 1,
          "RuleName": "sample string 1",
          "Description": "sample string 2",
          "ProcTime": "2022-08-19T22:30:28.2365372+03:00",
          "Cheques": 1
        },
        {
          "Id": 1,
          "FraudRuleId": 1,
          "RuleName": "sample string 1",
          "Description": "sample string 2",
          "ProcTime": "2022-08-19T22:30:28.2365372+03:00",
          "Cheques": 1
        }
      ]
    },
    {
      "Id": 1,
      "ClientId": 1,
      "FraudClient": 1,
      "Fio": "sample string 1",
      "Phone": 1,
      "Gender": "sample string 2",
      "ClientType": "sample string 3",
      "Balance": 1.0,
      "BalanceOld": 1.0,
      "CardStatus": "sample string 4",
      "FraudStatus": "sample string 5",
      "Purchases": 1,
      "Refunds": 1,
      "RedeemCount": 1,
      "Redeemed": 1.0,
      "Gain": 1.0,
      "FriendCount": 1,
      "ProcTimeIn": "2022-08-19T22:30:28.2365372+03:00",
      "ProcStatus": "sample string 6",
      "UserName": "sample string 7",
      "Rules": [
        {
          "Id": 1,
          "FraudRuleId": 1,
          "RuleName": "sample string 1",
          "Description": "sample string 2",
          "ProcTime": "2022-08-19T22:30:28.2365372+03:00",
          "Cheques": 1
        },
        {
          "Id": 1,
          "FraudRuleId": 1,
          "RuleName": "sample string 1",
          "Description": "sample string 2",
          "ProcTime": "2022-08-19T22:30:28.2365372+03:00",
          "Cheques": 1
        }
      ]
    }
  ],
  "ErrorCode": 1,
  "Message": "sample string 2"
}

application/xml, text/xml

Sample:
<PagingInfoResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LCManagerPartner.Implementation.Response.FraudResponse">
  <ErrorCode xmlns="http://schemas.datacontract.org/2004/07/LCManagerPartner.Implementation.Abstractions">1</ErrorCode>
  <Message xmlns="http://schemas.datacontract.org/2004/07/LCManagerPartner.Implementation.Abstractions">sample string 2</Message>
  <Clients>
    <PagingInfoResponse.PagingInfoClient>
      <Balance>1</Balance>
      <BalanceOld>1</BalanceOld>
      <CardStatus>sample string 4</CardStatus>
      <ClientId>1</ClientId>
      <ClientType>sample string 3</ClientType>
      <Fio>sample string 1</Fio>
      <FraudClient>1</FraudClient>
      <FraudStatus>sample string 5</FraudStatus>
      <FriendCount>1</FriendCount>
      <Gain>1</Gain>
      <Gender>sample string 2</Gender>
      <Id>1</Id>
      <Phone>1</Phone>
      <ProcStatus>sample string 6</ProcStatus>
      <ProcTimeIn>2022-08-19T22:30:28.2365372+03:00</ProcTimeIn>
      <Purchases>1</Purchases>
      <RedeemCount>1</RedeemCount>
      <Redeemed>1</Redeemed>
      <Refunds>1</Refunds>
      <Rules>
        <ClientDataRule>
          <Cheques>1</Cheques>
          <Description>sample string 2</Description>
          <FraudRuleId>1</FraudRuleId>
          <Id>1</Id>
          <ProcTime>2022-08-19T22:30:28.2365372+03:00</ProcTime>
          <RuleName>sample string 1</RuleName>
        </ClientDataRule>
        <ClientDataRule>
          <Cheques>1</Cheques>
          <Description>sample string 2</Description>
          <FraudRuleId>1</FraudRuleId>
          <Id>1</Id>
          <ProcTime>2022-08-19T22:30:28.2365372+03:00</ProcTime>
          <RuleName>sample string 1</RuleName>
        </ClientDataRule>
      </Rules>
      <UserName>sample string 7</UserName>
    </PagingInfoResponse.PagingInfoClient>
    <PagingInfoResponse.PagingInfoClient>
      <Balance>1</Balance>
      <BalanceOld>1</BalanceOld>
      <CardStatus>sample string 4</CardStatus>
      <ClientId>1</ClientId>
      <ClientType>sample string 3</ClientType>
      <Fio>sample string 1</Fio>
      <FraudClient>1</FraudClient>
      <FraudStatus>sample string 5</FraudStatus>
      <FriendCount>1</FriendCount>
      <Gain>1</Gain>
      <Gender>sample string 2</Gender>
      <Id>1</Id>
      <Phone>1</Phone>
      <ProcStatus>sample string 6</ProcStatus>
      <ProcTimeIn>2022-08-19T22:30:28.2365372+03:00</ProcTimeIn>
      <Purchases>1</Purchases>
      <RedeemCount>1</RedeemCount>
      <Redeemed>1</Redeemed>
      <Refunds>1</Refunds>
      <Rules>
        <ClientDataRule>
          <Cheques>1</Cheques>
          <Description>sample string 2</Description>
          <FraudRuleId>1</FraudRuleId>
          <Id>1</Id>
          <ProcTime>2022-08-19T22:30:28.2365372+03:00</ProcTime>
          <RuleName>sample string 1</RuleName>
        </ClientDataRule>
        <ClientDataRule>
          <Cheques>1</Cheques>
          <Description>sample string 2</Description>
          <FraudRuleId>1</FraudRuleId>
          <Id>1</Id>
          <ProcTime>2022-08-19T22:30:28.2365372+03:00</ProcTime>
          <RuleName>sample string 1</RuleName>
        </ClientDataRule>
      </Rules>
      <UserName>sample string 7</UserName>
    </PagingInfoResponse.PagingInfoClient>
  </Clients>
  <TotalRows>1</TotalRows>
</PagingInfoResponse>