Update vehicle condition

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

Endpoint

PUT /department/selfserve/vehicle/conditions

Operation

Operation ID: `updateSelfserveVehicleCondition`

Update an existing vehicle condition. Customers can only update conditions for their own vehicles.

Authentication

Security requirements:

Scheme | Scopes
BearerAuth | -

Parameters

Name | In | Required | Type | Description
id | query | yes | integer | Condition ID

Request Body

Required: no.

Content type: `application/json`

{ "properties": { "customer_id": { "nullable": true, "type": "integer" }, "department": { "type": "integer" }, "lane": { "type": "integer" }, "question": { "type": "integer" }, "reg": { "type": "string" }, "value": { "type": "boolean" } }, "type": "object" }

Responses

Status | Description | Content Types
200 | Successfully updated vehicle condition | application/json
400 |  |
404 |  |
500 |  |

Schema for response `200` (`application/json`):

{ "$ref": "#/components/schemas/DepartmentSelfserveVehicleConditionMutationResponse" }