This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:sidebar:remoteapi:apiref:core:get_account_data [02/12/2016 16:02] stan |
en:sidebar:remoteapi:apiref:core:get_account_data [14/12/2017 17:39] stan [Response] |
||
---|---|---|---|
Line 32: | Line 32: | ||
"type":<int>, /* type: 1 - on demand; 2 - periodic */ | "type":<int>, /* type: 1 - on demand; 2 - periodic */ | ||
"usage":<uint>, /* quantity of active resources of current service */ | "usage":<uint>, /* quantity of active resources of current service */ | ||
- | "maxUsage":<uint> /* maximal quantity of resources */ | + | "maxUsage":<int> /* maximal quantity of resources */ |
}, | }, | ||
... | ... | ||
Line 38: | Line 38: | ||
"dealerRights":<int>, /* allow using dealer rights for current billing plan: 0 - no, 1 - yes */ | "dealerRights":<int>, /* allow using dealer rights for current billing plan: 0 - no, 1 - yes */ | ||
"subPlans":[<text>], /* array of subplans */ | "subPlans":[<text>], /* array of subplans */ | ||
- | "switchTime":<uint>, /* time of switch "enabled" param */ | + | "switchTime":<uint> /* time of switch "enabled" param */ |
- | "extra_app":{<text>,...} /* list of allowed DNS's for apps */ | + | |
} | } | ||
</code> | </code> | ||
Line 64: | Line 63: | ||
"type":<int>, /* type: 1 - on demand; 2 - periodic */ | "type":<int>, /* type: 1 - on demand; 2 - periodic */ | ||
"usage":<uint>, /* count of used items of a type */ | "usage":<uint>, /* count of used items of a type */ | ||
- | "maxUsage":<uint> /* maximum allowed items of a type */ | + | "maxUsage":<int> /* maximum allowed items of a type */ |
"cost":<text>, /* cost table */ | "cost":<text>, /* cost table */ | ||
"interval":<int> /* reset interval: 0 - none, 1 - hourly, 2 - daily, 3 - weekly, 4 - monthly*/ | "interval":<int> /* reset interval: 0 - none, 1 - hourly, 2 - daily, 3 - weekly, 4 - monthly*/ |
|