1. 知识库
  2. 获取作业状态

获取作业状态

获取作业状态信息

网址:

获取 http://api.aurelon.com/api/v2/job/{JobGUID} /地位

请求标头:

MisKey:见认证
HardwareHash:见认证
序列号:见认证
应用程序版本:请参阅身份验证

回复:

返回由 JobGUID 指定的作业的信息。

成功:

200 OK : 返回工作信息

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

错误:

  • 401 Unauthorized : {“Message”:”Invalid HardwareHash”}
  • 401 Unauthorized : {“Message”:”Invalid MisKey”}
  • 404 未找到: {“消息”:“未找到 JobGUID”}
  • 401 Unauthorized : {“Message”: “”MisKey” or “HardwareHash”, “SerialNumber” and “ApplicationVersion” header are required”}
  • 500 内部服务器错误: {“消息”:“内部服务器错误”}
Updated on 5月 10, 2022

Was this article helpful?