Get Action Status
The response contains information about the action status by the given taskId
Action identifier (result of the action: POST /api/actions/{id})
Information about action status objects
The populated action information
"{\n \"taskId\" : \"46977637-ecc5-4100-8601-50e6063303aa\",\n \"name\" : \"VMWARE-Power Off VM\",\n \"state\" : \"Completed\",\n \"resourceKind\" : \"Virtual Machine\",\n \"submittedBy\" : \"admin\",\n \"authSource\" : \"LOCAL\",\n \"startDate\" : \"2019-12-05T09:57:20.439Z\",\n \"completeDate\" : \"2019-12-05T09:57:22.439Z\",\n \"actionResult\" : \"ActionResult\",\n \"messages\" : [ {\n \"message\" : \"Cannot power Off: Another task is already in progress\",\n \"level\" : \"ERROR\",\n \"timestamp\" : \"2019-12-05T09:57:20.439Z\"\n }, {\n \"message\" : \"The operation is not allowed in current state\",\n \"level\" : \"WARN\",\n \"timestamp\" : \"2019-12-05T09:57:20.439Z\"\n }, {\n \"message\" : \"The virtual machine is powered Off\",\n \"level\" : \"INFO\",\n \"timestamp\" : \"2019-12-05T09:57:20.439Z\"\n } ],\n \"triggeredAutomatically\" : true,\n \"triggeringSource\" : \"Source\",\n \"triggeringEventId\" : \"80814fe2-3a62-4d19-9641-5b3b50a75238\",\n \"triggeringEventName\" : \"Virtual machine disk I/O write latency is high\",\n \"triggeringSourceEvent\" : \"Source Event\",\n \"actionObjectStatuses\" : [ {\n \"id\" : \"aa8bff3d-7a1a-4390-8b52-61a8f7647f11\",\n \"state\" : \"COMPLETED_SUCCESSFULLY\",\n \"creationDate\" : \"2019-12-05T09:57:20.439Z\",\n \"messages\" : [ {\n \"message\" : \"Cannot power On VM 'VM-1'\",\n \"level\" : \"ERROR\",\n \"timestamp\" : \"2019-12-05T09:57:20.439Z\"\n }, {\n \"message\" : \"The operation is not allowed in current state\",\n \"level\" : \"WARN\",\n \"timestamp\" : \"2019-12-05T09:57:20.439Z\"\n }, {\n \"message\" : \"Powering on VM 'VM-1'\",\n \"level\" : \"INFO\",\n \"timestamp\" : \"2019-12-05T09:57:20.439Z\"\n } ]\n } ]\n}"
The id of the action
The action name
The state of the action
The resourceKind on which the action has been performed
The user who submitted the action
The authSource of the action
The start date of the action
The complete date of the action
The result of the action
The messages of the action result
Flag that identifies whether action is triggered automatically or not
The source that triggered the action
The id of the event that triggered the action
The name of the event that triggered the action
The triggering source event of the action
Collection of statuses of tasks
curl -H 'Authorization: <value>' https://{api_host}/suite-api/api/actions/{taskId}/status