Command

{
"type": "object",
"required": [
"args",
"command_type_name",
"exec_time"
],
"example": {
"command_type_name": "InstallUpdate",
"args": "KB12345 KB67890",
"exec_time": "2017-06-29T16:39:50.951Z"
},
"properties": {
"id": {
"type": "integer",
"format": "int64"
},
"server_id": {
"type": "integer",
"format": "int64"
},
"policy_id": {
"type": "integer",
"format": "int64"
},
"command_id": {
"type": "integer",
"format": "int64"
},
"command_type_name": {
"type": "string",
"enum": [
"InstallUpdate",
"Reboot"
],
"description": "Type of command being issued"
},
"args": {
"type": "string",
"example": "\"KB12345 KB67890\"",
"description": "List of patches to apply, or NULL if issuing a Reboot"
},
"response": {
"type": "string"
},
"response_time": {
"type": "string",
"format": "date-time"
},
"create_time": {
"type": "string",
"format": "date-time"
},
"exec_time": {
"type": "string",
"format": "date-time",
"example": "2017-06-29T16:39:50.951Z",
"description": "Time to execute the command, or NULL if issuing a Reboot"
}
}
}