POST Add Netmap Path

The Add Netmap Path API is used to add new communication path for Connect:Direct Microsoft Windows.

Method URI

POST

/cdwebconsole/svc/netmapcommpaths

The following example shows the Command:
  curl -X 'POST' \
  'https://172.20.186.254:9443/cdwebconsole/svc/netmapcommpaths' \
  -H 'Authorization: eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbmlzdHJhdG9yOjE3Mi4yMC4xODYuMjU0OjIzNjM6MDU5YTU0MWMtN2U1ZS00NWZjLTkyY2YtMmMwZjY3MmJjZTFhIiwiZXhwIjoxNzE1OTI3NjgxfQ.BDNQwaDKk3OenHWXjjucQ54EMw14YsqO17-EyACVoybDyhuFtfTeE9P4kR__HdVa98MIpL_2HHrVK8XVYRKX-A' \
  -H 'Content-Type: application/json' \
  -H 'X-XSRF-TOKEN: 4d33b01d-c58f-443f-84c6-1f5337f67db7' \
  -d '{"communicationPathName":"path1","protocol":"tcp/ip","modeType":"abc12"}'
Table 1. Input Parameters
Parameter Name Required/Optional Description Valid values
communicationPathName Optional Specifies the name of the path entry mode definition. path
protocol  Required Specifies tcp/ip or udt33. Protocol cannot be updated, it is the only unique identifier for netmap mode Tcp/ip or udt33
modeType Required Specify the existing mode type.Mode type cannot be updated Path1
The following example shows the Sample Response:
[
  {
    "messageCode": 201,
    "message": "The Communication Path has been successfully added"
  }
]