POST api/fraud/FilterData

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

Request Information

URI Parameters

None.

Body Parameters

FilterDataRequest
NameDescriptionTypeAdditional information
Partner

Идентификатор партнера

integer

None.

PosCode

Код торговой точки

string

None.

Operator

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

integer

None.

Token

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

integer

None.

SiteCode

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

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Partner": 1,
  "PosCode": "sample string 1",
  "Operator": 1,
  "Token": 1,
  "SiteCode": "sample string 2"
}

application/xml, text/xml

Sample:
<FilterDataRequest 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 2</SiteCode>
  <Token xmlns="http://schemas.datacontract.org/2004/07/LCManagerPartner.Implementation.Abstractions">1</Token>
  <Partner>1</Partner>
  <PosCode>sample string 1</PosCode>
</FilterDataRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

FilterDataResponse
NameDescriptionTypeAdditional information
Statuses

Статусы по фроду

Collection of FilterDataStatus

None.

ProcStatuses

Статусы обработки

Collection of FilterDataProcStatus

None.

Responsible

Ответственные

Collection of FilterDataResponsible

None.

ActionStatuses

Типы действий

Collection of FilterDataActionStatus

None.

ErrorCode

Код ошибки

integer

None.

Message

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

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Statuses": [
    {
      "Id": 64,
      "StatusId": 64,
      "StatusName": "sample string 1"
    },
    {
      "Id": 64,
      "StatusId": 64,
      "StatusName": "sample string 1"
    }
  ],
  "ProcStatuses": [
    {
      "Id": 64,
      "StatusProcId": 64,
      "StatusProcName": "sample string 1"
    },
    {
      "Id": 64,
      "StatusProcId": 64,
      "StatusProcName": "sample string 1"
    }
  ],
  "Responsible": [
    {
      "Id": 1,
      "ResponsibleId": 1,
      "UserName": "sample string 1"
    },
    {
      "Id": 1,
      "ResponsibleId": 1,
      "UserName": "sample string 1"
    }
  ],
  "ActionStatuses": [
    {
      "Id": 64,
      "StatusActionId": 64,
      "StatusActionName": "sample string 1"
    },
    {
      "Id": 64,
      "StatusActionId": 64,
      "StatusActionName": "sample string 1"
    }
  ],
  "ErrorCode": 1,
  "Message": "sample string 2"
}

application/xml, text/xml

Sample:
<FilterDataResponse 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>
  <ActionStatuses>
    <FilterDataResponse.FilterDataActionStatus>
      <Id>64</Id>
      <StatusActionId>64</StatusActionId>
      <StatusActionName>sample string 1</StatusActionName>
    </FilterDataResponse.FilterDataActionStatus>
    <FilterDataResponse.FilterDataActionStatus>
      <Id>64</Id>
      <StatusActionId>64</StatusActionId>
      <StatusActionName>sample string 1</StatusActionName>
    </FilterDataResponse.FilterDataActionStatus>
  </ActionStatuses>
  <ProcStatuses>
    <FilterDataResponse.FilterDataProcStatus>
      <Id>64</Id>
      <StatusProcId>64</StatusProcId>
      <StatusProcName>sample string 1</StatusProcName>
    </FilterDataResponse.FilterDataProcStatus>
    <FilterDataResponse.FilterDataProcStatus>
      <Id>64</Id>
      <StatusProcId>64</StatusProcId>
      <StatusProcName>sample string 1</StatusProcName>
    </FilterDataResponse.FilterDataProcStatus>
  </ProcStatuses>
  <Responsible>
    <FilterDataResponse.FilterDataResponsible>
      <Id>1</Id>
      <ResponsibleId>1</ResponsibleId>
      <UserName>sample string 1</UserName>
    </FilterDataResponse.FilterDataResponsible>
    <FilterDataResponse.FilterDataResponsible>
      <Id>1</Id>
      <ResponsibleId>1</ResponsibleId>
      <UserName>sample string 1</UserName>
    </FilterDataResponse.FilterDataResponsible>
  </Responsible>
  <Statuses>
    <FilterDataResponse.FilterDataStatus>
      <Id>64</Id>
      <StatusId>64</StatusId>
      <StatusName>sample string 1</StatusName>
    </FilterDataResponse.FilterDataStatus>
    <FilterDataResponse.FilterDataStatus>
      <Id>64</Id>
      <StatusId>64</StatusId>
      <StatusName>sample string 1</StatusName>
    </FilterDataResponse.FilterDataStatus>
  </Statuses>
</FilterDataResponse>