PUT Import SOCKS5 Proxy Servers

Imports the exported SOCKS5 Proxy Servers to the Secure Proxy Configuration Manager.

With the import method, you can import exported SOCKS5 Proxy Servers to the 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.

Table 1. Import SOCKS5 Proxy Servers request details
Method Resource URI Description

PUT

socksProxyConfig

/sspcmrest/sspcm/rest/socksProxyConfig/import Imports the SOCKS5 Proxy Servers with the XML provided

Table 2. Import SOCKS5 Proxy Server URI input parameters
Parameter Required or Optional Description Validation Valid values

none

Not required

Imports exported SOCKS5 Proxy Servers with the new XML

None

None

Import EAServer example

The following example shows the HTTP request.

HTTP EAServer request

PUT https://localhost:8443/sspcmrest/sspcm/rest/socksProxyConfig/import
“X-Authentication”: “61504f4a524b48532b776a3467643733374b526368513d3d”
“Content-Type”: “application/xml”
XML corresponding to the SOCKS5 Proxy Servers to be imported

HTTP EAServers 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>
    <messageLevel>INFO</messageLevel>
    <results/>
</XmlResponse>