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

Internal ID returned instead of external Slug ID

This is Regarding the RQM API.

I am currently creating a Test case from REST API In RQM.

In the response i normally get the slug_EXTERNAL ID of the created artifact instead of internal ID i.e. urn:com.ibm.rqm.testcase.INTERNL ID.
This adds extra step for my program to do GET on the Content-Location URL to fetch the actual ID of the Test Case.

Is there any option available to get the Internal ID in the Creation Response instead of External ID?

0 votes


Accepted answer

Permanent link

Hi Abhilash,


The PUT/POST request returns only the Slug ID. The internal ID can be retrieved by doing a GET on created resource.

Thanks,
Monika Rajput

ABHILASH MM selected this answer as the correct answer

1 vote

Comments

So there is no way we can get the internal ID Directly from PUT/POST Request (Creating Resource)?

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,952
× 7,507
× 1,337

Question asked: Feb 24 '21, 10:10 a.m.

Question was seen: 1,233 times

Last updated: Mar 04 '21, 4:47 a.m.

Confirmation Cancel Confirm