StartTaskApiToken
Start a task in Nprinting.
Endpoint
POST /startTask
Parameter
Body
Field | Value | Type |
---|---|---|
taskId | Task Id to start | string |
test (optional) | Only log the action but don't execute it for testing purposes | true |
ApiToken | ApiToken set in the Config |
Response
200
Status: 200
{
"data": {
"id": "test",
"type": "Qlik.NPrinting.Task.PublishReportsEngineTask",
"task": body.taskId,
"created": "0001-01-01T00:00:00Z",
"lastUpdate": "0001-01-01T00:00:00Z",
"completed": null,
"progress": 0.0,
"status": "Enqueued",
"result": null,
"priority": 500.0
}
}
400
"Error Text"