POST api/reports/OperatorClient

Отчёт по клиентской базе Оператора программы лояльности

Request Information

URI Parameters

None.

Body Parameters

ReportOperatorClientRequest
NameDescriptionTypeAdditional information
Operator

ID оператора

integer

Required

Partner

integer

None.

Pos

integer

None.

From

Дата начала периода

date

None.

To

Дата окончания периода

date

None.

Name

Фильтр по полю ФИО

string

None.

Phone

Фильтр по полю телефон

string

None.

Email

Фильтр по полю email

string

None.

Birthdate

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

date

None.

Sex

Фильтр по полю пол

integer

None.

Type

Фильтр по полю тип клиента

string

None.

Card

Фильтр по полю номер карты

string

None.

Level

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

string

None.

Balance

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

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Operator": 1,
  "Partner": 2,
  "Pos": 3,
  "From": "2024-04-19T20:59:03.4875333+03:00",
  "To": "2024-04-19T20:59:03.4875333+03:00",
  "Name": "sample string 4",
  "Phone": "sample string 5",
  "Email": "sample string 6",
  "Birthdate": "2024-04-19T20:59:03.4875333+03:00",
  "Sex": 1,
  "Type": "sample string 7",
  "Card": "sample string 8",
  "Level": "sample string 9",
  "Balance": "sample string 10"
}

application/xml, text/xml

Sample:
<ReportOperatorClientRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LCManagerPartner.Models">
  <Balance>sample string 10</Balance>
  <Birthdate>2024-04-19T20:59:03.4875333+03:00</Birthdate>
  <Card>sample string 8</Card>
  <Email>sample string 6</Email>
  <From>2024-04-19T20:59:03.4875333+03:00</From>
  <Level>sample string 9</Level>
  <Name>sample string 4</Name>
  <Operator>1</Operator>
  <Partner>2</Partner>
  <Phone>sample string 5</Phone>
  <Pos>3</Pos>
  <Sex>1</Sex>
  <To>2024-04-19T20:59:03.4875333+03:00</To>
  <Type>sample string 7</Type>
</ReportOperatorClientRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ReportResponse
NameDescriptionTypeAdditional information
ErrorCode

Код ошибки

integer

Required

Message

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

string

None.

Report

Файл отчёта

Collection of byte

Required

Response Formats

application/json, text/json

Sample:
{
  "ErrorCode": 1,
  "Message": "sample string 2",
  "Report": "QEA="
}

application/xml, text/xml

Sample:
<ReportResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LCManagerPartner.Models">
  <ErrorCode>1</ErrorCode>
  <Message>sample string 2</Message>
  <Report>QEA=</Report>
</ReportResponse>