09-18-2019, 08:30 AM
there are two ways to use web service. from outside corebos and from inside corebos
WSClient
outside means that it is a standalone application, you have to login to the webservice endpoint and use all the methods you need. this is a mobile app, a customer portal and similar applications that connect to corebos and use it as a database.
vtlib/Vtiger/Module.php
inside corebos means that you are programming inside the framework, you don't need to login because your script lives inside the corebos application, once you are inside you can use the web service methods normally without having to login (because you already are)
WSClient
outside means that it is a standalone application, you have to login to the webservice endpoint and use all the methods you need. this is a mobile app, a customer portal and similar applications that connect to corebos and use it as a database.
vtlib/Vtiger/Module.php
inside corebos means that you are programming inside the framework, you don't need to login because your script lives inside the corebos application, once you are inside you can use the web service methods normally without having to login (because you already are)
Joe
TSolucio
TSolucio