Contract Pricing

Replace an assumption

Changed on

Replaces the content of an assumption (value, rule, scope, period, note) under the same validation as creating one.

put/v1/price-baseline/assumptions/{id}

Request

  • Base URL
    https://api.talonic.com
  • Auth
    HTTP bearer

Path parameters

id, string uuid required

Request body

PriceBaselineAssumptionInput required
contract_key, string nullable

The contract it applies to; null or absent applies to every contract of the workspace.

target_kind, 'series' | 'variable' | 'quantity' | 'profile' required

What the assumption stands in for: an index series, a contract value (by variable name), a price's billing quantity (by component key), or how annual energy spreads over the months (profile, target energy).

target, string required

Series key, variable name or component key; * is a workspace default for every series.

period_from, string nullable
period_to, string nullable
rule, 'value' | 'carry_forward' | 'proxy' required

value this number; carry_forward the last real value before the period; proxy another series' value times params.factor.

value, number nullable
unit, string nullable
params, object
note, string nullable

Why the assumption is made.

Response

The updated assumption.

PriceBaselineAssumptionRecord required
object
customer_id, string uuid
active, boolean
created_at, string date-time
updated_at, string date-time

Changes