It's all about the answers!

Ask a question

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


Alexander Dawson (2542328) | asked Nov 08 '13, 8:08 a.m.

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

Accepted answer


permanent link
Paul Slauenwhite (8.4k12) | answered Nov 08 '13, 10:45 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
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

Comments
Alexander Dawson commented Nov 08 '13, 10:50 a.m.

Great, thanks for clearing it up.

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.