Refresh cost target history for specified dates.
GET/cost_target/:id/refresh_history/
Refreshes the planning history of a cost target between start_date and end_date. Returns success or error status based on date validity and cost target presence.
Request
Path Parameters
id integerrequired
A unique integer value identifying this cost target.
Query Parameters
start_date date
Start date for refresh (YYYY-MM-DD)
Example: 2024-01-01
end_date date
End date for refresh (YYYY-MM-DD)
Example: 2024-12-31
Responses
- 200
- 400
- 404
Successfully initiated refresh
- application/json
- Schema
- response
Schema
any
{
"status": "ok"
}
Invalid date format
Cost target not found
Loading...