It's all about the answers!

Ask a question

Consuming JAZZ Team Server REST service with JSON as result


S M (8622023) | asked Nov 26 '11, 5:02 p.m.
I want to use the REST service to query all the work items. For that I send a GET request to the following URL:

https://localhost:9443/ccm/oslc/workitems/catalog

As header fields i set:

Accept, application/x-oslc-cm-change-request+json

But nevertheless the response is in XML format. So how can I get it in JSON?

One answer



permanent link
David Lafreniere (4.8k7) | answered Nov 27 '11, 10:38 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
I want to use the REST service to query all the work items. For that I send a GET request to the following URL:

https://localhost:9443/ccm/oslc/workitems/catalog

As header fields i set:

Accept, application/x-oslc-cm-change-request+json

But nevertheless the response is in XML format. So how can I get it in JSON?


Take a look at this link (if you have not done so already):

https://jazz.net/wiki/bin/view/Main/ResourceOrientedWorkItemAPIv2#Getting_Resource_Representations

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.