1. Início
  2. Base de Conhecimento
  3. Obter estatuto de emprego

Obter estatuto de emprego

Obter informação sobre o estado do trabalho

URL:

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

Pedir cabeçalhos:

MisKey : ver Autenticação
HardwareHash : ver Autenticação
SerialNumber : ver Autenticação
ApplicationVersion : ver Autenticação

Resposta:

Devolver informação para o trabalho especificado por JobGUID.

O sucesso:

200 OK : Informação sobre trabalho de retorno

{
    "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
}

Erro:

  • 401 Não Autorizado : {“Mensagem”: “Invalid HardwareHash”}
  • 401 Não Autorizado : {“Mensagem”: “Inválido MisKey”}
  • 404 Não Encontrado : {“Mensagem”: “JobGUID não é encontrado”}
  • 401 Não Autorizado : {“Mensagem”: “”MisKey” ou “HardwareHash”, cabeçalho “SerialNumber” e “ApplicationVersion” são necessários”}
  • 500 Erro do Servidor Interno : {“Mensagem”: “Erro do Servidor Interno”}
Updated on maio 10, 2022

Was this article helpful?