Discussions
Describing IQAs via REST API with aliased property names?
over 5 years ago by Marco Falconi(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.