Creating reservation using RQM rest API
Hi,
I am desperately trying to create reservation using RQM REST API I am using HTTP POST request I first call java -jar RQMUrlUtility.jar -command GET -user USER -password PASSWORD -url 'https://localhost:9443/jazz/service/com.ibm.rqm.integration.service.II ntegrationService/resources/MY+Lab/reservation/RS22' -filepath reserv.xml and receive the following xml
The I try to invoke java -jar RQMUrlUtility.jar -command POST -user rqmadmin -password rqm4ibm -url 'https://localhost:9443/jazz/service/com.ibm.rqm.integration.service.II ntegrationService/resources/MY+Lab/reservation' -filepath reserv.xml I get Response code: 415 I tried to remove the identifier and the visibleId from xml and this doesn't work Trying put returns Response code: 500 How can I post reservation ? To what url should I post it and what elements should I include in the xml |
One answer
Hi, You have to use the external ID (see https://jazz.net/wiki/bin/view/Main/RqmApi#Types_of_IDs_in_RQM) in the labresource URL (see http://jazz.net/projects/rational-quality-manager/api-doc-2.0/api-files/schemas/qm_xsd/elements/reservation.html#r3). That said, this appears to be a defect (see https://jazz.net/jazz02/resource/itemName/com.ibm.team.workitem.WorkItem/51659). |
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.