# Tips of the Day 27 - Jan - 2023
Get Converted Record Data inside the zoho crm the API Call
resvp = zoho.crm.getRecordById("Leads", 5388660000014454001,{"converted": "both"});
info resvp;
Get data by search Record API
search = zoho.crm.searchRecords("Leads", "((Last_Name:equals:Jacob))", 1,200,{"converted":"both"});
info search;
By default converted Leads will not be fetched in the GetRecordbyId task, in order to fetch converted leads you need to pass additional parameter "converted" with value as "both" so both converted and leads that are not converted can be fetched.
Default value is false.
Possible values: true - get only converted records
false - get only non-converted records
both - get all records.
if you face any kind of issue please do comment.
Thanks & Regards
Piyush Goyal
Zoho Developer || Dotsquares
+91-8619164837