Guest
08 May 2013 16:48

Hi guys,

I wanted to know: Is there any possibility of filtering the records list obtained through API with a field value?

I mean, using the following statement:

$api = new CobaltApi();

$result = $api->records(...

Can I pass an argument to filter by a specific field value? Something similar as it happens with pre filtered links with filter_name and filter_val.

Thanks in advance,

Matias

Last Modified: 02 Mar 2014


Sackgesicht VIP
Total posts: 1,636
08 May 2013 17:36

I was looking into this some time ago as well and there was just recently a question from pepperstreet regarding filters in api call - see comments here


Guest
08 May 2013 17:55

Thanks Sackgesicht, I was familiar with that.

But I have a custom requirement where links don't solve my problem, so I was wondering if was any possibility of using directly in PHP through the API.

Thanks anyway!

Matias


Sergey
Total posts: 13,748
09 May 2013 06:20

unfortunately there is no way to affect that right no.

But in new release today i added new parameters one of those $ids. You can select record IDs you need from _js_res_record_values and use that array to show record list.

I also updated document

http://www.mintjoomla.com/community/knowledge/user-item/43-sergey/116-how-to-get-and-display-list-of-the-cobalt-records.html

Please wait till we release new version today and you can use it.

Powered by Cobalt