CoreBOSBB
Webservices : missing methods - Printable Version

+- CoreBOSBB (https://discussions.corebos.org)
+-- Forum: Development (https://discussions.corebos.org/forum-18.html)
+--- Forum: coreBOS Development (https://discussions.corebos.org/forum-4.html)
+---- Forum: coreBOS (https://discussions.corebos.org/forum-5.html)
+---- Thread: Webservices : missing methods (/thread-254.html)



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.