Capacity investments API
Create a capacity investment on an initiative
POST /api/v1/initiatives/:initiative_id/capacity_investments
Name | Description |
---|---|
initiative_id * | Numeric ID or key of the initiative |
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/initiatives/PL1-S-1/capacity_investments
Example CURL command
curl "https://company.aha.io/api/v1/initiatives/PL1-S-1/capacity_investments" -d '{"capacity_investment":{"start_date":"2019-01-01","end_date":"2019-01-01","date_source":"manual_dates","estimate_source":"epics"}}' -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