Get Results

Get the results after the task has been executed to verify it was successful. The UUID is the one from the Create Scheduled Task procedure.

GET https://<NSP Server>:8543/task-scheduler/api/v1/tasks/b03fe69f-15c8-4154-8ec5-1d11078a6c5b/results

Response:

{
  "status": 0,
  "startRow": 0,
  "endRow": 0,
  "totalRows": 1,
  "data": [
    {
      "id": 4,
      "resultId": "8745e826-f63e-4c31-bb81-e2c16aba4f5c",
      "taskId": "b03fe69f-15c8-4154-8ec5-1d11078a6c5b",
      "subTaskId": "1",
      "result": "FAILED",
      "status": "HTTP/1.1 400 Bad Request",
      "executionTime": "2017-09-27  01:00:31",
      "subTaskName": "Bandwidth modification started"
    }
  ]
}