POST api/marketing/CommunicationPriorityListPagingInfo
Получение информации о приоритетах коммуникаций, с пагинацией и входными фильтрами
Request Information
URI Parameters
None.
Body Parameters
CommunicationPriorityListPagingInfoRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| Name |
Фильтр: наименование уровня |
string |
None. |
| Start |
Пагинация: номер записи, от которой показывать записи, включая указанную |
integer |
None. |
| Length |
Пагинация: позиция от которой показывать записи, включая указанную |
integer |
None. |
| Operator |
Идентификатор оператора программы лояльности |
integer |
None. |
| Token |
Токен пользователя, который инициирует данный запрос |
integer |
None. |
| SiteCode |
Уникальный код виджета по продаже подарочных сертификатов, который инициирует запрос |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Name": "sample string 1",
"Start": 1,
"Length": 1,
"Operator": 1,
"Token": 1,
"SiteCode": "sample string 2"
}
application/xml, text/xml
Sample:
<CommunicationPriorityListPagingInfoRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LCManagerPartner.Implementation.Request.MarketingRequest"> <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> <Length>1</Length> <Name>sample string 1</Name> <Start>1</Start> </CommunicationPriorityListPagingInfoRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
CommunicationPriorityListPagingInfoResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| TotalRows |
Общее кол-во записей по заданным фильтрам |
integer |
None. |
| TotalRowsSelect |
Количество записей в запросе |
integer |
None. |
| Data |
Массив данных |
Collection of CommunicationPriorityListPagingInfoDataRow |
None. |
| ErrorCode |
Код ошибки |
integer |
None. |
| Message |
Сообщение об ошибке |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"TotalRows": 1,
"TotalRowsSelect": 1,
"Data": [
{
"Id": 1,
"CommunicationPriorityListId": 1,
"Name": "sample string 1",
"ProcTime": "2025-12-22T09:18:24.8601041+03:00"
},
{
"Id": 1,
"CommunicationPriorityListId": 1,
"Name": "sample string 1",
"ProcTime": "2025-12-22T09:18:24.8601041+03:00"
}
],
"ErrorCode": 1,
"Message": "sample string 2"
}
application/xml, text/xml
Sample:
<CommunicationPriorityListPagingInfoResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LCManagerPartner.Implementation.Response.MarketingResponse">
<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>
<CommunicationPriorityListPagingInfoResponse.CommunicationPriorityListPagingInfoDataRow>
<CommunicationPriorityListId>1</CommunicationPriorityListId>
<Id>1</Id>
<Name>sample string 1</Name>
<ProcTime>2025-12-22T09:18:24.8601041+03:00</ProcTime>
</CommunicationPriorityListPagingInfoResponse.CommunicationPriorityListPagingInfoDataRow>
<CommunicationPriorityListPagingInfoResponse.CommunicationPriorityListPagingInfoDataRow>
<CommunicationPriorityListId>1</CommunicationPriorityListId>
<Id>1</Id>
<Name>sample string 1</Name>
<ProcTime>2025-12-22T09:18:24.8601041+03:00</ProcTime>
</CommunicationPriorityListPagingInfoResponse.CommunicationPriorityListPagingInfoDataRow>
</Data>
<TotalRows>1</TotalRows>
<TotalRowsSelect>1</TotalRowsSelect>
</CommunicationPriorityListPagingInfoResponse>