Get a Printers Job Ink Consumption

Get a Printers Job Ink Consumption

Compatibility: from Durst Analytics v1.4.0

Get the ink consumption of a specific job from a specific printer

GET /api/v1/printers/{printerId}/jobs/{jobId}/inkConsumption

1. Parameters

1.1. Request

Type
Name
Description
Schema
Header  x-auth-token required
The Token to be used in the HTTP Header as x-auth-token for all Requests
string
Query printerId required The ID of the Printer integer
Query
jobId required
The ID of the Job integer

1.2. Response

Type
Name
Description
Schema
Body
inkConsumption required Ink consumption in liter as JSON map (Colorname: Double value
< string, number (double) > map

2. Responses

HTTP Code Description Schema
200 OK inkConsumption
401 Unauthorized No Content
403 Forbidden No Content
404 Not Found No Content

3. Produces

*/*

4. Example HTTP Request

Request path

GET /api/v1/printers/{printerId}/jobs/{jobId}/inkConsumption

5. Example HTTP Response

Response 200

{
    "LightMagenta": 0.004331,
    "LightCyan": 0.006491,
    "Orange": 0.001483,
    "Violet": 0.001638,
    "Black": 0.006314,
    "Yellow": 0.009641,
    "Magenta": 0.004954,
    "Cyan": 0.004556
}