Skip to main content

UpdateVehicleInput

Input for the updateVehicle mutation.

input UpdateVehicleInput {
acquisitionDate: Date
brand: String!
category: VehicleCategory!
id: VehicleID!
licensePlate: String
location: String
model: String!
parkId: ResidentialParkID!
technicalInspectionValidTo: Date
vin: String
}

Fields​

UpdateVehicleInput.acquisitionDate ● Date scalar​

Date the vehicle was registered for the organisation (Erworben am).

UpdateVehicleInput.brand ● String! non-null scalar​

Name of the brand, e.g. Ford. Created if it does not exist yet.

UpdateVehicleInput.category ● VehicleCategory! non-null enum​

Category of the vehicle. WALK is not a vehicle and is rejected.

UpdateVehicleInput.id ● VehicleID! non-null scalar​

The vehicle to update.

UpdateVehicleInput.licensePlate ● String scalar​

The official identifier of the vehicle. Mandatory for CAR and SCOOTER.

UpdateVehicleInput.location ● String scalar​

Where the vehicle and its key are kept.

UpdateVehicleInput.model ● String! non-null scalar​

Name of the model, e.g. Fiesta. Created for the given brand if it does not exist yet.

UpdateVehicleInput.parkId ● ResidentialParkID! non-null scalar​

The residential park this vehicle belongs to. The park of a vehicle cannot be changed.

UpdateVehicleInput.technicalInspectionValidTo ● Date scalar​

Date of validity of the vehicle's technical inspection (TÜV).

UpdateVehicleInput.vin ● String scalar​

Chassis number of the vehicle (Fahrgestell- / Gestellnummer).

Member Of​

updateVehicle mutation