POST api/goods/GoodlistPagingInfo
Получение информации о списках товаров, с пагинацией и фильтрами
Request Information
URI Parameters
None.
Body Parameters
GoodlistPagingInfoRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| PosCode |
Код торговой точки пользователя |
string |
None. |
| Name |
Входной фильтр: наименование списка товаров |
string |
None. |
| GoodList |
Входной фильтр: идентификатор списка товаров |
integer |
None. |
| Active |
Входной фильтр: активность списка товаров |
boolean |
None. |
| CountGoods |
Входной фильтр: количество товаров и более в списке точек продаж |
integer |
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",
"Name": "sample string 2",
"GoodList": 1,
"Active": true,
"CountGoods": 1,
"Start": 1,
"Length": 1,
"Operator": 1,
"Token": 1,
"SiteCode": "sample string 3"
}
application/xml, text/xml
<GoodlistPagingInfoRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LCManagerPartner.Implementation.Request.GoodsRequest"> <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> <Active>true</Active> <CountGoods>1</CountGoods> <GoodList>1</GoodList> <Length>1</Length> <Name>sample string 2</Name> <PosCode>sample string 1</PosCode> <Start>1</Start> </GoodlistPagingInfoRequest>
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
GoodlistPagingInfoResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| TotalRows |
Количество записей всего |
integer |
None. |
| TotalRowsSelect |
Количество записей в запросе |
integer |
None. |
| GoodList |
Массив позиций |
Collection of GoodlistPagingInfoGoodListStr |
None. |
| ErrorCode |
Код ошибки |
integer |
None. |
| Message |
Сообщение об ошибке |
string |
None. |
Response Formats
application/json, text/json
{
"TotalRows": 1,
"TotalRowsSelect": 1,
"GoodList": [
{
"Id": 1,
"GoodListId": 1,
"Name": "sample string 1",
"ProcTime": "2025-11-08T21:12:57.4543696+03:00",
"Active": true,
"CountGoods": 1
},
{
"Id": 1,
"GoodListId": 1,
"Name": "sample string 1",
"ProcTime": "2025-11-08T21:12:57.4543696+03:00",
"Active": true,
"CountGoods": 1
}
],
"ErrorCode": 1,
"Message": "sample string 2"
}
application/xml, text/xml
<GoodlistPagingInfoResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LCManagerPartner.Implementation.Response.GoodsResponse">
<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>
<GoodList>
<GoodlistPagingInfoResponse.GoodlistPagingInfoGoodListStr>
<Active>true</Active>
<CountGoods>1</CountGoods>
<GoodListId>1</GoodListId>
<Id>1</Id>
<Name>sample string 1</Name>
<ProcTime>2025-11-08T21:12:57.4543696+03:00</ProcTime>
</GoodlistPagingInfoResponse.GoodlistPagingInfoGoodListStr>
<GoodlistPagingInfoResponse.GoodlistPagingInfoGoodListStr>
<Active>true</Active>
<CountGoods>1</CountGoods>
<GoodListId>1</GoodListId>
<Id>1</Id>
<Name>sample string 1</Name>
<ProcTime>2025-11-08T21:12:57.4543696+03:00</ProcTime>
</GoodlistPagingInfoResponse.GoodlistPagingInfoGoodListStr>
</GoodList>
<TotalRows>1</TotalRows>
<TotalRowsSelect>1</TotalRowsSelect>
</GoodlistPagingInfoResponse>