Capacity investments

Update a capacity investment

Changed on
put/capacity_investments/{id}

Request

  • Base URL
    https://company.aha.io/api/v1
  • Auth
    • OAuth 2
      Authorization codehttps://{account-domain}.aha.io/oauth/authorize
      Token URLhttps://{account-domain}.aha.io/oauth/token
    • or HTTP bearer
    • or API key in cookie session
  • TypeScript
    A function with typed inputs. Its response is checked against the schema.

Path parameters

idstring required

Id identifier

Request body

Example request

{
  "capacity_investment": {
    "date_source": "manual_dates",
    "start_date": "2019-01-01",
    "end_date": "2019-01-01"
  }
}

Response

Successful operation

Example response

{
  "capacity_investment": {
    "id": "756888381",
    "capacity_scenario_id": "997808419",
    "total": null,
    "estimate_source": "manual_estimate",
    "date_source": "manual_dates",
    "start_date": "2019-01-01",
    "end_date": "2019-01-01",
    "initiative": {
      "id": "423077122",
      "name": "Initiative 1",
      "reference_num": "PRJ1-S-1",
      "created_at": "2019-01-01T00:00:00.000Z",
      "url": "https://company.aha.io/initiatives/PRJ1-S-1",
      "resource": "https://company.aha.io/api/v1/initiatives/PRJ1-S-1"
    },
    "estimate_values": [],
    "custom_fields": [
      {
        "id": "6776881149497736437",
        "key": "priority",
        "name": "Priority",
        "updatedAt": "2019-01-01T00:00:00Z",
        "type": "string",
        "value": "P3"
      }
    ]
  }
}

Changes