Open2b versione 7.5

task

Returns a task given its identifier.

Request

Admin SDK
Admin.api('batch.task', request, function(response) { … });
HTTP POST
/api/v10/batch.task
{
  "id" : 14 // identifier (required) - int(1…)
}

Response

{
  "status" : "ok",
  "task": {
    "id" : 14, // identifier - int(1…)
    "status" : "Completed", // status, can be "InProgress", "Completed", "Error" or "Expired" - string
    "url" : "https://www.store.com/f4425b13092aec9b970987eb9b12345.csv", // URL (can be null) - string
    "error" : null // error message (can be null) - string(0…255)
  }
}

Errors

Field Type Description
id NotFound Task <id> does not exist