SysGetMessagesPageOffset
Gets the page of system messages from the server based on the encoded context and specified page offset.
Service | Operation |
---|---|
messaging | SYS_GET_MESSAGES_PAGE_OFFSET |
Method Parameters
Parameter | Description |
---|---|
context | The search and paging criteria. |
pageOffset | Number of pages to go forward or back. |
Usage
http://localhost:3000
- C#
- C++
- Objective-C
- Java
- JavaScript
- Dart
- Cloud Code
- Raw
// S2S call: to view example, switch to the Cloud Code or Raw tab.
// S2S call: to view example, switch to the Cloud Code or Raw tab.
// S2S call: to view example, switch to the Cloud Code or Raw tab.
// S2S call: to view example, switch to the Cloud Code or Raw tab.
// S2S call: to view example, switch to the Cloud Code or Raw tab.
// S2S call: to view example, switch to the Cloud Code or Raw tab.
var context = "eyJzZWFyY2hDcml0ZXJpYSI6eyJlbnRpdHlUeXBlIjp7IiRyZWdleCI6Ii4qaWxkLioiLCIkb3B0";
var pageOffset = 1;
var messagingProxy = bridge.getMessagingServiceProxy();
var postResult = messagingProxy.sysGetMessagesPageOffset(context, pageOffset);
if (postResult.status == 200) {
// Success!
}
{
"service": "messaging",
"operation": "SYS_GET_MESSAGES_PAGE_OFFSET",
"data": {
"context": "eyJzZWFyY2hDcml0ZXJpYSI6eyJlbnRpdHlUeXBlIjp7IiRyZWdleCI6Ii4qaWxkLioiLCIkb3B0",
"pageOffset": 1
}
}