Apache CloudStack 4.23.0.0 Root Admin API Reference

quotaBalance

Create Quota balance statements for the provided Accounts or Projects.

Request parameters

Parameter NameDescriptionRequired
accountName of the Account for which balance statements will be generated. Deprecated, please use 'accountid' instead.false
accountidID of the Account for which balance statements will be generated.false
domainidID of the domain which the Account identified by 'account' belongs to.Deprecated, please use 'accountid' instead.false
enddateDate 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
projectidID of the Project for which balance statements will be generated. Can not be specified with accountid.false
startdateDate 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 NameDescription
balanceBalance's value.
balancesList of balances in the period.
currencyBalance's currency.
dateBalance's date.