ReadProperties
Method returns list of global properties.
Service | Operation |
---|---|
globalApp | READ_PROPERTIES |
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 globalAppProxy = bridge.getGlobalAppServiceProxy();
var postResult = globalAppProxy.readProperties();
if (postResult.status == 200) {
// Success!
}
{
"service": "globalApp",
"operation": "READ_PROPERTIES",
"data": {}
}
JSON Response
{
"data": {
"keyvalue1": {
"name": "keyvalue1",
"value": "datavalue1"
},
"keyvalue2": {
"name": "keyvalue2",
"value": "datavalue2"
}
},
"status": 200
}