1. Início
  2. Base de Conhecimento
  3. Obter filas de dispositivos

Obter filas de dispositivos

Obter todas as filas de espera para um determinado dispositivo

URL:

{DeviceGUID}GET http://api.aurelon.com/api/v2/device/ http://api.aurelon.com/api/v2/device/ /queues

Pedir cabeçalhos:

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

Resposta:

Tipo de conteúdo aplicação/json contendo todas as filas de espera para o dispositivo especificado por DeviceGUID

O sucesso:

200 OK : Lista de filas de retorno

Exemplo:

[{
    "QueueGUID": "9FCBF3AC-c1f9-11e6-b31e-c79f9f473700",
    "QueueName": "Standardized Printing 1",
    "ProfileName": "EPSON SC-S80600 Adhesive Color + Metallic 2 layers",
    "MediaType": "",
    "MediaSize": "Roll 42 inch",
    "MediaSource": "Roll",
    "QueueType": "Proofing Queue",
    "DriverSettings": "Media=Adhesive Vinyl, Inkset=Color + Metallic 2 Layers, Layer image=Surface mode, Quality=1440x1440 - 72 Pass, Screening=Epson Precision Dot, White Mode=Standard, Density Cyan (%)=100, Density Magenta (%)=100, Density Yellow (%)=100, Density Black (%)=100, Density Light Cyan (%)=100, Density Light Magenta (%)=100, Density Light Black (%)=100, Density Orange (%)=100, Density Red (%)=100, Density White/Metallic (%)=100, Print CutLine=Off, Bi-directional=Off, Custom Paper Feed=Off, Feed Offset (0.01%)=0, Drying Time Per Page (sec.)=35, =Printer panel"
},
{
    "QueueGUID": "6DC7AD63-5E15-4ACB-85EF-1CB012A69571",
    "QueueName": "Standardized Printing 2",
    "ProfileName": "EPSON SC-S80600 Adhesive Color + Metallic 2 layers",
    "MediaType": "",
    "MediaSize": "Roll 42 inch",
    "MediaSource": "Roll",
    "QueueType": "Proofing Queue",
    "DriverSettings": "Media=Adhesive Vinyl, Inkset=Color + Metallic 2 Layers, Layer image=Surface mode, Quality=1440x1440 - 72 Pass, Screening=Epson Precision Dot, White Mode=Standard, Density Cyan (%)=100, Density Magenta (%)=100, Density Yellow (%)=100, Density Black (%)=100, Density Light Cyan (%)=100, Density Light Magenta (%)=100, Density Light Black (%)=100, Density Orange (%)=100, Density Red (%)=100, Density White/Metallic (%)=100, Print CutLine=Off, Bi-directional=Off, Custom Paper Feed=Off, Feed Offset (0.01%)=0, Drying Time Per Page (sec.)=35, =Printer panel"
}]

Erro:

  • 401 Não Autorizado : {“Mensagem”: “HardwareHash Inválido”}
  • 401 Não Autorizado : {“Mensagem”: “Inválida MisKey”}
  • 404 Não Encontrado : {“Mensagem”: “DeviceGUID não foi encontrado”}
  • 401 Não Autorizado : {“Mensagem”: “”MisKey” ou “HardwareHash”, cabeçalhos “SerialNumber” e “ApplicationVersion” são necessários”}
  • 400 Bad Request : {“Mensagem”: Valor “DeviceGUID” requerido”}
  • 500 Erro do Servidor Interno : {“Mensagem”: {“Erro do Servidor Interno”}
Updated on maio 10, 2022

Was this article helpful?