Bitrix24 Community

Support » Forum » Marc Hurr
Select date in calendarSelect date in calendar

Pages: 1
API: crm.lead.list with Custom Fields, Getting Custom Fields with the crm.lead.list REST API method
Brilliant, thank you Alexey!

For anyone checking this later, the working URL was as follows:

[FONT="Courier New"][URL=http://YOURSUBDOMAIN.bitrix24.com/rest/crm.lead.list.json?auth=ACCESSTOKEN&select[]=*&select[]=UF_]http://YOURSUBDOMAIN.bitrix24.com/rest/crm.lead.list.json?auth=ACCESSTOKEN&select[]=*&select[]=UF_[/URL]*[/FONT]


This gets you all Lead fields including custom Lead fields, as custom fields start with "UF_" internally.  :)
API: crm.lead.list with Custom Fields, Getting Custom Fields with the crm.lead.list REST API method
Hi, I was able to use [FONT="Courier New"]crm.lead.list[/FONT] to fetch Leads, and [FONT="Courier New"]crm.lead.get[/FONT] to fetch a Lead with a specific ID with all the Custom Fields, but, I would like to use [FONT="Courier New"]crm.lead.list[/FONT] to fetch Leads with all the Custom Fields already. (or with the Custom Fields I specify).

Is this possible? Because otherwise I would have to use [FONT="Courier New"]crm.lead.list[/FONT], then do another API call with [FONT="Courier New"]crm.lead.get[/FONT] for each result, which is less convenient and also much slower (and more painful for your server!)...

Many thanks!
Pages: 1
3,000,000+
organizations
are already using Bitrix24