Get monthly aggregated usages of rule enabled for consumer tenant.

GET {{baseUrl}}/aggregatedMonthlyConsumerUsage?month=<string>&year=<string>&provider=<string>&application=<string>&KPIName=<string>

Operator registers a KPI with UTS. Operator send the resource usage data of consumer to UTS. KPI contains the aggregation and unit conversion details which should be applied on received usages.

Aggregation is executed and calculated values are shown in response. This API endpoint can be used by consumer tenant to see the aggregated usage calculated for month on prorate basis.

Request Params

KeyDatatypeRequiredDescription
monthstring(Required) month for which usage requested
yearstring(Required) year
providerstring(Required) provider tenant Id
applicationstring(Required) application name registered on gateway
KPINamestring(Required) name of the KPI registered with UTS for application

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{&quot;consumer&quot;:&quot;bmw&quot;,&quot;value&quot;:20,&quot;provider&quot;:&quot;provider&quot;,&quot;application&quot;:&quot;assetmonitor&quot;,&quot;applicationDisplayName&quot;:&quot;Asset Monitor&quot;,&quot;KPIName&quot;:&quot;asset-count&quot;,&quot;KPIDisplayName&quot;:&quot;asset count&quot;,&quot;aggregationUntilDate&quot;:&quot;2011-07-14&quot;,&quot;year&quot;:&quot;2021&quot;,&quot;month&quot;:&quot;january&quot;,&quot;aggragationFunction&quot;:{&quot;aggregationFunctionDaily&quot;:&quot;SUM&quot;,&quot;aggregationFunctionMonthly&quot;:&quot;SUM&quot;,&quot;preFill&quot;:&quot;ZERO&quot;}}