It's all about the answers!

Ask a question

How to add an Approval record with a REST api


0
1
Stephen Rowles (13) | asked Feb 02 '16, 11:49 a.m.
 Hi,

I am using the OSLC REST api to get RTC work items in application/json format with the OSLC-Core-Version=2.0 header set.

I have work items that I would like to add an approval record to. It seems that OSLC does not support Approval records yet. How using a REST api can I make a call to add an approver, query existing approvals etc.

Thank you.

Comments
Geoffrey Clemm commented Feb 15 '16, 11:30 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

Anything you can do through the RTC web browser can be done through an HTTP API, but I believe modifying approvals is not an external API, in which case it wouldn't be documented and is subject to change.

One answer



permanent link
Donald Nong (14.4k314) | answered Feb 15 '16, 9:38 p.m.
By "REST API", do you mean the "reportable REST API"? I'm not aware of any capability of adding records for the CCM reportable REST API. As you have found out, the OSLC API does not support Approval either.
https://jazz.net/forum/questions/147416/is-there-a-way-to-query-rtc-approvals-via-the-oslc-rest-api
https://jazz.net/wiki/bin/view/Main/ReportsRESTAPI

Your answer


Register or to post your answer.