This article provides the steps to generate a usage report programmatically using API calls to the VCF Business Services Portal.
VCF Usage Meter 9.x
In order to generate the reports, take SSH to the usage meter as Root.
curl --request POST \
--url https://<UM_URL>/api/v2/auth \
--header 'accept: application/json' \
--header 'authorization: Basic <BASE64 UM_USER:UM_PASS>'
curl -H 'Authorization: <value>' https://{api_host}/api/v1/usage-data/{year-month}