CoreBOSBB
Webservices : missing methods - Printable Version

+- CoreBOSBB (https://discussions.corebos.org)
+-- Forum: Development (https://discussions.corebos.org/forumdisplay.php?fid=18)
+--- Forum: coreBOS Development (https://discussions.corebos.org/forumdisplay.php?fid=4)
+---- Forum: coreBOS (https://discussions.corebos.org/forumdisplay.php?fid=5)
+---- Thread: Webservices : missing methods (/showthread.php?tid=254)



Webservices : missing methods - saidmsl - 03-31-2016

Hi

starting to play with webservices to create an independant interface 
so far , i was able to create the list view with columns labels, and related to names
but i had to check field by field 

i'm trying to duplicate the listview windows and notice methods missing

- how to get the list of all filters of a modules
- how to get the details of a filter : list of columns, conditions block
- how to get the query 

it's like rewriting the Customview.php file

what suggestions/ ideas ?

Rgds


RE: Webservices : missing methods - joebordes - 03-31-2016

There is only support for the default filter of the connected user in each module via the GetFilterFields method:

https://github.com/tsolucio/coreBOSwsDevelopment/blob/master/testcode/320_GetFilterFields.php

From the list of fields you have to setup the query.
The conditions of the filter are not sent, this is supposed to be simply a way for the administrator to define which fields he wants to see in the webservice view, all other conditions must be manged in the client.