Skip to content

Billing Total Cost

Operations Summary

Method Endpoint Description
GET /api/billing-total-cost/ List Billing Total Cost

List Billing Total Cost

1
2
3
4
http \
  GET \
  https://api.example.com/api/billing-total-cost/ \
  Authorization:"Token YOUR_API_TOKEN"
1
2
3
4
5
6
7
8
9
from waldur_api_client.client import AuthenticatedClient
from waldur_api_client.api.billing_total_cost import billing_total_cost_retrieve # (1)

client = AuthenticatedClient(
    base_url="https://api.example.com", token="YOUR_API_TOKEN"
)
response = billing_total_cost_retrieve.sync(client=client)

print(response)
  1. API Source: billing_total_cost_retrieve
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
import { billingTotalCostRetrieve } from 'waldur-js-client';

try {
  const response = await billingTotalCostRetrieve({
  auth: "Token YOUR_API_TOKEN"
});
  console.log('Success:', response);
} catch (error) {
  console.error('Error:', error);
}
Name Type
accounting_is_running boolean
customer_uuid string (uuid)
month integer
name string
year integer

200 -

Field Type
total number (double)
price number (double)