Application Programming Interface


Get notification
Method
URL
Required headers :
Accept = application/json
x-session-token = {sessionToken}

{
    "alerts": [
        {
            "id": 1,
            "taskId": "de8206eb2ee24a619c9028f5fbe0cbe1",
            "title": "Job de8206eb2ee24a619c9028f5fbe0cbe1 has been finished",
            "data": "2014-03-05 12:40"
        },
        {
            "id": 2,
            "taskId": "65bf2bc2964c4f0b8f20e88dba0b2490",
            "title": "Job 65bf2bc2964c4f0b8f20e88dba0b2490 has been finished",
            "data": "2014-03-05 11:06"
        }
    ],
    "tasks": [
        {
            "id": 66,
            "task": "e87f9a77ba8c45dc93316bba819b05f9",
            "percentage": 27,
            "clazz": 1
        },
        {
            "id": 71,
            "task": "20fab5a6e97a42fcab689857c26e95fb",
            "percentage": 15,
            "clazz": 0
        },
        {
            "id": 67,
            "task": "ef6199e1c87a4730a5b33a25d2fea182",
            "percentage": 10,
            "clazz": 0
        }
    ]
}
			
{
    "errorCode": "GO-CORE-SESSION-HEADER",
    "message": "Missing header 'x-session-token'"
}