POST api/reactivation/ReactivationLevelStepPagingInfo
Получение информации о всех попытках правила реактвиации, с пагинацией и входными фильтрами
Request Information
URI Parameters
None.
Body Parameters
ReactivationLevelStepPagingInfoRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| PosCode |
Код торговой точки пользователя, который делает запрос |
string |
None. |
| OnlyActive |
Фильтр: вернуть только активные рассылки (т.е. в любом статусе но не отправленные ещё) |
boolean |
None. |
| ReactivationRule |
Фильтр: идентификатор правила реактивации |
integer |
None. |
| ReactivationLevelStep |
Фильтр: идентификатор попытки |
integer |
None. |
| BonusActionBegTime |
Фильтр: желаемое время начисленяи бонусов |
time interval |
None. |
| MessageActionBegTime |
Фильтр: желаемое время отправки коммуникаций |
time interval |
None. |
| Bonus |
Фильтр: кол-во начисляемых бонусов |
decimal number |
None. |
| BonusExpDays |
Фильтр: срок жизни бонусов с момента начисления |
integer |
None. |
| MessageTemplate |
Фильтр: идентификатор шаблона коммуникации |
integer |
None. |
| CommunicationType |
Фильтр: тип коммуникации |
byte |
None. |
| TryDelay |
Фильтр: задержка между шагами правила |
integer |
None. |
| MaxLimitDays |
Фильтр: максимальное кол-во дней на последнем шаге |
integer |
None. |
| Coupon |
Фильтр: идентификатор купона |
string |
None. |
| Start |
Пагинация: последовательный номер записи от которой нужно возвращать данные (1, 10, 20, 30 и т.д.) |
integer |
None. |
| Length |
Пагинация: количество записей, которые нужно вернуть |
integer |
None. |
| Operator |
Идентификатор оператора программы лояльности |
integer |
None. |
| Token |
Токен пользователя, который инициирует данный запрос |
integer |
None. |
| SiteCode |
Уникальный код виджета по продаже подарочных сертификатов, который инициирует запрос |
string |
None. |
Request Formats
application/json, text/json
{
"PosCode": "sample string 1",
"OnlyActive": true,
"ReactivationRule": 1,
"ReactivationLevelStep": 1,
"BonusActionBegTime": "00:00:00.1234567",
"MessageActionBegTime": "00:00:00.1234567",
"Bonus": 1.0,
"BonusExpDays": 1,
"MessageTemplate": 1,
"CommunicationType": 64,
"TryDelay": 1,
"MaxLimitDays": 1,
"Coupon": "sample string 2",
"Start": 1,
"Length": 1,
"Operator": 1,
"Token": 1,
"SiteCode": "sample string 3"
}
application/xml, text/xml
<ReactivationLevelStepPagingInfoRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LCManagerPartner.Implementation.Request.ReactivationRequest"> <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 3</SiteCode> <Token xmlns="http://schemas.datacontract.org/2004/07/LCManagerPartner.Implementation.Abstractions">1</Token> <Bonus>1</Bonus> <BonusActionBegTime>PT0.1234567S</BonusActionBegTime> <BonusExpDays>1</BonusExpDays> <CommunicationType>64</CommunicationType> <Coupon>sample string 2</Coupon> <Length>1</Length> <MaxLimitDays>1</MaxLimitDays> <MessageActionBegTime>PT0.1234567S</MessageActionBegTime> <MessageTemplate>1</MessageTemplate> <OnlyActive>true</OnlyActive> <PosCode>sample string 1</PosCode> <ReactivationLevelStep>1</ReactivationLevelStep> <ReactivationRule>1</ReactivationRule> <Start>1</Start> <TryDelay>1</TryDelay> </ReactivationLevelStepPagingInfoRequest>
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
ReactivationLevelStepPagingInfoResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| TotalRows |
Количество записей, которые попали в выборку |
integer |
None. |
| TotalRowsSelect |
Количество записей, которые вернулись в массиве ответа на запрос |
integer |
None. |
| Data |
Массив данных |
Collection of ReactivationLevelStepPagingInfoDataRow |
None. |
| ErrorCode |
Код ошибки |
integer |
None. |
| Message |
Сообщение об ошибке |
string |
None. |
Response Formats
application/json, text/json
{
"TotalRows": 1,
"TotalRowsSelect": 1,
"Data": [
{
"Id": 1,
"ReactivationRule": 1,
"ReactivationRuleName": "sample string 1",
"Bonus": 1.0,
"BonusExpDays": 1,
"TryDelay": 1,
"MaxLimitDays": 1,
"IsActive": true,
"Coupon": "sample string 2",
"ReactivationLevelStep": 1,
"BonusActionBegTime": "00:00:00.1234567",
"MessageActionBegTime": "00:00:00.1234567",
"MessageTemplate": 1,
"MessageTemplateName": "sample string 3",
"CommunicationType": 1,
"CommunicationTypeName": "sample string 4",
"CommunicationPriorityList": 1,
"CommunicationPriorityListName": "sample string 5"
},
{
"Id": 1,
"ReactivationRule": 1,
"ReactivationRuleName": "sample string 1",
"Bonus": 1.0,
"BonusExpDays": 1,
"TryDelay": 1,
"MaxLimitDays": 1,
"IsActive": true,
"Coupon": "sample string 2",
"ReactivationLevelStep": 1,
"BonusActionBegTime": "00:00:00.1234567",
"MessageActionBegTime": "00:00:00.1234567",
"MessageTemplate": 1,
"MessageTemplateName": "sample string 3",
"CommunicationType": 1,
"CommunicationTypeName": "sample string 4",
"CommunicationPriorityList": 1,
"CommunicationPriorityListName": "sample string 5"
}
],
"ErrorCode": 1,
"Message": "sample string 2"
}
application/xml, text/xml
<ReactivationLevelStepPagingInfoResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LCManagerPartner.Implementation.Response.ReactivationResponse">
<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>
<Data>
<ReactivationLevelStepPagingInfoResponse.ReactivationLevelStepPagingInfoDataRow>
<Bonus>1</Bonus>
<BonusActionBegTime>PT0.1234567S</BonusActionBegTime>
<BonusExpDays>1</BonusExpDays>
<CommunicationPriorityList>1</CommunicationPriorityList>
<CommunicationPriorityListName>sample string 5</CommunicationPriorityListName>
<CommunicationType>1</CommunicationType>
<CommunicationTypeName>sample string 4</CommunicationTypeName>
<Coupon>sample string 2</Coupon>
<Id>1</Id>
<IsActive>true</IsActive>
<MaxLimitDays>1</MaxLimitDays>
<MessageActionBegTime>PT0.1234567S</MessageActionBegTime>
<MessageTemplate>1</MessageTemplate>
<MessageTemplateName>sample string 3</MessageTemplateName>
<ReactivationLevelStep>1</ReactivationLevelStep>
<ReactivationRule>1</ReactivationRule>
<ReactivationRuleName>sample string 1</ReactivationRuleName>
<TryDelay>1</TryDelay>
</ReactivationLevelStepPagingInfoResponse.ReactivationLevelStepPagingInfoDataRow>
<ReactivationLevelStepPagingInfoResponse.ReactivationLevelStepPagingInfoDataRow>
<Bonus>1</Bonus>
<BonusActionBegTime>PT0.1234567S</BonusActionBegTime>
<BonusExpDays>1</BonusExpDays>
<CommunicationPriorityList>1</CommunicationPriorityList>
<CommunicationPriorityListName>sample string 5</CommunicationPriorityListName>
<CommunicationType>1</CommunicationType>
<CommunicationTypeName>sample string 4</CommunicationTypeName>
<Coupon>sample string 2</Coupon>
<Id>1</Id>
<IsActive>true</IsActive>
<MaxLimitDays>1</MaxLimitDays>
<MessageActionBegTime>PT0.1234567S</MessageActionBegTime>
<MessageTemplate>1</MessageTemplate>
<MessageTemplateName>sample string 3</MessageTemplateName>
<ReactivationLevelStep>1</ReactivationLevelStep>
<ReactivationRule>1</ReactivationRule>
<ReactivationRuleName>sample string 1</ReactivationRuleName>
<TryDelay>1</TryDelay>
</ReactivationLevelStepPagingInfoResponse.ReactivationLevelStepPagingInfoDataRow>
</Data>
<TotalRows>1</TotalRows>
<TotalRowsSelect>1</TotalRowsSelect>
</ReactivationLevelStepPagingInfoResponse>