POST api/values/ClientBaseActive

Данные для страницы Аналитика LCManager

Request Information

URI Parameters

None.

Body Parameters

ClientBaseActiveRequest
NameDescriptionTypeAdditional information
Operator

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

integer

None.

Partner

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

integer

None.

Pos

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

integer

None.

BeginDate

Начало периода для расчета аналитики

date

None.

EndDate

Окончание периода для расчета аналитики

date

None.

Request Formats

application/json, text/json

Sample:
{
  "Operator": 1,
  "Partner": 2,
  "Pos": 3,
  "BeginDate": "2022-08-14T15:30:19.3037569+03:00",
  "EndDate": "2022-08-14T15:30:19.3037569+03:00"
}

application/xml, text/xml

Sample:
<ClientBaseActiveRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LCManagerPartner.Models">
  <BeginDate>2022-08-14T15:30:19.3037569+03:00</BeginDate>
  <EndDate>2022-08-14T15:30:19.3037569+03:00</EndDate>
  <Operator>1</Operator>
  <Partner>2</Partner>
  <Pos>3</Pos>
</ClientBaseActiveRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ClientBaseActiveResponse
NameDescriptionTypeAdditional information
MenBuys

покупок у мужчин

decimal number

None.

WomenBuys

покупок у женщин

decimal number

None.

UnknownGenderBuys

покупок у людей без определённого пола

decimal number

None.

RepeatedBuys

повторных покупок

decimal number

None.

BuysOnClient

среднее количество покупок на клиента?

decimal number

None.

ClientActiveQty

количество активных клиентов

integer

None.

Gain

получено?

decimal number

None.

AvgCheque

средний чек

decimal number

None.

BuysWeekdays

покупок в будни

decimal number

None.

BuysWeekOff

покупок в выходные

decimal number

None.

ErrorCode

код ошибки

integer

None.

Message

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

string

None.

Response Formats

application/json, text/json

Sample:
{
  "MenBuys": 1.0,
  "WomenBuys": 2.0,
  "UnknownGenderBuys": 3.0,
  "RepeatedBuys": 4.0,
  "BuysOnClient": 5.0,
  "ClientActiveQty": 6,
  "Gain": 7.0,
  "AvgCheque": 8.0,
  "BuysWeekdays": 9.0,
  "BuysWeekOff": 10.0,
  "ErrorCode": 11,
  "Message": "sample string 12"
}

application/xml, text/xml

Sample:
<ClientBaseActiveResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LCManagerPartner.Models">
  <AvgCheque>8</AvgCheque>
  <BuysOnClient>5</BuysOnClient>
  <BuysWeekOff>10</BuysWeekOff>
  <BuysWeekdays>9</BuysWeekdays>
  <ClientActiveQty>6</ClientActiveQty>
  <ErrorCode>11</ErrorCode>
  <Gain>7</Gain>
  <MenBuys>1</MenBuys>
  <Message>sample string 12</Message>
  <RepeatedBuys>4</RepeatedBuys>
  <UnknownGenderBuys>3</UnknownGenderBuys>
  <WomenBuys>2</WomenBuys>
</ClientBaseActiveResponse>