Skip to main content
Version: 5.7.0

SysGetCatalogItemsPageOffset

Gets the page of catalog items from the server based on the encoded context and specified page offset, with full language fields mappings.

ServiceOperation
itemCatalogSYS_GET_CATALOG_ITEMS_PAGE_OFFSET

Method Parameters

ParameterDescription
contextThe context string returned from the server from a previous call to SysGetCatalogItemsPage or SysGetCatalogItemsPageOffset.
pageOffsetThe positive or negative page offset to fetch. Uses the last page retrieved using the context string to determine a starting point.

Usage

http://localhost:3000
// S2S call: to view example, switch to the Cloud Code or Raw tab.
JSON Response
{
"data": {
"context": "eyJzZWFyY2hDcml0ZXJpYSI6eyJnYW1lSWQiOiIyMzQwMyJ9LCJzb3J0Q3JpdGVyaWEiOnsiY3JlYXRlZEF0IjoxLCJ1cGRhdGVkQXQiOi0xfSwicGFnaW5hdGlvbiI6eyJyb3dzUGVyUGFnZSI6MSwicGFnZU51bWJlciI6MiwiZG9Db3VudCI6dHJ1ZX0sIm9wdGlvbnMiOm51bGx9",
"results": {
"count": 7,
"page": 2,
"items": [
{
"gameId": "23403",
"defId": "medal_bronze_2",
"name": {
"en": "Medium Bronze Medal"
},
"desc": {
"en": ""
},
"type": "ITEM",
"category": "collectable",
"tags": ["medal"],
"buyPrice": {},
"sellPrice": {},
"image": null,
"resourceGroup": null,
"resourceTag": null,
"meta": {},
"initData": {},
"pState": "PUBLISHED",
"publishedAt": 1566585957049,
"createdAt": 1566585954652,
"updatedAt": 1566585957049,
"version": 2,
"stackable": false,
"consumable": false,
"uses": null,
"coolDownSecs": 0,
"recoverySecs": 0,
"activatable": false,
"statusName": null,
"activeSecs": null,
"tradable": false,
"blockchain": false,
"blockchainDefId": null
}
],
"moreAfter": true,
"moreBefore": true
}
},
"status": 200
}