POST api/system/MessageOperatorPagingInfo
Получение информации о настройках отправки коммуникаций от точек продаж, с пагинацией и входными фильтрами
Request Information
URI Parameters
None.
Body Parameters
MessageOperatorPagingInfoRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| MessageOperator |
Идентификатор записи |
integer |
None. |
| MessageProvider |
Идентификатор провайдера |
integer |
None. |
| CommunicationType |
Тип коммуникации |
byte |
None. |
| Start |
Пагинация: номер записи от которой показывать записи, включая указанную |
integer |
None. |
| Length |
Пагинация: позиция от которой показывать записи, включая указанную |
integer |
None. |
| Operator |
Идентификатор оператора программы лояльности |
integer |
None. |
| Token |
Токен пользователя, который инициирует данный запрос |
integer |
None. |
| SiteCode |
Уникальный код виджета по продаже подарочных сертификатов, который инициирует запрос |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"MessageOperator": 1,
"MessageProvider": 1,
"CommunicationType": 64,
"Start": 1,
"Length": 1,
"Operator": 1,
"Token": 1,
"SiteCode": "sample string 1"
}
application/xml, text/xml
Sample:
<MessageOperatorPagingInfoRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LCManagerPartner.Implementation.Request.SystemRequest"> <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 1</SiteCode> <Token xmlns="http://schemas.datacontract.org/2004/07/LCManagerPartner.Implementation.Abstractions">1</Token> <CommunicationType>64</CommunicationType> <Length>1</Length> <MessageOperator>1</MessageOperator> <MessageProvider>1</MessageProvider> <Start>1</Start> </MessageOperatorPagingInfoRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
MessageOperatorPagingInfoResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| TotalRows |
Количество записей всего |
integer |
None. |
| TotalRowsSelect |
Количество записей в запросе |
integer |
None. |
| Data |
Массив данных |
Collection of MessageOperatorPagingInfoDataRow |
None. |
| ErrorCode |
Код ошибки |
integer |
None. |
| Message |
Сообщение об ошибке |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"TotalRows": 1,
"TotalRowsSelect": 1,
"Data": [
{
"Id": 1,
"MessageOperator": 1,
"CommunicationType": 64,
"CommunicationTypeName": "sample string 1",
"MessageProvider": 1,
"MessageProviderName": "sample string 2",
"Sender": "sample string 3",
"ApiUrl": "sample string 4",
"EmailFrom": "sample string 5"
},
{
"Id": 1,
"MessageOperator": 1,
"CommunicationType": 64,
"CommunicationTypeName": "sample string 1",
"MessageProvider": 1,
"MessageProviderName": "sample string 2",
"Sender": "sample string 3",
"ApiUrl": "sample string 4",
"EmailFrom": "sample string 5"
}
],
"ErrorCode": 1,
"Message": "sample string 2"
}
application/xml, text/xml
Sample:
<MessageOperatorPagingInfoResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LCManagerPartner.Implementation.Response.SystemResponse">
<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>
<MessageOperatorPagingInfoResponse.MessageOperatorPagingInfoDataRow>
<ApiUrl>sample string 4</ApiUrl>
<CommunicationType>64</CommunicationType>
<CommunicationTypeName>sample string 1</CommunicationTypeName>
<EmailFrom>sample string 5</EmailFrom>
<Id>1</Id>
<MessageOperator>1</MessageOperator>
<MessageProvider>1</MessageProvider>
<MessageProviderName>sample string 2</MessageProviderName>
<Sender>sample string 3</Sender>
</MessageOperatorPagingInfoResponse.MessageOperatorPagingInfoDataRow>
<MessageOperatorPagingInfoResponse.MessageOperatorPagingInfoDataRow>
<ApiUrl>sample string 4</ApiUrl>
<CommunicationType>64</CommunicationType>
<CommunicationTypeName>sample string 1</CommunicationTypeName>
<EmailFrom>sample string 5</EmailFrom>
<Id>1</Id>
<MessageOperator>1</MessageOperator>
<MessageProvider>1</MessageProvider>
<MessageProviderName>sample string 2</MessageProviderName>
<Sender>sample string 3</Sender>
</MessageOperatorPagingInfoResponse.MessageOperatorPagingInfoDataRow>
</Data>
<TotalRows>1</TotalRows>
<TotalRowsSelect>1</TotalRowsSelect>
</MessageOperatorPagingInfoResponse>