Capacity investments API

Update a capacity investment

PUT/api/v1/capacity_investments/:id

Parameters
NameDescription
id *

Numeric ID of the capacity investment

start_date

The start date for the capacity investment

end_date

The end date for the capacity investment

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":{"date_source":"manual_dates","start_date":"2019-01-01","end_date":"2019-01-01"}}' -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

© 2020 Aha! Labs Inc.All rights reserved