User Manual

3.8 Get a Printers Production

Updated on

Get a Printers Production

Compatibility: from Durst Analytics v1.4.0

Get the production in square meter of a printer over a specific time range

POST /api/v1/printers/{id}/production

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 id required The ID of the Printer integer
Body startDate required Start date as ISO 8601 date string
Example: "2020-09-21T12:00:00.000Z"
string (date-time)
Body endDate required End date as ISO 8601 date string
Example: "2020-09-25T18:00:00.000Z"
string (date-time)

1.2. Response

Type
Name
Description
Schema
Body
production required Production in square meter
Example: 4499.9092079413995
number

2. Responses

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

3. Produces

*/*

4. Example HTTP Request

Request path

/api/v1/printers/{id}/production

Request Body

{
  "startDate": "2020-09-22T12:00:00.000Z",
  "endDate": "2020-10-22T13:59:59.000Z"
}

5. Example HTTP Response

Response 200

4499.9092079413995
Previous Article 3.7 Get a Printers Jobs
Next Article 3.9 Get a Printers Job by ID
Still Need Help? Contact Us