SysGetMessages
Retrieves list of specified system messages.
Service | Operation |
---|---|
messaging | SYS_GET_MESSAGES |
Method Parameters
Parameter | Description |
---|---|
msgIds | An array of the ids of messages to retrieve. |
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 msgIds = [
"msgId1",
"msgId2"
];
var messagingProxy = bridge.getMessagingServiceProxy();
var postResult = messagingProxy.sysGetMessages(msgIds);
if (postResult.status == 200) {
// Success!
}
{
"service": "messaging",
"operation": "SYS_GET_MESSAGES",
"data": {
"msgIds": [
"msgId1",
"msgId2"
]
}
}