Add vehicle condition
This endpoint documentation is generated directly from openapi.yaml.
Endpoint
POST /department/selfserve/vehicle/conditions
Operation
Operation ID: addSelfserveVehicleCondition
Add a new vehicle condition (answer to a question). Customers can only add conditions for their own vehicles.
Authentication
Security requirements:
Scheme | Scopes |
|---|---|
BearerAuth | - |
Request Body
Required: yes.
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"
}
},
"required": [
"department",
"lane",
"reg",
"question"
],
"type": "object"
}
Responses
Status | Description | Content Types |
|---|---|---|
200 | Successfully added vehicle condition | application/json |
400 | ||
500 |
Schema for response 200 (application/json):
{
"$ref": "#/components/schemas/DepartmentSelfserveVehicleConditionMutationResponse"
}
17 March 2026