Closed Andy3189 closed 6 months ago
- line parameter must not be empty for bus or for routes without distances
so line parameter has to be given when E-Bus, S-Bahn, U-Bahn or Tram is selected as device, but only if the distance is not given? So if E-Bus, S-Bahn, U-Bahn or Tram is selected but the distance is also given, then the line can be left out. But if the distance isn't given then for those vehicles an error should appear that the line has to be entered? @Andy3189
yes, basically as soon as we need the distance service we need the line, otherwise it doesnt matter at all and currently the depot service is only implemented for bus routes, so the line has to be given there aswell
Also the vehicle must be entered in URI format, so f.e. /car/e-car
Since we have new parameters line and gamification those will have to be validated aswell