PUT Import Connection
Imports the exported connection definitions to the IBM SEAS server.
With the import method, you can import exported connection definitions in to the IBM SEAS.
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 |
connectionDef |
/seasrest/seas/connection/import | Imports the connection definition with the XML provided. |
| Parameter | Required or Optional | Description | Validation | Valid values |
|---|---|---|---|---|
|
none |
Not required | Imports exported connection definitions with the new XML | None | None |
Import connection example
The following example shows the HTTP request.
HTTP connection request
PUT https://localhost:9080/seasrest/seas/connection/import
“X-Authentication”: “61504f4a524b48532b776a3467643733374b526368513d3d”
"X-Passphrase": "userPassPhrasetoEncrypt_Decrypt_configurationData"
“Content-Type”: “application/xml”
XML corresponding to the connection definition to be importedXML connection response
The following example shows the XML response.
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<XmlResponse>
<httpCode>200</httpCode>
<httpStatus>OK</httpStatus>
<action>None</action>
<message>SEAS Configuration import operation succeed.</message>
<messageLevel>INFO</messageLevel>
<results/>
</XmlResponse>