These docs are for v20.3.44. Click to read the latest docs for v20.3.186.

Discussions

Ask a Question
Back to All

Describing IQAs via REST API with aliased property names?

(edited)

Is there a way to get the definition of an IQA that includes the aliased Property Names?
Calling /api/QueryDefinition/_execute with OperationName = "FindByPath" returns values like:
{
"$type": "Asi.Soa.Core.DataContracts.QueryPropertyData, Asi.Contracts",
"QuerySourceId": "063b404c-460c-420a-b67d-878fe4ffaff8.SR2",
"Name": "063b404c-460c-420a-b67d-878fe4ffaff8.CL29",
"Caption": "NetContactData.Id",
"DisplayFormat": "G",
"Link": "",
"DataTypeName": "String"
}
But that property is aliased as "PartyId" and will come back as such when the IQA is called via the API, making it harder to use the IQA as an abstraction layer of defined model but flexible data source.