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

RQM REST API resource updates: Is it possible to update a resource to have an External ID once it was created with an Internal ID

I have a series of resources that were created from with RQM.  They were assigned an internal ID such as:

https://rqm.example.com:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/RQM Project/categoryType/urn:com.ibm.rqm:categoryType:_yLhDZIfyEeGlrf_EYsdhoA

My understanding is that resources can have an Internal ID such as the automatically generated value above, a user specified External ID, (or a UUID which wee don't need)

Is it possible to update a resource such as that above and update it include an External ID too?  We're trying not to delete and create  a new record.

So both the URL above and a url such as:

https://rqm.example.com:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/RQM Project/categoryType/OURCATEGORYID_123  

would map to the same resource

0 votes


Accepted answer

Permanent link
If the resource was created with a PUT request using an external ID, it can be referenced by either the internal or external ID.  If the resource was created with a POST/PUT request without an ID, it can only be referenced by the internal/generated IDs.  For more information, see https://jazz.net/wiki/bin/view/Main/RqmApi#id.

Unfortunately, the resource ID is inimitable.
Alexander Dawson selected this answer as the correct answer

0 votes

Comments

Great, thanks for clearing it up.

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
× 10,937
× 479

Question asked: Nov 08 '13, 8:08 a.m.

Question was seen: 5,814 times

Last updated: Nov 08 '13, 10:50 a.m.

Confirmation Cancel Confirm