POST api/service/PosPropsPagingInfo
Получение настроек точек продаж, участвующих в продаже услуг, с пагинацией и входными фильтрами
Request Information
URI Parameters
None.
Body Parameters
PosPropsPagingInfoRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| PosCode |
Код торговой точки пользователя |
string |
None. |
| PosName |
Входной фильтр: наименование торговой точки |
string |
None. |
| PosId |
Входной фильтр: идентификатор тороговой точки |
integer |
None. |
| IsActive |
Входной фильтр: только активные |
boolean |
None. |
| NoActive |
Входной фильтр: только неактивные |
boolean |
None. |
| Start |
Пагинация: номер записи, от которой показывать записи, включая указанную |
integer |
None. |
| Length |
Пагинация: позиция от которой показывать записи, включая указанную |
integer |
None. |
| Operator |
Идентификатор оператора программы лояльности |
integer |
None. |
| Token |
Токен пользователя, который инициирует данный запрос |
integer |
None. |
| SiteCode |
Уникальный код виджета по продаже подарочных сертификатов, который инициирует запрос |
string |
None. |
Request Formats
application/json, text/json
{
"PosCode": "sample string 1",
"PosName": "sample string 2",
"PosId": 1,
"IsActive": true,
"NoActive": true,
"Start": 1,
"Length": 1,
"Operator": 1,
"Token": 1,
"SiteCode": "sample string 3"
}
application/xml, text/xml
<PosPropsPagingInfoRequest 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 3</SiteCode> <Token xmlns="http://schemas.datacontract.org/2004/07/LCManagerPartner.Implementation.Abstractions">1</Token> <IsActive>true</IsActive> <Length>1</Length> <NoActive>true</NoActive> <PosCode>sample string 1</PosCode> <PosId>1</PosId> <PosName>sample string 2</PosName> <Start>1</Start> </PosPropsPagingInfoRequest>
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
PosPropsPagingInfoResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| TotalRows |
Количество записей всего |
integer |
None. |
| TotalRowsSelect |
Количество записей в запросе |
integer |
None. |
| Data |
Массив данных |
Collection of PosPropsPagingInfoDataRow |
None. |
| ErrorCode |
Код ошибки |
integer |
None. |
| Message |
Сообщение об ошибке |
string |
None. |
Response Formats
application/json, text/json
{
"TotalRows": 1,
"TotalRowsSelect": 1,
"Data": [
{
"Id": 1,
"ServicePosPropsId": 1,
"PosId": 1,
"PosName": "sample string 1",
"CountTerminal": 64,
"CountTerminalForWidget": 64,
"TimeStep": 1,
"StartTime": "00:00:00.1234567",
"FinishTime": "00:00:00.1234567",
"StartTimeSaturday": "00:00:00.1234567",
"FinishTimeSaturday": "00:00:00.1234567",
"StartTimeSunday": "00:00:00.1234567",
"FinishTimeSunday": "00:00:00.1234567",
"FreeDaysShown": 64,
"TimeCorrection": 1,
"NoActive": true
},
{
"Id": 1,
"ServicePosPropsId": 1,
"PosId": 1,
"PosName": "sample string 1",
"CountTerminal": 64,
"CountTerminalForWidget": 64,
"TimeStep": 1,
"StartTime": "00:00:00.1234567",
"FinishTime": "00:00:00.1234567",
"StartTimeSaturday": "00:00:00.1234567",
"FinishTimeSaturday": "00:00:00.1234567",
"StartTimeSunday": "00:00:00.1234567",
"FinishTimeSunday": "00:00:00.1234567",
"FreeDaysShown": 64,
"TimeCorrection": 1,
"NoActive": true
}
],
"ErrorCode": 1,
"Message": "sample string 2"
}
application/xml, text/xml
<PosPropsPagingInfoResponse 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>
<PosPropsPagingInfoResponse.PosPropsPagingInfoDataRow>
<CountTerminal>64</CountTerminal>
<CountTerminalForWidget>64</CountTerminalForWidget>
<FinishTime>PT0.1234567S</FinishTime>
<FinishTimeSaturday>PT0.1234567S</FinishTimeSaturday>
<FinishTimeSunday>PT0.1234567S</FinishTimeSunday>
<FreeDaysShown>64</FreeDaysShown>
<Id>1</Id>
<NoActive>true</NoActive>
<PosId>1</PosId>
<PosName>sample string 1</PosName>
<ServicePosPropsId>1</ServicePosPropsId>
<StartTime>PT0.1234567S</StartTime>
<StartTimeSaturday>PT0.1234567S</StartTimeSaturday>
<StartTimeSunday>PT0.1234567S</StartTimeSunday>
<TimeCorrection>1</TimeCorrection>
<TimeStep>1</TimeStep>
</PosPropsPagingInfoResponse.PosPropsPagingInfoDataRow>
<PosPropsPagingInfoResponse.PosPropsPagingInfoDataRow>
<CountTerminal>64</CountTerminal>
<CountTerminalForWidget>64</CountTerminalForWidget>
<FinishTime>PT0.1234567S</FinishTime>
<FinishTimeSaturday>PT0.1234567S</FinishTimeSaturday>
<FinishTimeSunday>PT0.1234567S</FinishTimeSunday>
<FreeDaysShown>64</FreeDaysShown>
<Id>1</Id>
<NoActive>true</NoActive>
<PosId>1</PosId>
<PosName>sample string 1</PosName>
<ServicePosPropsId>1</ServicePosPropsId>
<StartTime>PT0.1234567S</StartTime>
<StartTimeSaturday>PT0.1234567S</StartTimeSaturday>
<StartTimeSunday>PT0.1234567S</StartTimeSunday>
<TimeCorrection>1</TimeCorrection>
<TimeStep>1</TimeStep>
</PosPropsPagingInfoResponse.PosPropsPagingInfoDataRow>
</Data>
<TotalRows>1</TotalRows>
<TotalRowsSelect>1</TotalRowsSelect>
</PosPropsPagingInfoResponse>