Apache CloudStack 4.23.0.0 Root Admin API Reference
quotaBalance
Create Quota balance statements for the provided Accounts or Projects.
Request parameters
| Parameter Name | Description | Required |
| account | Name of the Account for which balance statements will be generated. Deprecated, please use 'accountid' instead. | false |
| accountid | ID of the Account for which balance statements will be generated. | false |
| domainid | ID of the domain which the Account identified by 'account' belongs to.Deprecated, please use 'accountid' instead. | false |
| enddate | Date of the last Quota balance to be returned. Must be informed together with the startdate parameter, and can not be before startdate. The recommended format is "yyyy-MM-dd'T'HH:mm:ssZ" (e.g.: "2023-01-01T12:00:00+0100"); however, the following formats are also accepted: "yyyy-MM-dd HH:mm:ss" (e.g.: "2023-01-01 12:00:00") and "yyyy-MM-dd" (e.g.: "2023-01-01" - if the time is not added, it will be interpreted as "23:59:59"). If the recommended format is not used, the date will be considered in the server timezone. | false |
| projectid | ID of the Project for which balance statements will be generated. Can not be specified with accountid. | false |
| startdate | Date of the first Quota balance to be returned. Must be before today. The recommended format is "yyyy-MM-dd'T'HH:mm:ssZ" (e.g.: "2023-01-01T12:00:00+0100"); however, the following formats are also accepted: "yyyy-MM-dd HH:mm:ss" (e.g.: "2023-01-01 12:00:00") and "yyyy-MM-dd" (e.g.: "2023-01-01" - if the time is not added, it will be interpreted as "00:00:00"). If the recommended format is not used, the date will be considered in the server timezone. | false |
Response Tags
| Response Name | Description |
| balance | Balance's value. |
| balances | List of balances in the period. |
| currency | Balance's currency. |
| date | Balance's date. |