Create a meter value calculation
Authentication
X-API-KEYstring
API Key authentication via header
OR
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
version
version
Headers
x-platform-id
Platform ID.
Request
This endpoint expects an object.
reference
calculation_type
The type of calculation used for this billable metric.
Allowed values:
meter_id
The ID of the meter.
name
description
persist
Indicate if the data of the billable metric must be persisted to the next billing period of the schedule (default is false).
meter
meter_value_id
The ID of the meter value.
meter_value
meter_property_id
The ID of the meter property.
meter_property
Response
Created
object_type
id
reference
name
description
calculation_type
The type of calculation used for this billable metric.
Allowed values:
persist
Indicate if the data of the billable metric must be persisted to the next billing period of the schedule (default is false).
meter_id
The ID of the meter.
meter
meter_value_id
The ID of the meter value.
meter_value
meter_property_id
The ID of the meter property.
meter_property
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
409
Conflict Error
500
Internal Server Error