Returns a task given its identifier.
Admin SDKAdmin.api('batch.task', request, function(response) { … });
HTTP POST/api/v10/batch.task
{
"id" : 14 // identifier (required) - int(1…)
}
{
"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)
}
}
Field | Type | Description |
---|---|---|
id | NotFound | Task <id> does not exist |