lookup field id

lookup field id

hello,
in the CRM i add a lookup field but when i read with API i have the value of the lookup field and not the ID behind this value. It's very blocking because when if i have severals times the same value, how can i make to know the good ID ????

By example. In my Zoho CRM in Contacts i have "Account Name" (created by Zoho ) and "Denonce par" (lookup created by me) and the API return me

Copy code
  1. <response uri="/crm/private/xml/Contacts/getRecords">
    <result>
    <Contacts>
    <row no="1">
    <FL val="CONTACTID"> 769051000000244015 </FL>
    <FL val="SMOWNERID"> 769051000000057001 </FL>
    <FL val="Contact Owner">
    <![CDATA[ XXXXX ]]>
    </FL>
    <FL val="Last Name">
    <![CDATA[ test ]]>
    </FL>
    <FL val="ACCOUNTID">769051000000125185</FL>
    <FL val="Account Name">
    <![CDATA[ BATIFIS SAS ]]>
    </FL>
    <FL val="Dénoncé par">
    <![CDATA[ 0STERBERGER ]]>
    </FL>
    </row>
    </Contacts>
    </result>
    </response>

thanks