Skip to content

Jobs

Examples

A successfully completed job

{
    "job_id": "717edbde-b911-49aa-9240-f7e2f6e9d21b",
    "status": "Succeeded",
    "result": {
        "info": "Export task finished successfully. File ready for download.",
        "number_of_records": 849
    },
    "xpkit_service": "Exports API",
    "created": "2022-03-01T14:55:12Z",
    "last_modified": "2022-03-01T14:56:32Z"
}

A failed job

{
    "job_id": "717edbde-b911-49aa-9240-f7e2f6e9d21b",
    "status": "Failed",
    "result": {
        "error": "Cannot send email to test@test.com. The mandrill gateway responded with an error message: Email rejected. Reason: global-block"
    },
    "xpkit_service": "Notifications API",
    "created": "2022-03-01T14:55:12Z",
    "last_modified": "2022-03-01T14:56:32Z"
}

A job that has failed and is now automatically retrying

{
    "job_id": "717edbde-b911-49aa-9240-f7e2f6e9d21b",
    "status": "Running",
    "result": {
        "error": "Invalid response from the gateway. Retrying...",
    },
    "xpkit_service": "Notifications API",
    "created": "2022-03-01T14:55:12Z",
    "last_modified": "2022-03-01T14:56:32Z"
}