Skip to main content
Version: 5.7.0

SysGetPageOffset

Retrieves next/prev page of users from server based on the specified query context.

ServiceOperation
userSYS_GET_PAGE_OFFSET

Method Parameters

ParameterDescription
contextA context JSON object describing the pagination, searchCriteria and sortCriteria options
pageOffset+1 for next page, -1 for previous page

Usage

http://localhost:3000
// Cloud Code only. To view example, switch to the Cloud Code tab
JSON Response
{
"status": 200,
"data": {
"context": "eyJzZWFyY2hDcml0ZXJpYSI6eyJnYW1lSWQiOiIyMTc3NCxxx...",
"results": {
"count": 2,
"page": 2,
"items": [
{
"profileId": "0b53155b-1fc8-4916-XXXX-298379efc67a",
"playerName": "Bats",
"countryCode": "CA",
"timeZoneOffset": -5,
"summaryFriendData": {
"favColor": "black"
},
"emailAddress": "bruce@wayneent.com"
}
],
"moreAfter": false,
"moreBefore": true
}
}
}