POST Create Netmap

Creates a netmap on the Secure Proxy Configuration Manager.

With the createNetmap method, you can create a netmap on the Secure Proxy Configuration Manager.

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

Table 1. Create Netmap request details

Create Netmap request details.

Method Resource URI Description

POST

netmap

/sspcmrest/sspcm/rest/netmap/createNetmap

Creates a new netmap on the Secure Proxy Configuration Manager

Table 2. Create Netmap request body parameters

Create Netmap request body parameters

Parameter Description

XML

The XML corresponding to creating a new netmap definition within Secure Proxy Configuration Manager

HTTP Netmap request

The following example shows the HTTP request:

POST https://localhost:8443/sspcmrest/sspcm/rest/netmap/createNetmap
“X-Authentication”: “61504f4a524b48532b776a3467643733374b526368513d3d”
“X-Passphrase”: “XXXXXXX”
“Content-Type”: “application/xml”

XML Netmap 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>
    <message>Netmap created successfully.</message>
    <messageLevel>INFO</messageLevel>
    <results/>
    </XmlResponse>