PUT Import Adapters
Imports the exported Adapters to the IBM ® Secure Proxy Configuration Manager.
With the import method, you can import exported Adapters to the IBM ® Secure Proxy Configuration Manager.
This API method requires authentication, and therefore the authentication token generated at login must be passed in through the "X-Authentication" header.
| Method | Resource | URI | Description |
|---|---|---|---|
|
PUT |
adapter |
/sspcmrest/sspcm/rest/adapter/import |
Imports the Adapters with the XML provided |
| Parameter | Required or Optional | Description | Validation | Valid values |
|---|---|---|---|---|
none |
Not required | Imports exported Adapters with the new XML | Non | None |
Import Adapter example
The following example shows the HTTP request.
HTTP Adapter request
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<XmlResponse>
<httpCode>200</httpCode>
<httpStatus>OK</httpStatus>
<action>None</action>
<message>Import operation successful.</message>
<messageLevel>INFO</messageLevel>
<results/>
</XmlResponse>
HTTP Adapter response
The following example shows the XML response.
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\n<XmlResponse>\n<httpCode>200</httpCode>\n<httpStatus>OK</httpStatus>\n<action>None</action>\n<message>Import successful</message>\n<messageLevel>INFO</messageLevel>\n<results/>\n</XmlResponse>