Upload cost target data in CSV format.
POST/cost_target/:id/upload_csv/
Allows uploading of CSV data for a specified cost target ID. Requires a payload formatted according to the CostTarget schema.
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
- 201
- 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
}