Update a specific cost target.
PUT/c/cost_page/cost_target/:id/
Updates all fields of a specific cost target entry identified by its ID. Requires a complete data payload following the CostTarget schema, replacing the target’s details with the new values provided.
Request
Path Parameters
A unique integer value identifying this cost target.
- application/json
Body
required
Possible values: >= -2147483648 and <= 2147483647
Possible values: <= 255 characters
Possible values: <= 255 characters
Possible values: [MONTHLY, QUARTERLY, ANNUALLY]
Possible values: [DRAFT, ACTIVE, DELETED]
Possible values: >= -2147483648 and <= 2147483647
Possible values: >= -2147483648 and <= 2147483647
Possible values: [BOTTOM_UP, TOP_DOWN]
Possible values: [AVERAGE_MONTHLY_LOOK_BACK, PREVIOUS_MONTH]
Responses
- 200
- application/json
- Schema
- Example (from schema)
Schema
Possible values: >= -2147483648 and <= 2147483647
Possible values: <= 255 characters
Possible values: <= 255 characters
Possible values: [MONTHLY, QUARTERLY, ANNUALLY]
Possible values: [DRAFT, ACTIVE, DELETED]
Possible values: >= -2147483648 and <= 2147483647
Possible values: >= -2147483648 and <= 2147483647
Possible values: [BOTTOM_UP, TOP_DOWN]
Possible values: [AVERAGE_MONTHLY_LOOK_BACK, PREVIOUS_MONTH]
{
  "id": 0,
  "created": "2024-07-29T15:51:28.071Z",
  "modified": "2024-07-29T15:51:28.071Z",
  "report_id": 0,
  "name": "string",
  "target_type": "string",
  "period": "MONTHLY",
  "status": "DRAFT",
  "number_of_periods": 0,
  "start_date": "2024-07-29",
  "end_date": "2024-07-29",
  "look_back_period": 0,
  "budget_type": "BOTTOM_UP",
  "starting_value": "AVERAGE_MONTHLY_LOOK_BACK",
  "growth_rate": 0,
  "normalization_period": true,
  "client": 0,
  "created_by": 0
}