/api/space/configuration-management/exec-commands

The following operation is supported on this resource:

  • POST - Exec Commands
POST /exec-commandsVersion 5

Exec Commands.

Sample Usage

POST /exec-commands


  • Sample Input XML:
    <exec-commands-request>
      <device-id>Integer</device-id>
      <commands>
        <command><![CDATA[String]]></command>
      </commands>
    </exec-commands-request>

  • Sample Output XML:
    <exec-commands-results total="Integer" uri="/api/space/configuration-management/exec-commands">
      <exec-command-result>
        <error-message>String</error-message>
        <status>SUCCESS</status>
        <replies total="Integer">
          <reply>
            <content><![CDATA[String]]></content>
          </reply>
        </replies>
      </exec-command-result>
    </exec-commands-results>

  • Sample Input JSON:
    {
      "exec-commands-request": {
        "device-id": "Integer",
        "commands": {
          "command": [
            "String"
          ]
        }
      }
    }

  • Sample Output JSON:
    {
      "exec-commands-results": {
        "@total": "Integer",
        "@uri": "/api/space/configuration-management/exec-commands",
        "exec-command-result": {
          "error-message": "String",
          "status": "SUCCESS",
          "replies": {
            "@total": "Integer",
            "reply": [
              {
                "content": "String"
              }
            ]
          }
        }
      }
    }

  • Access Control

    The following capabilities are required to access this API: DeviceAccess