CoreBOSBB
How to get the webservice ID of a module - 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)
+--- Thread: How to get the webservice ID of a module (/showthread.php?tid=736)



How to get the webservice ID of a module - Guido1982 - 10-02-2017

If you want to get the webservice ID of a module, use the 'describe' method.You can find a PHP version of the library here. The method will give you an overview of the module, including the webservice ID.


RE: How to get the webservice ID of a module - joebordes - 10-02-2017

and if you are working from inside the application, in a workflow task, for example, you can use the:

PHP Code:
vtws_getEntityId($entityName); 


function like this:

PHP Code:
$accountWSID vtws_getEntityId('Accounts'); 



RE: How to get the webservice ID of a module - joebordes - 10-02-2017

You can find an example of the web service describe method in the coreBOS Webservice Development tool:

https://github.com/tsolucio/coreBOSwsDevelopment/blob/master/testcode/080lib_describe.php