400 server error on PUT of adapters list content
![](http://jazz.net/_images/myphoto/a79a990fc7db9951d3e017abb2b6d0b7.jpg)
Hi,
I'm interested to change the adapters list in RQM using REST API.
in order to GET the list I use this link:
<server_url>/service/com.ibm.rqm.integration.service.IIntegrationService/resources/<project_name>/adapter
as a result, I get a feed of adapters entries.
when I try to PUT back the result, even without changing it, I get a 400 server error saying:"The uploaded content does not consist of well-formed XML or does not match the XML schema for adapter"
can someone please assist?
Accepted answer
![](http://jazz.net/_images/myphoto/a79a990fc7db9951d3e017abb2b6d0b7.jpg)
Hi Sara,
This is the FEED URL to get the list of resources. PUT/POST of list of resources is not supported using FEED URL.
To change the adapter list, I would suggest to get the resource link of individual adapter using FEED URL, and PUT adapter resource XML on that link.
e.g.
1. Get the adapter list using FEED URL -
<server_url>/service/com.ibm.rqm.integration.service.IIntegrationService/resources/<project_name>/adapter
2. Get the resource link of the individual adapter from the response of the FEED URL.
3. Do a GET on the adapter resource link to get the adapter resource XML.
4. Modify the entries in the XML
5. PUT the XML back using the same adapter resource link to update the adapter.
Hope this helps.
Thanks,
Vijay