Idea votes
Create a proxy vote
Changed on"Idea votes" in the web interface are referenced as "idea endorsements" from API endpoints.
post/ideas/{idea_id}/endorsements
Request
- Base URLhttps://company.aha.io/api/v1
- Auth
- OAuth 2Authorization codehttps://{account-domain}.aha.io/oauth/authorizeToken URLhttps://{account-domain}.aha.io/oauth/token
- or HTTP bearer
- or API key in cookie session
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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
- breaking
the response property
///became nullable for the status - breaking
the
///response's property type changed fromobjecttonullfor status - warning
removed the optional property
////from the response with the status - warning
removed the optional property
////from the response with the status
- breaking
- info
added the optional property
///to the response with the status
- info