1. Inicio
  2. Base de conocimientos
  3. Obtener el estado del trabajo

Obtener el estado del trabajo

Obtener información sobre el estado del trabajo

URL:

GET http://api.aurelon.com/api/v2/job/{JobGUID}/status

Cabeceras de solicitud:

MisKey : ver Autenticación
HardwareHash : ver Autenticación
SerialNumber : ver Autenticación
ApplicationVersion : ver Autenticación

Respuesta:

Devuelve información del trabajo especificado por JobGUID.

El éxito:

200 OK : Devuelve la información del trabajo

{
    "Info": {
        "DeviceGUID": "9B5A192A-272f-11e6-853c-793ef2c92c66",
        "DeviceName": "PDF CMYK A3+",
        "QueueGUID": null,
        "QueueName": null,
        "Job": "Ducky",
        "Status": "Completed",
        "User": "a.f.d",
        "Pages": 1,
        "Copies": 1,
        "Size": "9.0 MB",
        "Message": "",
        "PrintMode": "16pt_C1S > CMYK_GRACoL_600x600",
        "PrinterProfile": "Standard",
        "DriverSettings": "X_resolution=DPI=600, \r\nY_resolution=,600 , \r\nInkSet=INK=CMYK ",
        "Preview": "https://hub-datacollection./jobs/3dfd53fd-2d6b-11e6-853c-793ef2c92c66/00e2b84a-295e-11e6-853c-793ef2c92c66_thumbnail.png"
    },
    "Documents": ["Ducky.tif", "Sticker.tif", "Tutti-Frutti-9.jpg"],
    "Time": {
        "ProcessingTime": "00:00:28",
        "PrintingOrCuttingTime": "00:00:06"
    },
    "Journal": [{
        "Date": "2016-06-03T07:37:46Z",
        "Duration": "00:00:06",
        "Process": "Spooler",
        "Message": null
    }, {
        "Date": "2016-06-03T07:37:22Z",
        "Duration": "00:00:28",
        "Process": "RIP",
        "Message": null
    }],
    "Inks": [{
        "Name": "Cyan",
        "ConsumedInk": null,
        "Cost": null
    }, {
        "Name": "Magenta",
        "ConsumedInk": null,
        "Cost": null
    }, {
        "Name": "Yellow",
        "ConsumedInk": null,
        "Cost": null
    }, {
        "Name": "Black",
        "ConsumedInk": null,
        "Cost": null
    }],
    "Media": {
        "MediaSize": "A3+",
        "MediaType": "16pt_C1S",
        "UsedMediaLength": null,
        "UsedMediaAreaGross": 1.72,
        "Efficiency": 9.7,
        "Cost": null,
        "UsedMediaSheets": "1 pieces",
        "JobMediaPriceListName": null
    },
    "Nest": null
}

Error:

  • 401 No autorizado : {«Mensaje»: «HardwareHash inválido»}
  • 401 No autorizado : {«Mensaje»: «Clave errónea inválida»}
  • 404 Not Found : {«Mensaje»: «JobGUID no se encuentra»}
  • 401 No autorizado : {«Mensaje»: «»MisKey» o «HardwareHash», «SerialNumber» y «ApplicationVersion» son obligatorios»}
  • 500 Internal Server Error : {«Message»: «Internal Server Error»}
Updated on mayo 10, 2022

Was this article helpful?