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

Custom Lab Resource Properties via the RQM API

Hi,

I am attempting to interface with the RQM REST API to create, read, and update lab resource data. I am able to do this with the default lab resource fields but also have custom fields that I need to leverage. I saw in a post from about a year ago that this was not supported.
https://jazz.net/forums/viewtopic.php?t=9973&sid=de5708408cd0f59f204e3a62b6f95bbf

Could anyone verify if custom lab resource data is supported by the REST API in version 3?

Thanks

0 votes



3 answers

Permanent link
Hello,
Please refer to: https://jazz.net/wiki/bin/view/Main/RqmApi#The_Lab_Resource_Catalog
and
https://jazz.net/projects/rational-quality-manager/api-doc-2.0/api-files/schemas/qm_xsd/elements/catalog.html

The "Lab Resource Attribute" API has been deprecated, but the Catalog represents the overall list of machine attributes (all of them) for a given project area. This should get you what you need.

Good luck!

0 votes


Permanent link
Thanks for the reply. This seems to be in the right direction of what I'm looking for, but I can't seem to determine how to relate the values of the attributes listed in the catalog with a specific instance of a machine. Is there a way to do this?

Hello,
Please refer to: https://jazz.net/wiki/bin/view/Main/RqmApi#The_Lab_Resource_Catalog
and
https://jazz.net/projects/rational-quality-manager/api-doc-2.0/api-files/schemas/qm_xsd/elements/catalog.html

The "Lab Resource Attribute" API has been deprecated, but the Catalog represents the overall list of machine attributes (all of them) for a given project area. This should get you what you need.

Good luck!

0 votes


Permanent link
Thanks for the reply. This seems to be in the right direction of what I'm looking for, but I can't seem to determine how to relate the values of the attributes listed in the catalog with a specific instance of a machine. Is there a way to do this?

Hello,
Please refer to: https://jazz.net/wiki/bin/view/Main/RqmApi#The_Lab_Resource_Catalog
and
https://jazz.net/projects/rational-quality-manager/api-doc-2.0/api-files/schemas/qm_xsd/elements/catalog.html

The "Lab Resource Attribute" API has been deprecated, but the Catalog represents the overall list of machine attributes (all of them) for a given project area. This should get you what you need.

Good luck!


Hi David,

If you are trying to set the value of a custom attribute on and instance of a lab resource, there is currently no way to do this via the API. As John indicated above, the catalog API can be used to define new attributes, but there is no way to GET/PUT these attributes on a specific instance.

Best Regards,

Rob

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: Jul 08 '11, 12:45 p.m.

Question was seen: 7,778 times

Last updated: Jul 08 '11, 12:45 p.m.

Confirmation Cancel Confirm