Is there a way of getting the information for the "selectedAdapter" of a Task using REST?
Looking at the XML schema for the Task artifact, there is an element called "selectedAdapterId" which I thought I could use to retrieve the selected adapter for an executing task. However, when I try to use the value provided by the "selectedAdapterId" element as <ID> in the following integration service URL, I get a 501 error from the server:
"https://<SERVER>/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/<PROJECT_AREA>/adapter/<ID>"
After doing some digging I have found that the "selectedAdapterId" specified by the Task XML data is the web ID and not the identifier expected by the above integration service URL.
Is there a way to either get the to the correct ID using the information provided by a Task, or a different integration service URL I could use which does accept the web ID provided by the Task?
Server is running RQM 4.0.1
"https://<SERVER>/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/<PROJECT_AREA>/adapter/<ID>"
After doing some digging I have found that the "selectedAdapterId" specified by the Task XML data is the web ID and not the identifier expected by the above integration service URL.
Is there a way to either get the to the correct ID using the information provided by a Task, or a different integration service URL I could use which does accept the web ID provided by the Task?
Server is running RQM 4.0.1
Accepted answer
You should use the following URL for accessing the adapter feed if you have the webID
"https://<server>/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/<project_area>/adapter/urn:com.ibm.rqm:adapter:<webID>"
After you get the Adapter XML feed in case you need the internal Identifier (I can't see a reason why) it should be in the XML.