Application Programming Interface


Get tasks
Method
URL
Required headers :
Accept = application/json
Optional headers :
x-session-token = {sessionToken}
Request params:
page Number
resultsPerPage Number
sort String [percentage, submission date]
orderBy String [descending, ascending]
status String [pending, queued, in progress, complete, error, cancelled, ]

{
    "tasksDetail": [
        {
            "id": 67,
            "task": "ef6199e1c87a4730a5b33a25d2fea182",
            "percentage": 10,
            "status": "In progress",
            "message": "Generating rules ... ( Level: 1, Filtering 0 / 64 )",
            "numberOfRules": 137,
            "dateOfSubmission": "2014-07-27 11:51:08",
            "dateOfCompletion": "2014-07-27 12:32:58",
            "submitId": "35d96f683110617c6ec05b3c140015b5",
            "resultId": "35d96f683110617c6ec05b3c140443e5"
        },
        {
            "id": 68,
            "task": "f10c2657cf534f7183a071233386dd75",
            "percentage": 15,
            "status": "Error",
            "message": "Generating rules ... ( Level: 2, Candidates (950350/1376970) )",
            "numberOfRules": 1315,
            "dateOfSubmission": "2014-07-28 10:16:15",
            "dateOfCompletion": "2014-07-28 10:02:25",
            "submitId": "35d96f683110617c6ec05b3c1408ee5b",
            "resultId": "35d96f683110617c6ec05b3c14137044"
        },
        {
            "id": 71,
            "task": "20fab5a6e97a42fcab689857c26e95fb",
            "percentage": 15,
            "status": "In progress",
            "message": "Generating rules ... ( Level: 5, Candidates (5341200/34474056) )",
            "numberOfRules": 28,
            "dateOfSubmission": "2014-07-30 14:54:49",
            "dateOfCompletion": "2014-07-30 15:24:10",
            "submitId": "35d96f683110617c6ec05b3c145e4dac",
            "resultId": "35d96f683110617c6ec05b3c1463979b"
        },
        {
            "id": 66,
            "task": "e87f9a77ba8c45dc93316bba819b05f9",
            "percentage": 27,
            "status": "In progress",
            "message": "Generating rules ... ( Level: 1, Candidates (18200/277885) )",
            "numberOfRules": null,
            "dateOfSubmission": "2014-07-26 16:30:38",
            "dateOfCompletion": null,
            "submitId": "35d96f683110617c6ec05b3c14001560"
            "resultId": null,
        },
        {
            "id": 69,
            "task": "44efc99bea584465888c0546223825ab",
            "percentage": 100,
            "status": "Complete",
            "message": "All rules have been generated",
            "numberOfRules": 22,
            "dateOfSubmission": "2014-07-28 08:03:10",
            "dateOfCompletion": "2014-07-28 08:22:25",
            "submitId": "35d96f683110617c6ec05b3c1408f4b0",
            "resultId": "35d96f683110617c6ec05b3c1408ff86"
        },
        {
            "id": 70,
            "task": "a425bdbfb7004f3d9e5190a80557b6a4",
            "percentage": 100,
            "status": "Complete",
            "message": "All rules have been generated",
            "numberOfRules": 39,
            "dateOfSubmission": "2014-07-28 21:04:32",
            "dateOfCompletion": "2014-07-30 22:08:10",
            "submitId": "35d96f683110617c6ec05b3c143e5640",
            "resultId": "35d96f683110617c6ec05b3c14662839"
        },
        {
            "id": 89,
            "task": "ae2a3896e8ba4bfa8832116d8ff33a6d",
            "percentage": 100,
            "status": "Complete",
            "message": "All rules have been generated",
            "numberOfRules": 6,
            "dateOfSubmission": "2014-08-03 12:49:42",
            "dateOfCompletion": "2014-08-03 12:58:20",
            "submitId": "f5e68447ef2621453ee49e290f51b5a4",
            "resultId": "f5e68447ef2621453ee49e290f51beae"
        }
    ],
    "totalResults": 7,
    "hasNext": false,
    "hasPrevious": false
}
{
    "errorCode": "GO-CORE-SESSION-HEADER",
    "message": "Missing header 'x-session-token'"
}