Capacity investments API

Update a capacity investment's custom fields

PUT /api/v1/capacity_investments/:id

Parameters
NameDescription
id *

Numeric ID of the capacity investment

start_date

The start date for the capacity investment in format YYYY-MM-DD

end_date

The end date for the capacity investment in format YYYY-MM-DD

date_source

The date source for the capacity investment, can be one of: manual_dates, capacity_plannable

estimate_source

The estimate source for the capacity investment, can be one of: manual_estimate, features, epics

Example request

PUT /api/v1/capacity_investments/756888381

Example CURL command

curl "https://company.aha.io/api/v1/capacity_investments/756888381" -d '{"capacity_investment":{"start_date":"2019-01-01","end_date":"2019-01-01","date_source":"manual_dates","custom_fields":{"priority":"P3"}}}' -X PUT \
	-H "Authorization: Bearer 15b60d42d4bc417284a246ced6877b0bf13fb4aca415f7b55f7006bc3694a8ab" \
	-H "Content-Type: application/json" \
	-H "Accept: application/json"

Request

authorization: Bearer 15b60d42d4bc417284a246ced6877b0bf13fb4aca415f7b55f7006bc3694a8ab
contentType: application/json
accept: application/json

Request body

Response

Status: 200 OK
contentType: application/json; charset=utf-8

Response body