POST api/system/MessageOperatorPosPagingInfo

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

Request Information

URI Parameters

None.

Body Parameters

MessageOperatorPosPagingInfoRequest
NameDescriptionTypeAdditional information
MessageOperator

Идентификатор родительской записи

integer

None.

Pos

Фильтр: идентификатор точки продаж, от которой нужно отправлять коммуникацию

integer

None.

Active

Фильтр: признак активности записи

boolean

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,
  "Pos": 1,
  "Active": true,
  "Start": 1,
  "Length": 1,
  "Operator": 1,
  "Token": 1,
  "SiteCode": "sample string 1"
}

application/xml, text/xml

Sample:
<MessageOperatorPosPagingInfoRequest 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>
  <Active>true</Active>
  <Length>1</Length>
  <MessageOperator>1</MessageOperator>
  <Pos>1</Pos>
  <Start>1</Start>
</MessageOperatorPosPagingInfoRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

MessageOperatorPosPagingInfoResponse
NameDescriptionTypeAdditional information
TotalRows

Количество записей всего

integer

None.

TotalRowsSelect

Количество записей в запросе

integer

None.

Data

Массив данных

Collection of MessageOperatorPosPagingInfoDataRow

None.

ErrorCode

Код ошибки

integer

None.

Message

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

string

None.

Response Formats

application/json, text/json

Sample:
{
  "TotalRows": 1,
  "TotalRowsSelect": 1,
  "Data": [
    {
      "Id": 1,
      "MessageOperatorPosId": 1,
      "MessageOperator": 1,
      "Pos": 1,
      "PosName": "sample string 1",
      "ApiKey": "sample string 2",
      "ApiUrl": "sample string 3",
      "MessageProvider": 1,
      "MessageProviderName": "sample string 4",
      "NoActive": true
    },
    {
      "Id": 1,
      "MessageOperatorPosId": 1,
      "MessageOperator": 1,
      "Pos": 1,
      "PosName": "sample string 1",
      "ApiKey": "sample string 2",
      "ApiUrl": "sample string 3",
      "MessageProvider": 1,
      "MessageProviderName": "sample string 4",
      "NoActive": true
    }
  ],
  "ErrorCode": 1,
  "Message": "sample string 2"
}

application/xml, text/xml

Sample:
<MessageOperatorPosPagingInfoResponse 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>
    <MessageOperatorPosPagingInfoResponse.MessageOperatorPosPagingInfoDataRow>
      <ApiKey>sample string 2</ApiKey>
      <ApiUrl>sample string 3</ApiUrl>
      <Id>1</Id>
      <MessageOperator>1</MessageOperator>
      <MessageOperatorPosId>1</MessageOperatorPosId>
      <MessageProvider>1</MessageProvider>
      <MessageProviderName>sample string 4</MessageProviderName>
      <NoActive>true</NoActive>
      <Pos>1</Pos>
      <PosName>sample string 1</PosName>
    </MessageOperatorPosPagingInfoResponse.MessageOperatorPosPagingInfoDataRow>
    <MessageOperatorPosPagingInfoResponse.MessageOperatorPosPagingInfoDataRow>
      <ApiKey>sample string 2</ApiKey>
      <ApiUrl>sample string 3</ApiUrl>
      <Id>1</Id>
      <MessageOperator>1</MessageOperator>
      <MessageOperatorPosId>1</MessageOperatorPosId>
      <MessageProvider>1</MessageProvider>
      <MessageProviderName>sample string 4</MessageProviderName>
      <NoActive>true</NoActive>
      <Pos>1</Pos>
      <PosName>sample string 1</PosName>
    </MessageOperatorPosPagingInfoResponse.MessageOperatorPosPagingInfoDataRow>
  </Data>
  <TotalRows>1</TotalRows>
  <TotalRowsSelect>1</TotalRowsSelect>
</MessageOperatorPosPagingInfoResponse>