POST Execute Native Commands
The Execute Native Commands API is used to add key certification for secure plus API input parameters.
Method | URI |
---|---|
POST |
/cdwebconsole/svc/nativecommand |
The following example shows the Command:
curl -X 'POST' \
'https://172.20.185.95:9443/cdwebconsole/svc/nativecommand' \
-H 'Authorization: eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJwbWFsaDE6MTAuMTIwLjEzMC40MTozMjkwMTplMDA1Mjk5Yy04NTJmLTQ1MjgtODYwNS00OGViN2JkNjJhMzMiLCJleHAiOjE3MTUxNjI4NDl9.9t1lS_JlUT55vvTbJnHsYb92OvWFbHL_lPybSoUUmTQGqYhmS6I6RCk8PGe5c0ImZSvw9_fmXlFSt46y3PukVg' \
-H 'Content-Type: application/json' \
-H 'X-XSRF-TOKEN: d9eb5d10-93be-41a1-86c1-a5caf370c3a9' \
-d '{"nativeCmd":"inquire tcp"}'
Parameter Name | Required/Optional | Description | Valid values |
---|---|---|---|
nativeCmd | Required | Execute Native Commands |
The following example shows the Sample Response:
{
"messageCode": 200,
"message": "Command executed successfully",
"nativeCommandData": "1======================================================================1CDZOSC.PMALH1 * INQUIRE TCP * DATE: 05.07.2024 TIME: 05:13:261 C:D/PLEX *** MANAGER ** IN GROUP QPMGRPN11======================================================================11ADDRESS PORT FAMILY TYPE STATUS1======================================= ===== ======== ==== ==========10.0.0.0 32900 IPV4 NODE LISTEN10.0.0.0 32901 IPV4 API LISTEN"
}