A tutorial is available
for each subprovider. Each tutorial illustrates some of the common
use cases for each Rational® product that uses
the Rational CM API. Common use cases include:
- For the Rational ClearQuest® subprovider:
- Create, modify, and delete a record (for example, create a defect
change request record type)
- Select an action and change a state
- Create a query, select a query and execute it; also, modify an
existing query and save it with a new name
- Create, modify, and delete field values in a record
- ClearCase® subprovider:
- Create, populate, and remove Web views (ClearCase Remote
Client (CCRC) or ClearCase Web views)
- Operate on elements within Web views (such as checkout, checkin,
and hijack operations)
- Navigate VOB-object hierarchies and inquire about properties of Rational ClearCase objects
For code examples, including the examples described in the CM API
tutorials, extract the contents of the samples archive
teamapi.zip and
look in the subdirectory
\plugins\com.ibm.rational.stp.teamapi\samples.
The
teamapi.zip archive is installed in the following
location, where RATIONAL_INSTALL represents the directory where the
Rational product files are installed:
%RATIONAL_INSTALL%\common\cm\teamapi.zip