AnsweredAssumed Answered

Query multiple fields with get_entry_list

Question asked by Koncero Soft on May 7, 2015
Latest reply on May 8, 2015 by Rolustech Rolustech
Hi there,
I have been trying to retrieve multiple fields with get_entry_list, but I just receive id... 
Please help me out here........

<?xml version="1.0" encoding="utf-8"?><soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:soapenc="http://www.w3.org/2003/05/soap-encoding"; xmlns:tns="http://www.sugarcrm.com/sugarcrm"; xmlns:types="http://www.sugarcrm.com/sugarcrm/encodedTypes"; xmlns:rpc="http://www.w3.org/2003/05/soap-rpc"; xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">;
 <soap12:Body soap12:encodingStyle="http://www.w3.org/2003/05/soap-encoding">;
   <tns:get_entry_list>
     <session xsi:type="xsd:string">${SessionId}</session>
     <module_name xsi:type="xsd:string">Leads</module_name>
     <query xsi:type="xsd:string">leads.phone_mobile like'123456789'</query>
     <order_by xsi:type="xsd:string"></order_by>
     <offset xsi:type="xsd:int">0</offset>
     <select_fields soapenc:id="id0" soapenc:itemType="xsd:string" soapenc:arraySize="4">
       <Item  xsi:type="xsd:string">id</Item>
       <Item  xsi:type="xsd:string">first_name</Item>
       <Item  xsi:type="xsd:string">last_name</Item>
       <Item  xsi:type="xsd:string">status</Item> 
     </select_fields>
     <max_results xsi:type="xsd:int">1</max_results>
     <deleted xsi:type="xsd:int">0</deleted>
   </tns:get_entry_list>
 </soap12:Body>
</soap12:Envelope>

Outcomes