PUT Import Accepters
Imports the exported Accepters to the Secure Proxy Configuration Manager.
With the import method, you can import exported Accepters 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 |
accepter |
/sspcmrest/sspcm/rest/accepter/import |
Imports the Accepters with the XML provided. |
| Parameter | Required or Optional | Description | Validation | Valid values |
|---|---|---|---|---|
None |
Not required |
Imports exported Accepters with the new XML. |
None |
None |
HTTP Accepter request
The following example shows the HTTP request.
PUT https://localhost:8443/sspcmrest/sspcm/rest/accepter/import
“X-Authentication”: “61504f4a524b48532b776a3467643733374b526368513d3d”
“Content-Type”: “application/xml”
XML corresponding to the Accepters to be imported
HTTP Accepters 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>