# Generate dynamic image for a department lane | Copenhagen Truck Wash API

### Copenhagen Truck Wash API Help

# Generate dynamic image for a department lane

This endpoint documentation is generated directly from `openapi.yaml`.

## Endpoint

GET /department/lanes/dynamic-image

## Operation

Operation ID: `getDepartmentLaneDynamicImage`

Returns a composed machine UI image for the specified department lane. You can optionally highlight button indices, set the current step indicator, and toggle only-current-step mode.

## Authentication

Security requirements:

Scheme | Scopes
--- | ---
BearerAuth | -

## Parameters

Name | In | Required | Type | Description
--- | --- | --- | --- | ---
department | query | yes | integer | Department ID
lane | query | yes | integer | Lane ID
buttons | query | no | oneOf | Highlighted button IDs (0-indexed). Accepts CSV, JSON array, or repeated query params.
current_step | query | no | integer | Current step indicator (non-negative integer)
only_current_step | query | no | boolean | If true, only draw the current step highlight
vehicle_type | query | no | integer | Vehicle type selection override (nullable non-negative integer)

## Responses

Status | Description | Content Types
--- | --- | ---
200 | Dynamic image rendered successfully | image/png
400 |  |
401 |  |
403 |  |
404 |  |

Schema for response `200` (`image/png`):

{ "format": "binary", "type": "string" }
17 March 2026