[Catalyst] complex search using Catalyst::Controller::DBIC::API::REST

2017-02-28 Thread Rajesh Kumar Mallah
Hi , In continuation of previous query kindly guide how to do a anchored or unanchored ilike search using Catalyst::Controller::DBIC::API::REST I have used DBIC search with lots of search conditions in past that uses SQL::Abstract, at this moment I need a guide(document) on how to convert

Re: [Catalyst] usage / example for Catalyst::Controller::DBIC::API::REST

2017-02-28 Thread Rajesh Kumar Mallah
Dear Dimitar/List , indeed the example 1 below was correct. The confusion resulted form multiple mistakes in my observations and actions. Sorry for the noise. Now my primary concern is sorted out. Regds mallah. > There are a couple of ways around that. > > 1. Search for that record id,

Re: [Catalyst] usage / example for Catalyst::Controller::DBIC::API::REST

2017-02-28 Thread Rajesh Kumar Mallah
Now Looking into the test scripts that came with the distribution. Hope to find the solution. > > Firstly thanks for the quick reply, > > > http://10.100.102.38:3000/api/rest/general/members/368 > does respond with single record. > > { > "data": { > "group_id": null, > "pan1": null,

Re: [Catalyst] Asynch webservices with catalyst

2017-02-28 Thread Dmitry L.
Here John show some example https://github.com/jjn1056/Perl-Catalyst-AsyncExample But I think Catalyst is not the best tool to make async apps On 28 February 2017 at 13:06, Aaron Trevena wrote: > Hi all, > > I know that catalyst provides some basic support for sending

Re: [Catalyst] usage / example for Catalyst::Controller::DBIC::API::REST

2017-02-28 Thread Rajesh Kumar Mallah
Firstly thanks for the quick reply, http://10.100.102.38:3000/api/rest/general/members/368 does respond with single record. { "data": { "group_id": null, "pan1": null, "mobile2": null, "pan2": null, "pa_city": null, "email": null, "membership_no": null,

Re: [Catalyst] usage / example for Catalyst::Controller::DBIC::API::REST

2017-02-28 Thread Dimitar Petrov
There are a couple of ways around that. 1. Search for that record id, for example: http://10.100.102.38:3000/api/rest/general/members?limit=3_returns=holder1_returns=member_id_id=368 2. If it's a primary key or a unique key, you can easily fetch it:

[Catalyst] usage / example for Catalyst::Controller::DBIC::API::REST

2017-02-28 Thread Rajesh Kumar Mallah
I am trying to use Catalyst::Controller::DBIC::API::REST to feed jtable with JSON Eg : the request http://10.100.102.38:3000/api/rest/general/members?limit=3_returns=holder1_returns=member_id Leads to response: { "Records": [ { "member_id": 366, "holder1": "Jinesh"

Re: [Catalyst] Asynch webservices with catalyst

2017-02-28 Thread Rajesh Kumar Mallah
Have you gone through , http://stackoverflow.com/questions/25277158/run-asynchronous-methods-in-catalyst-perl could you elaborate a bit on the real problem? Regds Mallah. > Hi all, > > I know that catalyst provides some basic support for sending asynch > responses to clients but the

[Catalyst] Asynch webservices with catalyst

2017-02-28 Thread Aaron Trevena
Hi all, I know that catalyst provides some basic support for sending asynch responses to clients but the examples & documentation are a bit thin on the ground. I was wondering if anybody has had much success with async catalyst request/responses and in particular for webservices. Cheers, A --