Operations Management/Billing Management Operations
GETBilling Management OperationsSince 3.7.0SynchronousAuth Required
QueryAccountBilling
QueryAccountBilling
Execution Availability
Try It Out
Submit a mock request using the current auth context and example-driven inputs.
Request Inputs
This API requires no request parameters.
Responses
Endpoint
GET/zstack/v1/billing/billings
/zstack/v1/billing/billings
Request Example
curl -X GET 'http://{host}/zstack/v1/billing/billings' -H 'Authorization: OAuth {sessionUuid}'
Response Example
200{ "inventories": [ { "id": 1.0, "billingType": "DataVolume", "accountUuid": "9d0795db99e93ed49f8bc433dd54cf0e", "resourceUuid": "5fd7d24b821139eeaec591fc351ffd51", "spending": 100.0, "startTime": 1.559017175886E12, "endTime": 1.559017375886E12, "hypervisorType": "kvm", "createDate": "Nov 14, 2017 10:20:57 PM", "lastOpDate": "Nov 14, 2017 10:20:57 PM" } ] }Change History
This API has no change history records yet.
