PUT Import PerimeterServers
Imports the exported PerimeterServers to the Secure Proxy Configuration Manager.
With the import method, you can import exported PerimeterServers to the Secure Proxy Configuration Manager.
This API method requires authentication. The authentication token that is generated at login must be passed in through the "X-Authentication" header.
| Method | Resource | URI | Description |
|---|---|---|---|
|
PUT |
perimeterServer |
/sspcmrest/sspcm/rest/perimeterServer/import |
Imports the PerimeterServers with the XML provided. |
| Parameter | Required or Optional | Description | Validation | Valid values |
|---|---|---|---|---|
None |
Not required |
Imports exported PerimeterServers with the new XML. |
None |
None |
HTTP PerimeterServer request
The following example shows the HTTP request.
PUT https://localhost:8443/sspcmrest/sspcm/rest/perimeterServer/import
“X-Authentication”: “61504f4a524b48532b776a3467643733374b526368513d3d”
“Content-Type”: “application/xml”
XML corresponding to the PerimeterServers to be imported
HTTP PerimeterServers 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>