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
// 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 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
}