This input modifies how values are returned for the columns parameter.
Most columns will represent individual fields that are retrieved directly from the record being queried. However, in some cases you may want to name a related "object" as a column you wish to retrieve. These are referred to as association fields.
When resolveAssociationNames is set to true, the API will attempt to resolve any requested association fields and return a readable, display-friendly value for them. When set to false (or omitted), association fields will return null unless the record natively stores a value for that column.
Understanding association fields
This has useful roots stemming from Origami's intuitive UI, where data is often presented in tables that list default "columns" for a given record type. While these columns appear as simple fields in the UI/table, some of them are actually representations of related records.
For example, a Claim is associated with a Location. In tables, Location appears as a single column, but the Claim record itself does not store the Location’s descriptive information. Instead, it stores only a reference (such as LocationID) to the related Location record. The readable Location value shown in the UI (for example, LocationNumber - Name) is constructed from multiple fields on that related Location record.
Because these relationship-based values are surfaced as columns, it is reasonable for API consumers to request them as if they were simple fields. Association resolution exists to support this usage and return meaningful data rather than an empty value.
Behavior when association resolution is enabled
When resolveAssociationNames=true and a requested column is an association field:
The API interprets the request as an intent to retrieve the displayed value for the related/associated record.
The related record is looked up using the stored reference (for example, LocationID).
If the related record can be resolved, the API returns a readable string representation (such as LocationNumber - Name).
If the related record cannot be found, the value will remain null.
This mirrors how related values are displayed throughout Origami tables and reports.
Examples
Without association resolution
GET /api/Claim/Query?columns=IncidentID,LocationID,Location
Sample Reponse:
{
"IncidentID": 10752,
"LocationID": 22177,
"Location": null
}
With association resolution
GET /api/Claim/Query?columns=IncidentID,LocationID,Location&resolveAssociationNames=true
{
"IncidentID": 10752,
"LocationID": 22177,
"Location": "35 - Chicago"
}