Create proxy vote
POST /api/v3/idea_endorsements
The request and response builder is not available for this endpoint. See the OpenAPI specification for complete parameters and schemas.
Request fields
Send fields for the new record inside a JSON record object.
Only writable fields for this endpoint are listed. Required flags reflect the endpoint schema; record and workspace validation also applies.
| Field | Type | Response field |
|---|---|---|
ID of the idea associated with the idea endorsement. | string | idea |
Submit Example field fragment (replace placeholder values and include any other required fields): | ||
Number of votes the idea endorsement counts for. Defaults to 1. | integer | weight |
Example field fragment (replace placeholder values and include any other required fields): | ||
Value of the idea endorsement. | integer | value |
Example field fragment (replace placeholder values and include any other required fields): | ||
Source URL associated with the idea endorsement, such as an opportunity URL. | string | source_url |
Example field fragment (replace placeholder values and include any other required fields): | ||
HTML description of the record. | string | description |
Example field fragment (replace placeholder values and include any other required fields): | ||
ID of the organization the idea endorsement is on behalf of. setting it makes the idea endorsement a proxy vote. | string | idea_organization |
Submit Example field fragment (replace placeholder values and include any other required fields): | ||
ID or reference number of the contributor. Supply with contributor_type; set both to null to clear the association. | string | null | contributor |
Submit Example field fragment (replace placeholder values and include any other required fields): | ||
Record type of the contributor, as returned by contributor.type. Supply with contributor_id. | string | null | contributor |
Allowed values: Submit Example field fragment (replace placeholder values and include any other required fields): | ||
Contacts (idea users) at the organization the proxy vote is on behalf of. Items are merged into the existing collection: each item adds a record, or removes it with `_destroy: true`. Records not listed are left unchanged, and an empty array changes nothing. | array | idea_users |
See the request schema in the OpenAPI specification for supported array item shapes. Example field fragment (replace placeholder values and include any other required fields): | ||
Custom field values to set. Property names are custom field definition keys, and each value is one of the supported input formats below, depending on the field type. Attachment fields are read-only and can't be set. | object | custom_fields |
Use your account’s custom field API keys and values matching each field’s type. Example field fragment (replace placeholder values and include any other required fields): | ||
Response fields
Choose which fields to include in the response. Expand a field for examples and associated fields. Collections can only be returned on the top-level resource, not inside an associated resource.
| Field | Type | Returned by default |
|---|---|---|
Unique record ID. | integer | Yes |
Return this field: | ||
URL to view the record in Aha! | string | Yes |
Return this field: | ||
API URL for the record. | string | Yes |
Return this field: | ||
Date and time when the record was created. | date-time | No |
Return this field: | ||
Date and time when the record was last updated. | date-time | No |
Return this field: | ||
Number of votes the idea endorsement counts for. Defaults to 1. | integer | No |
Return this field: | ||
Value of the idea endorsement. | integer | No |
Return this field: | ||
Source URL associated with the idea endorsement, such as an opportunity URL. | string | No |
Return this field: | ||
HTML description of the record. | Note | No |
Return this field: Expand this association to browse its response fields. Select subfields with | ||
Idea associated with the idea endorsement. | Idea | No |
Return this field: Expand this association to browse its response fields. Select subfields with | ||
Organization the idea endorsement is on behalf of. Setting it makes the idea endorsement a proxy vote. | IdeaOrganization | No |
Return this field: Expand this association to browse its response fields. Select subfields with | ||
Who the idea endorsement is from. Can only be set on create; defaults to the API user. | IdeaContributor | No |
Return this field: Expand this association to browse its response fields. Select subfields with | ||
Contacts (idea users) at the organization the proxy vote is on behalf of. Omitted by default. Request the field for inline records with default sub-fields, or choose sub-fields (e.g., ?fields=idea_users[default]). Capped at 25 records. Only available on the top-level resource. | Collection | No |
Return this field: Expand this association to browse its response fields. Select subfields with | ||
Custom field values. Property names are custom field definition keys, and each value is one of the supported formats below, depending on the field type. Omitted unless requested with the fields parameter or submitted in the request. Fields with no stored value are omitted. | object | No |
Return this field: Custom field keys depend on your account. Request | ||
Search matches the start of a field path and includes matching associations’ subfields. Use a dotted path to search within a specific association.
Response field selection
Create and update responses also include fields submitted in the record body. Submitted association IDs return their associated response fields.
Return selected fields with a comma-separated fields parameter, or add a field to the defaults with fields=default,{field}. Expand an association above for its supported subfields and selection examples.
See field selection for details.