It's all about the answers!

Ask a question

How to determine if there is an error condition returned from RTC work item Reportable REST API?

Michael Taylor (8865764) | asked Sep 23 '13, 2:43 p.m.

We are using the following:

   Authenticate: https://localhost:9443/jts/authenticated/j_security_check?j_username=<username>&j_password=<password>

   Retrieve data: ...server:port/ccm/rpt/repository/workitem?fields=workitem/workItem...

  1. How is it determined if there is a non-successful condition encountered with either of these? 
  2. How is a successful return determined? 
  3. How would one determine the difference between no data found and some kind of error condition?

   The following do not seem to shed any light on return or error codes, etc.:

Michael Taylor commented Sep 24 '13, 11:14 a.m.

Can anyone shed light on this?  Thanks in advance.

One answer

permanent link
Rafik Jaouani (5.0k16) | answered Sep 25 '13, 9:44 a.m.
Michael, why do you care about the reurn codes? theoretically all you should care about is a successful call. Any thing else is probably due to some syntax error in the URL that you should fix. What client are you using to compose these URLs? RPE?

Your answer

Register or to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.