Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Consuming JAZZ Team Server REST service with JSON as result

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?

0 votes



One answer

Permanent link
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

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Nov 26 '11, 5:02 p.m.

Question was seen: 3,803 times

Last updated: Nov 26 '11, 5:02 p.m.

Confirmation Cancel Confirm