POST api/values/SegmentationAge
Данные для страницы Аналитика LCManager
Request Information
URI Parameters
None.
Body Parameters
SegmentationAgeRequestName | Description | Type | Additional 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": "2023-03-28T09:20:44.632758+03:00", "EndDate": "2023-03-28T09:20:44.632758+03:00" }
application/xml, text/xml
Sample:
<SegmentationAgeRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LCManagerPartner.Models"> <BeginDate>2023-03-28T09:20:44.632758+03:00</BeginDate> <EndDate>2023-03-28T09:20:44.632758+03:00</EndDate> <Operator>1</Operator> <Partner>2</Partner> <Pos>3</Pos> </SegmentationAgeRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
SegmentationAgeResponseName | Description | Type | Additional information |
---|---|---|---|
LessThen25 |
моложе 25 лет |
integer |
None. |
More25Less35 |
25-35 лет |
integer |
None. |
More35Less45 |
35-45 лет |
integer |
None. |
More45 |
старше 45 |
integer |
None. |
Unknown |
возраст неизвестен |
integer |
None. |
ClientQty |
количество клиентов |
integer |
None. |
WithBirthDate |
с указанной датой рождения |
integer |
None. |
WithoutBirthDate |
без указания даты рождения |
integer |
None. |
ErrorCode |
код ошибки |
integer |
None. |
Message |
сообщение об ошибке |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "LessThen25": 1, "More25Less35": 2, "More35Less45": 3, "More45": 4, "Unknown": 5, "ClientQty": 6, "WithBirthDate": 7, "WithoutBirthDate": 8, "ErrorCode": 9, "Message": "sample string 10" }
application/xml, text/xml
Sample:
<SegmentationAgeResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LCManagerPartner.Models"> <ClientQty>6</ClientQty> <ErrorCode>9</ErrorCode> <LessThen25>1</LessThen25> <Message>sample string 10</Message> <More25Less35>2</More25Less35> <More35Less45>3</More35Less45> <More45>4</More45> <Unknown>5</Unknown> <WithBirthDate>7</WithBirthDate> <WithoutBirthDate>8</WithoutBirthDate> </SegmentationAgeResponse>