My client asked me how they could get a list of installed Toolkits without needing to paste through pages of UI.
<status>200</status>
- <data xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:sys="http://rest.bpm.ibm.com/v1/data/system" xsi:type="sys:ProcessApps">
- <processAppsList>
<ID>2066.1b351583-e5cb-43b7-baee-340a63130ea7</ID>
<shortName>TWSYS</shortName>
<name>System Data</name>
<description>Teamworks System Data</description>
<lastModifiedBy>tw_admin</lastModifiedBy>
<lastModified_on>2013-06-25T09:49:16Z</lastModified_on>
</processAppsList>
- <processAppsList>
<ID>2066.9715841f-b0f3-4e32-9db0-708f8bd3e93a</ID>
<shortName>PTK</shortName>
<name>Processes and Tasks</name>
<description>A toolkit for interfacing with the Javascript API for retrieval of generic information about Processes Instances and Tasks.</description>
<lastModifiedBy>tw_admin</lastModifiedBy>
<lastModified_on>2013-07-23T09:46:00Z</lastModified_on>
<defaultVersion>Main</defaultVersion>
</processAppsList>
- <processAppsList>
I checked the IBM BPM Information Center: -
specifically: -
which provides the following REST endpoint URL: -
/rest/bpm/wle/v1/toolkit
I tried this on one of our Process Center boxes: -
https://process-center.uk.ibm.com/rest/bpm/wle/v1/toolkit
and got back an XML document listing all of the toolkits: -
and got back an XML document listing all of the toolkits: -
…
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <bpm:ResponseData xmlns:bpm="http://rest.bpm.ibm.com/v1/data" xmlns:ex="http://rest.bpm.ibm.com/v1/data/exception"><status>200</status>
- <data xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:sys="http://rest.bpm.ibm.com/v1/data/system" xsi:type="sys:ProcessApps">
- <processAppsList>
<ID>2066.1b351583-e5cb-43b7-baee-340a63130ea7</ID>
<shortName>TWSYS</shortName>
<name>System Data</name>
<description>Teamworks System Data</description>
<lastModifiedBy>tw_admin</lastModifiedBy>
<lastModified_on>2013-06-25T09:49:16Z</lastModified_on>
</processAppsList>
- <processAppsList>
<ID>2066.9715841f-b0f3-4e32-9db0-708f8bd3e93a</ID>
<shortName>PTK</shortName>
<name>Processes and Tasks</name>
<description>A toolkit for interfacing with the Javascript API for retrieval of generic information about Processes Instances and Tasks.</description>
<lastModifiedBy>tw_admin</lastModifiedBy>
<lastModified_on>2013-07-23T09:46:00Z</lastModified_on>
<defaultVersion>Main</defaultVersion>
</processAppsList>
- <processAppsList>
...
which is useful.
which is useful.
:-)