SysGetCurrencyTypes
Retrieves the virtual currency types defined for the current app.
Service | Operation |
---|---|
virtualCurrency | SYS_GET_CURRENCY_TYPES |
Usage
http://localhost:3000
- C#
- C++
- Objective-C
- Java
- JavaScript
- Dart
- Cloud Code
- Raw
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
var virtualCurrencyProxy = bridge.getVirtualCurrencyServiceProxy();
var postResult = virtualCurrencyProxy.sysGetCurrencyTypes();
if (postResult.status == 200) {
// Success!
}
{
"service": "virtualCurrency",
"operation": "SYS_GET_CURRENCY_TYPES",
"data": {}
}
JSON Response
{
"data": {
"currencies": [
"gems"
]
},
"status": 200
}