POST api/service/RegistrationPagingInfo

Получение записей на услуги, с учётом входных параметров и пагинацией

Request Information

URI Parameters

None.

Body Parameters

RegistrationPagingInfoRequest
NameDescriptionTypeAdditional information
RegistrationId

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

integer

None.

ServicePosId

Входной фильтр: идентификатор точки продаж

integer

None.

BegDate

Входной фильтр: дата начала периода создания записи

date

None.

EndDate

Входной фильтр: дата окончания периода создания записи

date

None.

Date

Входной фильтр: дата создания записи

date

None.

BegTime

Входной фильтр:начальное время записи

time interval

None.

EndTime

Входной фильтр:конечное время записи

time interval

None.

Time

Входной фильтр: время записи

time interval

None.

Client

Входной фильтр: идентификатор клиента

integer

None.

BuyerId

Входной фильтр: идентификатор покупателя

integer

None.

ServiceStatus

Входной фильтр: статус записи

string

None.

Start

Фильтр: с какой позиции вернуть записи

integer

None.

Length

Фильтр: какое количество записей вернуть

integer

None.

Operator

Идентификатор оператора программы лояльности

integer

None.

Token

Токен пользователя, который инициирует данный запрос

integer

None.

SiteCode

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

string

None.

Request Formats

application/json, text/json

Sample:
{
  "RegistrationId": 1,
  "ServicePosId": 1,
  "BegDate": "2024-04-29T18:25:23.6369338+03:00",
  "EndDate": "2024-04-29T18:25:23.6369338+03:00",
  "Date": "2024-04-29T18:25:23.6369338+03:00",
  "BegTime": "00:00:00.1234567",
  "EndTime": "00:00:00.1234567",
  "Time": "00:00:00.1234567",
  "Client": 1,
  "BuyerId": 1,
  "ServiceStatus": "sample string 1",
  "Start": 1,
  "Length": 1,
  "Operator": 1,
  "Token": 1,
  "SiteCode": "sample string 2"
}

application/xml, text/xml

Sample:
<RegistrationPagingInfoRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LCManagerPartner.Implementation.Request.ServiceRequest">
  <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>
  <BegDate>2024-04-29T18:25:23.6369338+03:00</BegDate>
  <BegTime>PT0.1234567S</BegTime>
  <BuyerId>1</BuyerId>
  <Client>1</Client>
  <Date>2024-04-29T18:25:23.6369338+03:00</Date>
  <EndDate>2024-04-29T18:25:23.6369338+03:00</EndDate>
  <EndTime>PT0.1234567S</EndTime>
  <Length>1</Length>
  <RegistrationId>1</RegistrationId>
  <ServicePosId>1</ServicePosId>
  <ServiceStatus>sample string 1</ServiceStatus>
  <Start>1</Start>
  <Time>PT0.1234567S</Time>
</RegistrationPagingInfoRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

RegistrationPagingInfoResponse
NameDescriptionTypeAdditional information
TotalRows

Общее количество записей, которые можно вернуть после применения всех фильтров

integer

None.

TotalRowsSelect

Общее количество записей, которые вернулись в конкретном запросе с пагинацией

integer

None.

Data

Массив активных накладных заказа

Collection of RegistrationPagingInfoDataRow

None.

ErrorCode

Код ошибки

integer

None.

Message

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

string

None.

Response Formats

application/json, text/json

Sample:
{
  "TotalRows": 1,
  "TotalRowsSelect": 1,
  "Data": [
    {
      "Id": 1,
      "RegistrationId": 1,
      "ProcTime": "2024-04-29T18:25:23.8713121+03:00",
      "ServiceStatus": "sample string 1",
      "SourceTypeName": "sample string 2",
      "ServicePos": 1,
      "ServicePosName": "sample string 3",
      "ServiceDate": "2024-04-29T18:25:23.8713121+03:00",
      "ServiceTime": "00:00:00.1234567",
      "CalculateId": 1,
      "Price": 1.0,
      "PriceComplex": 1.0,
      "PriceAdditional": 1.0,
      "BuyerId": 1,
      "BuyerName": "sample string 4",
      "BuyerPhone": 1,
      "BuyerCar": "sample string 5",
      "BuyerCarNumber": "sample string 6",
      "BuyerStorageContract": "sample string 7",
      "ContragentId": "sample string 8"
    },
    {
      "Id": 1,
      "RegistrationId": 1,
      "ProcTime": "2024-04-29T18:25:23.8713121+03:00",
      "ServiceStatus": "sample string 1",
      "SourceTypeName": "sample string 2",
      "ServicePos": 1,
      "ServicePosName": "sample string 3",
      "ServiceDate": "2024-04-29T18:25:23.8713121+03:00",
      "ServiceTime": "00:00:00.1234567",
      "CalculateId": 1,
      "Price": 1.0,
      "PriceComplex": 1.0,
      "PriceAdditional": 1.0,
      "BuyerId": 1,
      "BuyerName": "sample string 4",
      "BuyerPhone": 1,
      "BuyerCar": "sample string 5",
      "BuyerCarNumber": "sample string 6",
      "BuyerStorageContract": "sample string 7",
      "ContragentId": "sample string 8"
    }
  ],
  "ErrorCode": 1,
  "Message": "sample string 2"
}

application/xml, text/xml

Sample:
<RegistrationPagingInfoResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LCManagerPartner.Implementation.Response.ServiceResponse">
  <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>
    <RegistrationPagingInfoResponse.RegistrationPagingInfoDataRow>
      <BuyerCar>sample string 5</BuyerCar>
      <BuyerCarNumber>sample string 6</BuyerCarNumber>
      <BuyerId>1</BuyerId>
      <BuyerName>sample string 4</BuyerName>
      <BuyerPhone>1</BuyerPhone>
      <BuyerStorageContract>sample string 7</BuyerStorageContract>
      <CalculateId>1</CalculateId>
      <ContragentId>sample string 8</ContragentId>
      <Id>1</Id>
      <Price>1</Price>
      <PriceAdditional>1</PriceAdditional>
      <PriceComplex>1</PriceComplex>
      <ProcTime>2024-04-29T18:25:23.8713121+03:00</ProcTime>
      <RegistrationId>1</RegistrationId>
      <ServiceDate>2024-04-29T18:25:23.8713121+03:00</ServiceDate>
      <ServicePos>1</ServicePos>
      <ServicePosName>sample string 3</ServicePosName>
      <ServiceStatus>sample string 1</ServiceStatus>
      <ServiceTime>PT0.1234567S</ServiceTime>
      <SourceTypeName>sample string 2</SourceTypeName>
    </RegistrationPagingInfoResponse.RegistrationPagingInfoDataRow>
    <RegistrationPagingInfoResponse.RegistrationPagingInfoDataRow>
      <BuyerCar>sample string 5</BuyerCar>
      <BuyerCarNumber>sample string 6</BuyerCarNumber>
      <BuyerId>1</BuyerId>
      <BuyerName>sample string 4</BuyerName>
      <BuyerPhone>1</BuyerPhone>
      <BuyerStorageContract>sample string 7</BuyerStorageContract>
      <CalculateId>1</CalculateId>
      <ContragentId>sample string 8</ContragentId>
      <Id>1</Id>
      <Price>1</Price>
      <PriceAdditional>1</PriceAdditional>
      <PriceComplex>1</PriceComplex>
      <ProcTime>2024-04-29T18:25:23.8713121+03:00</ProcTime>
      <RegistrationId>1</RegistrationId>
      <ServiceDate>2024-04-29T18:25:23.8713121+03:00</ServiceDate>
      <ServicePos>1</ServicePos>
      <ServicePosName>sample string 3</ServicePosName>
      <ServiceStatus>sample string 1</ServiceStatus>
      <ServiceTime>PT0.1234567S</ServiceTime>
      <SourceTypeName>sample string 2</SourceTypeName>
    </RegistrationPagingInfoResponse.RegistrationPagingInfoDataRow>
  </Data>
  <TotalRows>1</TotalRows>
  <TotalRowsSelect>1</TotalRowsSelect>
</RegistrationPagingInfoResponse>