Schedule maintenance for a bus
Creates a dated maintenance schedule and assigns a replacement bus. The buses must be different and the dates must be valid and non-overlapping.
Authentication
AuthorizationBearer
The signed-in SchoolSet user token sent by the frontend.
Request
This endpoint expects an object.
bus_id
replacement_bus_id
start_date
end_date
reason
Response
Maintenance schedule created.
status
message
data
Errors
401
Unauthorized Error
403
Forbidden Error
422
Unprocessable Entity Error

