PUT Import StepInjections

Imports the exported StepInjections to the Secure Proxy Configuration Manager.

With the import method, you can import exported StepInjections 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.

Table 1. Import StepInjections request details

Import StepInjections request details.

Method Resource URI Description

PUT

stepInjection

/sspcmrest/sspcm/rest/stepInjection/import

Imports the StepInjections with the XML provided.

Table 2. Import StepInjection URI input parameters

Import StepInjections URI input parameters

Parameter Required or Optional Description Validation Valid values

None

Not required

Imports exported StepInjections with the new XML

None

None

HTTP StepInjection request

The following example shows the HTTP request:

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

HTTP StepInjections 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>