Bitrix24 Community

Support » Forum » Marketplace » REST API example on how to do a wildcard search
Pages: 1
REST API example on how to do a wildcard search, Need a REST API example on how to do a wildcard search for finding contacts in the CRM
From an external system I want to use the to search for contacts by the first and last name.  Where can I get an example on how to do this, both url encoded and pre-url encoded?

Here is a url encoded filter call that works to find the Last Name of 'Smith':

The filter information un-encoded appears to be this:

I need to do something like find all contacts that match by wildcard, as in find first and last names that have 'sm' in them.  I've tried it with * as the wildcard but it doesn't work:

Edited: Steve Kinyon - 01/09/2016 03:57:11
Hi Steve,

Please see the REST API help or contact one of our certified partners to help.


Thank you but I have been referring to the REST API.  Here is the page:

This is the only example and it is using the Javascript Library. The Javascript Library doesn't appear to support usage in external systems.

This is the call I'm modeled the REST API call from:

               filter: { "PHONE": "555888" },
               select: [ "ID", "NAME", "LAST_NAME" ]

You can see in my first post that I've done the translation to make the API work despite the lack of documentation, but I need to know more about the 'filter:' argument.

There appears to be no documentation around 'filter:'.  I noticed some list calls have date examples using <>= but nothing on searching text.

A working example like I've asked for above would help a lot.  A full list of 'filter:' arguments with the REST API & Javascript examples would be best.


Steve Kinyon
Edited: Steve Kinyon - 01/11/2016 19:52:18
Please submit a ticket to our Helpdesk with these details, thanks.


Pages: 1
are already using Bitrix24