This topic is locked

Filtering Results in Rest API

3/22/2020 3:32:00 PM
PHPRunner General questions
S
sts098 author

I am playing with new REST API. I have enabled the rest API in one of my projects.
I can currently get a list of all records using action=list and a single record using action=view.
I would like to get a partial (or filtered) list. I attempted to include field=... but it is ignored. I tried with the key field (to see if one record would be returned) editid1=... on the list request, but it too is ignored.
Is there any way to accomplish this?
Thanks!

F
fahad225DevClub member 4/20/2020

Me too. I would like to see that kind of filter. I think it is not currently available. or if anyone knows please share with us.
Thanks.

fhumanes 4/23/2020

Hello:
I am also in the same situation. In addition, I have an open tiket in support for other functions that also give me problems.
For now, if the server does not give the filtering functionality, the only thing I can think of is to make (outside of the PHPRunner solution) the request for the data and load all or filtered, in a "temporary" table to have this functionality and for example the ordering, before presenting the data.
In short, I will present an example of how to do this, all integrated into PHPRunner (which is our "star" data presentation product).
Cheers,
fernando

Admin 4/23/2020

This is something that is not implemented yet but will be ready the next week.

S
sts098 author 4/23/2020



This is something that is not implemented yet but will be ready the next week.


Thank you! I am anxious to use it. If you need assistance testing, let me know.

fhumanes 4/25/2020



This is something that is not implemented yet but will be ready the next week.


Thank you

fhumanes 4/27/2020

Hello:
I have published an article explaining the functionality of the RESTful API, both client and server, that the same can help you.
Client: https://asprunner.com/forums/topic/27340-phprunner-app-client-restful-api/

Server: https://asprunner.com/forums/topic/27323-phprunner-app-with-restful-api/
Cheers,

fernando

F
fahad225DevClub member 4/28/2020



This is something that is not implemented yet but will be ready the next week.


THANKS SIR. I CAN'T WAIT TO SEE THIS.