POST api/reports/ClientBirthdayChildrenPeriod

Отчёт по дням рождения детей клиентов в указанный период

Request Information

URI Parameters

None.

Body Parameters

ClientBirthdayChildrenPeriodRequest
NameDescriptionTypeAdditional information
Partner

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

integer

None.

PosCode

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

string

None.

BegDate

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

date

None.

EndDate

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

date

None.

Operator

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

integer

None.

Token

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

integer

None.

SiteCode

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

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Partner": 1,
  "PosCode": "sample string 1",
  "BegDate": "2022-08-14T16:24:13.8984892+03:00",
  "EndDate": "2022-08-14T16:24:13.8984892+03:00",
  "Operator": 1,
  "Token": 1,
  "SiteCode": "sample string 2"
}

application/xml, text/xml

Sample:
<ClientBirthdayChildrenPeriodRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LCManagerPartner.Implementation.Request.ReportsRequest">
  <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>
  <BegDate>2022-08-14T16:24:13.8984892+03:00</BegDate>
  <EndDate>2022-08-14T16:24:13.8984892+03:00</EndDate>
  <Partner>1</Partner>
  <PosCode>sample string 1</PosCode>
</ClientBirthdayChildrenPeriodRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ClientBirthdayChildrenPeriodReportResponse
NameDescriptionTypeAdditional information
Report

Бинарные данные отчёта

Collection of byte

None.

ErrorCode

Код ошибки

integer

None.

Message

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

string

None.

Response Formats

application/json, text/json

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

application/xml, text/xml

Sample:
<ClientBirthdayChildrenPeriodReportResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LCManagerPartner.Implementation.Response.ReportsResponse">
  <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>
  <Report>QEA=</Report>
</ClientBirthdayChildrenPeriodReportResponse>