GET StepInjection

Retrieves a stepInjection from the Secure Proxy Configuration Manager.

With the getStepInjection/{stepInjectionName} method, you can retrieve a predefined stepInjection from the Secure Proxy Configuration Manager.

This API method requires authentication. The authentication token that is generated at login must be passed in throughh the "X-Authentication" header.

Table 1. GET StepInjection request details

GET StepInjection request details.

Method Resource URI Description

GET

stepInjection

/sspcmrest/sspcm/rest/stepInjection/getStepInjection/{stepInjectionName}

Gets the XML corresponding to the stepInjection defined with in the Secure Proxy Configuration Manager.

Table 2. GET StepInjection URI input parameters

GET StepInjection URI input parameters

Parameter Required or Optional Description Validation Valid values

stepInjectionName

Required

The name of the stepInjection that is defined with in the Secure Proxy Configuration Manager.

Must be a non-empty string.

a-zA-Z0-9_.

Table 3. GET StepInjection response body parameters

GET StepInjection response body parameters

Parameter Description

XML

The XML corresponding to the stepInjection.

HTTP StepInjection request

The following example shows the HTTP request:

GET GET https://localhost:8443/sspcmrest/sspcm/rest/stepInjection/
getStepInjection/StepInjection
“X-Authentication”: 
“61504f4a524b48532b776a3467643733374b526368513d3d”

XML StepInjection response

The following example shows the XML response.

<stepInjectionDef>
<copyOnFailure>false</copyOnFailure>
<copyOnSuccess>false</copyOnSuccess>
<createdBy>admin</createdBy>
<createdTimestamp>2014-04-15 01:59:18 PM</createdTimestamp>
<executeOnFailure>false</executeOnFailure>
<executeOnSuccess>false</executeOnSuccess>
<forceToUnlock>false</forceToUnlock>
<formatVer>10</formatVer>
<lastModifiedBy>admin</lastModifiedBy>
<lastModifiedTimestamp>2014-04-15 01:59:18 PM</lastModifiedTimestamp>
<lockedBy>admin</lockedBy>
<lockedTimestamp>2014-04-15 02:39:06 PM</lockedTimestamp>
<name>StepInjection</name>
<status>locked</status>