Capacity investments API
Create a Capacity Investment with custom fields
POST /api/v1/features/:feature_id/capacity_investments
Name | Description |
---|---|
feature_id * | Numeric ID or key of the feature |
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: |
estimate_source | The estimate source for the capacity investment, can be one of: |
capacity_scenario_id | Numeric ID of the capacity scenario |
Example request
POST /api/v1/features/PRJ1-1/capacity_investments
Example CURL command
curl "https://company.aha.io/api/v1/features/PRJ1-1/capacity_investments" -d '{"capacity_investment":{"start_date":"2019-01-01","end_date":"2019-01-01","date_source":"manual_dates","custom_fields":{"priority":"P3"}}}' -X POST \
-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