SysGetParentCurrencyTypes
Retrieves the virtual currency types inherited from the parent app(s).
Service | Operation |
---|---|
virtualCurrency | SYS_GET_PARENT_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.sysGetParentCurrencyTypes();
if (postResult.status == 200) {
// Success!
}
{
"service": "virtualCurrency",
"operation": "SYS_GET_PARENT_CURRENCY_TYPES",
"data": {}
}
JSON Response
{
"data": {
"parentCurrencies": {
"parent1": [
"parent1VC2",
"parent1VC1"
],
"parent2": [
"parent2VC1",
"parent2VC2"
]
}
},
"status": 200
}