After applying an AML query, I have a response (structure with root and relation) How can I get properties from each level of the response? for example, I would like to get ID at different levels of the responses (Root and relationShip)
For first level..easy...with Item.getID();
But how to getProperty for relationShip (r02xx_i0203GPHead) linked ?
Index = 1
type="i0213_AfterSales" id="4EBE1FC05B62427582A9FBB1BED9BF36
type="r02xx_i0203GPHead" id="2B3F208CCD88407A97AA14BD3A1E29B9
Index = 2
type="i0213_AfterSales" id="DC2DCC728E534797BCF98CB00950F717
type="r02xx_i0203GPHead" id="1C88AEAFDDF641DC87ABB48777B3964B
Index = ...