RTC workitem example for Rational Publishing Engine
One answer
You may refer https://teamgreenridge.wordpress.com/2011/05/27/reporting-in-rational-team-concert-3-via-rest-part-ii/
Normally in the document specification, for RTC Workitems schema you should set Data Source URI as https://server:port/ccm/rpt/repository/workitem
If you want to retrieve details of single WorkItem, you can use Data Source URI like https://server:port/ccm/rpt/repository/workitem/workItem/id/12345
Since data source schema type is set as REST, providing fields parameter is not required (as RPE calculates fields parameter based on the template).
If you want to generate document through RTC web UI, you should configure the template as mentioned in https://rpeactual.com/2015/12/18/configuring-rpe-template-to-generate-documents-from-rtc/
Note that in RPE 2.1 onwards, you can find OOTB templates for RTC in %rpe_home%\templates\RTC
Please let us know if you need a sample template along with document specification.
Normally in the document specification, for RTC Workitems schema you should set Data Source URI as https://server:port/ccm/rpt/repository/workitem
If you want to retrieve details of single WorkItem, you can use Data Source URI like https://server:port/ccm/rpt/repository/workitem/workItem/id/12345
Since data source schema type is set as REST, providing fields parameter is not required (as RPE calculates fields parameter based on the template).
If you want to generate document through RTC web UI, you should configure the template as mentioned in https://rpeactual.com/2015/12/18/configuring-rpe-template-to-generate-documents-from-rtc/
Note that in RPE 2.1 onwards, you can find OOTB templates for RTC in %rpe_home%\templates\RTC
Please let us know if you need a sample template along with document specification.