Skip to main content
Version: 5.7.0

SysGetEntityPageOffset

Gets the page of custom entities from the server based on the encoded context and specified page offset. Bypasses ownership/ACL checks.

ServiceOperation
customEntitySYS_GET_ENTITY_PAGE_OFFSET

Method Parameters

ParameterDescription
entityTypeThe type of custom entity being retrieved.
contextThe context string returned from the server from a previous call to GetPage or GetPageOffset.
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
// Cloud Code only. To view example, switch to the Cloud Code tab
JSON Response
{
"status": 200,
"data": {
"_serverTime": 1637946319239,
"context": "eyJzZWFyY2hDcml0ZXJpYSI6e30sInNvcnRDcml0ZXJpYSI6eyJjcmVhdGVkQXQiOjF9LCJwYWdpbmF0aW9uIjp7InJvd3NQZXJQYWdlIjoyMCwicGFnZU51bWJlciI6MSwiZG9DbXXXXXXXmFsc2V9LCJvcHRpb25zIjpudWxsfQ",
"results": {
"page": 1,
"items": [
{
"entityId": "781a5f97-1fa8-41e5-xxxx-7f648af19414",
"version": 1,
"acl": {
"other": 1
},
"ownerId": "b7e7116e-749d-444f-xxxx-13f1101512a3",
"expiresAt": null,
"timeToLive": null,
"createdAt": 1573534287525,
"updatedAt": 1573534287525,
"data": {
"level1": "complete",
"level2": "incomplete"
}
}
]
}
}
}