TaskInfoTask AccessToken
Get info for a TaskId.
Endpoint
POST /taskInfo
Parameter
Header
Field | Value |
---|---|
AccessToken | AccessToken_taskStart set in the Config |
Body
Field | Value | Type |
---|---|---|
taskId | The Qlik Reload TaskId | string |
Response
200
Status: 200
{
createdDate?: string,
enabled?: boolean,
id: string,
isManuallyTriggered?: boolean,
maxRetries?: number,
modifiedByUser?: string,
modifiedDate?: string,
name: string,
operational?: {
id: string,
lastExecutionResult: {
details: [],
duration: number,
executionNodeName: string,
id: string,
scriptLogAvailable: boolean,
scriptLogLocation: string,
scriptLogSize: number,
startTime: string,
status: number,
stopTime: string,
},
nextExecution: string,
status: number,
},
shemaPath?: string,
taskSessionTimeout?: number,
taskType?: number
}[]
[{
"id": "ff13ba37-0f1d-479c-980d-3b3217d91db2",
"operational": {
"id": "caaea48d-e5f6-4233-83e0-e98bd8a0f043",
"lastExecutionResult": {
"id": "813bd3a7-118a-40a6-b4ec-b0c573d9797b",
"executingNodeName": "qlik.server",
"status": 8,
"startTime": "2022-06-21T11:35:24.055Z",
"stopTime": "2022-06-21T11:35:25.181Z",
"duration": 1126,
"fileReferenceID": "8c89c07b-4f85-44c1-ba7a-7330c98441dd",
"scriptLogAvailable": false,
"details": [
{
"id": "67daedce-f8c2-4d5d-a9d3-6194427a4cd9",
"detailsType": 2,
"message": "Message from ReloadProvider: Reload failed in Engine. Check engine or script logs.",
"detailCreatedDate": "2022-06-21T11:35:25.165Z",
"privileges": null
},
{
"id": "4d458681-8671-4e1a-a528-427b29ad2f1c",
"detailsType": 2,
"message": "Max retries reached (0)",
"detailCreatedDate": "2022-06-21T11:35:25.181Z",
"privileges": null
},
{
"id": "d6261a10-32d3-4c7f-bffb-0cf9bb73f065",
"detailsType": 2,
"message": "Changing task state to Triggered",
"detailCreatedDate": "2022-06-21T11:35:24.055Z",
"privileges": null
},
{
"id": "d2051352-4a83-458a-ae03-362d48b1269d",
"detailsType": 2,
"message": "Changing task state from Triggered to Started",
"detailCreatedDate": "2022-06-21T11:35:24.196Z",
"privileges": null
},
{
"id": "349add2a-db8d-4fb0-9d2b-be64254dfc14",
"detailsType": 2,
"message": "Reference to scriptlog added",
"detailCreatedDate": "2022-06-21T11:35:25.134Z",
"privileges": null
},
{
"id": "5a18d013-1064-4f83-82b6-290ebe592366",
"detailsType": 2,
"message": "Trying to start task. Sending task to slave scheduler qlik.server",
"detailCreatedDate": "2022-06-21T11:35:24.117Z",
"privileges": null
},
{
"id": "30985c5d-369d-490a-b846-03556bbc301e",
"detailsType": 2,
"message": "Changing task state from Started to FinishedFail",
"detailCreatedDate": "2022-06-21T11:35:25.165Z",
"privileges": null
}
],
"scriptLogLocation": "qlik.server\\Script\\27bcc7bc-4ec1-493e-a5d9-5630e3444872.20220621T133524.380+0200.51EB46E544B63FB4255A.log",
"scriptLogSize": 4850,
"privileges": null
},
"nextExecution": "2022-06-22T10:35:24.000Z",
"privileges": null
},
"name": "test",
"taskType": 0,
"enabled": true,
"taskSessionTimeout": 1440,
"maxRetries": 0,
"privileges": null
}]
500
"Error Text"