Custom table record links
Create a custom table record link associated with an organization
Changed onResources that can be linked to records from a custom table (called custom objects in the API) can be manipulated in a bulk ID-list format. To use custom table record links you must first add a many-to-many custom field definition to the resource. When you pass the IDs of custom table records to link to the feature, the existing list of links will be replaced.
Examples of linking custom objects to resources with a many-to-many customer field:
- Products
- Releases
- Features
- Ideas
- Initiatives
- Goals
- Organizations
Custom tables are an Enterprise+ exclusive feature.
put/idea_organizations/{id}
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
idstring required
Id identifier
Request body
Example request
{
"requirement": {
"custom_object_links": {
"customers": [
"640362830"
]
}
}
}Response
Successful operation
Example response
{
"idea_organization": {
"id": "138732915",
"name": "Acme",
"created_at": "2019-01-01T00:00:00.000Z",
"url": "https://company.aha.io/ideas/idea_organizations/ACCOUNT-O-123",
"updated_at": "2019-01-01T00:00:00.000Z",
"reference_num": "ACCOUNT-O-123",
"description": null,
"endorsements_count": 2,
"email_domains": "",
"revenue": null,
"custom_fields": [
{
"id": "6776881149493996495",
"key": "industry",
"name": "Industry",
"updatedAt": "2019-01-01T00:00:00Z",
"type": "string",
"value": "retail"
},
{
"id": 957991743,
"key": "org_equation_field",
"name": "Org equation field",
"updatedAt": "2019-01-01T00:00:00Z",
"type": "equation_sheet",
"value": {
"values": {
"test": {
"value": 10,
"name": "a",
"display_value": "10.0",
"raw_display_value": "10.0"
}
}
}
}
],
"integration_fields": []
}
}Changes
- warning
removed the request property
- info
api tag
Custom table record linksadded - info
api tag
Idea organizationsremoved - info
added the new optional request property
- warning
- info
endpoint added
- info