Idea votes

Create a proxy vote

"Idea votes" in the web interface are referenced as "idea endorsements" from API endpoints.

post/ideas/{idea_id}/endorsements

Request

Path parameters

idea_idstring required

IdeaId identifier

Request body

Example request

{
  "idea_endorsement": {
    "value": 123.45
  }
}

Response

Successful operation

Example response

{
  "idea_endorsement": {
    "id": "6776881149490277785",
    "idea_id": "140490859",
    "created_at": "2019-01-01T00:00:00.000Z",
    "updated_at": "2019-01-01T00:00:00.000Z",
    "value": null,
    "link": null,
    "weight": 1,
    "endorsed_by_portal_user": {
      "id": "6776881149497726716",
      "name": "no-reply@aha.io",
      "email": "no-reply@aha.io",
      "created_at": "2019-01-01T00:00:00.000Z"
    },
    "endorsed_by_idea_user": {
      "id": "6776881149497315738",
      "name": "no-reply@aha.io",
      "email": "no-reply@aha.io",
      "created_at": "2019-01-01T00:00:00.000Z",
      "title": null
    },
    "description": null,
    "integration_fields": [],
    "custom_fields": [],
    "idea": {
      "id": "140490859",
      "name": "Some idea name 3",
      "reference_num": "PRJ1-I-8",
      "created_at": "2019-01-01T00:00:00.000Z",
      "updated_at": "2019-01-01T00:00:00.000Z",
      "workflow_status": {
        "id": "3259216",
        "name": "New",
        "position": 1,
        "complete": false,
        "color": "#dce7c6",
        "workflow_status_category": null
      },
      "description": null,
      "url": "https://company.aha.io/ideas/ideas/PRJ1-I-8",
      "resource": "https://company.aha.io/api/v1/ideas/PRJ1-I-8"
    }
  }
}

Changes

No recorded changes to this operation across all 2 revisions of this API.