Partially update a cost target planning entry.
PATCH/c/cost_page/cost_target_planning/:id/
Allows updating specific fields in a cost target planning entry identified by its ID. Useful for modifying individual fields without a full payload, supporting updates to planning parameters or allocation details.
Request
Path Parameters
id integerrequired
A unique integer value identifying this cost target planning.
- application/json
Body
required
dimension_1 Dimension 1 (string)nullable
Possible values: <= 1024 characters
dimension_2 Dimension 2 (string)nullable
Possible values: <= 1024 characters
previous_month Previous month (number)nullable
avg_lookback Avg lookback (number)nullable
percent_growth Percent growth (number)nullable
percent_spend Percent spend (number)nullable
target_type Target type (string)
Possible values: [TOTAL, PLANNING_ITEM]
target_items Target items (string)nullable
cost_target Cost target (integer)nullable
Responses
- 200
- application/json
- Schema
- Example (from schema)
Schema
id ID (integer)
created date-time
modified date-time
dimension_1 Dimension 1 (string)nullable
Possible values: <= 1024 characters
dimension_2 Dimension 2 (string)nullable
Possible values: <= 1024 characters
previous_month Previous month (number)nullable
avg_lookback Avg lookback (number)nullable
percent_growth Percent growth (number)nullable
percent_spend Percent spend (number)nullable
target_type Target type (string)
Possible values: [TOTAL, PLANNING_ITEM]
target_items Target items (string)nullable
client Client (integer)
cost_target Cost target (integer)nullable
{
  "id": 0,
  "created": "2024-07-29T15:51:28.071Z",
  "modified": "2024-07-29T15:51:28.071Z",
  "dimension_1": "string",
  "dimension_2": "string",
  "previous_month": 0,
  "avg_lookback": 0,
  "percent_growth": 0,
  "percent_spend": 0,
  "target_type": "TOTAL",
  "target_items": "string",
  "client": 0,
  "cost_target": 0
}
Loading...